diff --git a/document_definition/README.rst b/document_definition/README.rst new file mode 100644 index 00000000..c97adfd9 --- /dev/null +++ b/document_definition/README.rst @@ -0,0 +1,54 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +=================== +document_definition +=================== + +Installs a new document_definition model for dictionary-style word archive and +definition. Searchable in the Knowledge menu. + +Known issues / Roadmap +====================== + +* A search function per term and per definition, obviously. +* Dictionary Style Alphabetical grouping view + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed feedback. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Giovanni Francesco Capalbo + +Do not contact contributors directly about help with questions or problems concerning this addon, but use the `community mailing list `_ or the `appropriate specialized mailinglist `_ for help, and the bug tracker linked in `Bug Tracker`_ above for technical issues. + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/document_definition/__init__.py b/document_definition/__init__.py new file mode 100644 index 00000000..8984c405 --- /dev/null +++ b/document_definition/__init__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# © 2017 Therp BV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import models +from . import wizards +from . import controllers diff --git a/document_definition/__openerp__.py b/document_definition/__openerp__.py new file mode 100644 index 00000000..a578dca1 --- /dev/null +++ b/document_definition/__openerp__.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# © 2017 Therp BV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "name": "Term", + "version": "8.0.1.0.0", + "author": "Therp BV,Odoo Community Association (OCA)", + "license": "AGPL-3", + "category": "", + "summary": "", + "depends": [ + ], + "data": [ + 'views/templates.xml', + 'security/ir.model.access.csv', + ], + "qweb": [ + ], + "test": [ + ], + "images": [ + ], + "pre_init_hook": False, + "post_init_hook": False, + "uninstall_hook": False, + "auto_install": False, + "installable": True, + "application": False, + "external_dependencies": { + 'python': [], + }, +} diff --git a/document_definition/models/__init__.py b/document_definition/models/__init__.py new file mode 100644 index 00000000..57a405fb --- /dev/null +++ b/document_definition/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- +# © 2017 Therp BV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import document_definition diff --git a/document_definition/models/document_definition.py b/document_definition/models/document_definition.py new file mode 100644 index 00000000..997735e6 --- /dev/null +++ b/document_definition/models/document_definition.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# © 2017 Therp BV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openerp import api, fields, models + + +class document_definition(models.Model): + _inherit = 'document_definition' + _name = 'document_definition' + _description = '' + diff --git a/document_definition/security/ir.model.access.csv b/document_definition/security/ir.model.access.csv new file mode 100644 index 00000000..0343f29f --- /dev/null +++ b/document_definition/security/ir.model.access.csv @@ -0,0 +1 @@ +"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" diff --git a/document_definition/static/description/icon.png b/document_definition/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/document_definition/static/description/icon.png differ diff --git a/document_definition/static/src/css/document_definition.css b/document_definition/static/src/css/document_definition.css new file mode 100644 index 00000000..e69de29b diff --git a/document_definition/static/src/js/document_definition.js b/document_definition/static/src/js/document_definition.js new file mode 100644 index 00000000..c4be32f5 --- /dev/null +++ b/document_definition/static/src/js/document_definition.js @@ -0,0 +1,7 @@ +//-*- coding: utf-8 -*- +//© 2017 Therp BV +//License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +openerp.document_definition = function(instance) +{ +} diff --git a/document_definition/tests/__init__.py b/document_definition/tests/__init__.py new file mode 100644 index 00000000..ede8acbc --- /dev/null +++ b/document_definition/tests/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- +# © 2017 Therp BV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import test_document_definition diff --git a/document_definition/tests/test_document_definition.py b/document_definition/tests/test_document_definition.py new file mode 100644 index 00000000..e756f4a7 --- /dev/null +++ b/document_definition/tests/test_document_definition.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- +# © 2017 Therp BV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openerp.tests.common import TransactionCase + + +class TestDocumentDefinition(TransactionCase): + def test_document_definition(self): + pass diff --git a/document_definition/views/templates.xml b/document_definition/views/templates.xml new file mode 100644 index 00000000..1a84bd2b --- /dev/null +++ b/document_definition/views/templates.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/document_definition/wizards/__init__.py b/document_definition/wizards/__init__.py new file mode 100644 index 00000000..5603d45c --- /dev/null +++ b/document_definition/wizards/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- +# © 2017 Therp BV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).