diff --git a/muk_attachment_lobject/README.md b/muk_attachment_lobject/README.md index 7f41ac0..483d811 100644 --- a/muk_attachment_lobject/README.md +++ b/muk_attachment_lobject/README.md @@ -1,5 +1,5 @@ -# MuK Document Management System - Attachment +# MuK Large Object Attachment Storage -MuK Documents is a module to create, manage and view files directly within -Odoo. MuK Documents Attachment allows to store Odoo Attachments inside the -Document Management System. \ No newline at end of file +Provides a new attachment location to save attachment as large +objects. To enable the large object storage option change the +`ir_attachment.location` parameter to `lobject`. \ No newline at end of file diff --git a/muk_attachment_lobject/__manifest__.py b/muk_attachment_lobject/__manifest__.py index 6dc8dd4..9da4776 100644 --- a/muk_attachment_lobject/__manifest__.py +++ b/muk_attachment_lobject/__manifest__.py @@ -22,16 +22,15 @@ ################################################################################### { - "name": "MuK Documents Attachment", - "summary": """Documents as Attachment Storage""", + "name": "MuK Large Objects Attachment", + "summary": """Large Objects Attachment Location""", "description": """ - MuK Documents is a module to create, manage and - view files directly within Odoo. MuK Documents - Attachment allows to store Odoo Attachments - inside the Document Management System. + Provides a new attachment location to save attachment as large + objects. To enable the large object storage option change the + `ir_attachment.location` parameter to `lobject`. """, - "version": '11.0.1.0.4', - "category": 'Document Management', + "version": '11.0.1.0.0', + "category": 'Extra Tools', "license": "AGPL-3", "website": "http://www.mukit.at", "author": "MuK IT", diff --git a/muk_attachment_lobject/static/description/index.html b/muk_attachment_lobject/static/description/index.html index 4338224..a718fe0 100644 --- a/muk_attachment_lobject/static/description/index.html +++ b/muk_attachment_lobject/static/description/index.html @@ -1,65 +1,41 @@ -
-
-

MuK Documents Attachment

-

Documents as Attachment Storage

-

MuK IT GmbH - - www.mukit.at

-
- -
-
-
- -
-
-
-

Overview

-

MuK Documents is a module to create, manage - and view files directly within Odoo. MuK Documents Attachment allows - to store Odoo Attachments inside the Document Management System.

-
-
-
- -
-
-

Settings and Migration

-
- -
-
-

Set a directory, where - attachments should be saved by default. In case you want to migrate - just click the button "Force Storage Migration".

-
-
-
- -
-
-

Attachment View

-
-

A new view is provided to see all - stored attachments. In case you want to migrate specific attachments, - an action is provided via the "Action" menu.

-
-
- -
-
-
- -
-

Help and Support

-
- - Email - - Contact - -
- +
+
+

MuK Large Objects Attachment

+

Large Objects Attachment Location

+

MuK IT GmbH - + www.mukit.at

+
+
+ +
+
+
+

Overview

+
+

+ Provides a new attachment location to save attachment as large + objects. To enable the large object storage option change the + ir_attachment.location + parameter to + lobject + . +

+
+
+
+
+ +
+

Help and Support

+ +
\ No newline at end of file diff --git a/muk_attachment_lobject/tests/test_attachment.py b/muk_attachment_lobject/tests/test_attachment.py index b463366..285a99c 100644 --- a/muk_attachment_lobject/tests/test_attachment.py +++ b/muk_attachment_lobject/tests/test_attachment.py @@ -56,5 +56,5 @@ class AttachmentTestCase(common.TransactionCase): oid = attach.with_context({'oid': True}).store_lobject self.assertTrue(oid) attach.write({'datas': base64.b64encode(b"\xff data")}) - self.assertTrue(oid == attach.with_context({'oid': True}).store_lobject) + self.assertTrue(oid != attach.with_context({'oid': True}).store_lobject) attach.unlink() \ No newline at end of file