From 32c3fb62bc2830ebcd1c28176253434525928a06 Mon Sep 17 00:00:00 2001 From: David Beal Date: Fri, 26 Feb 2016 08:56:40 +0100 Subject: [PATCH] [FIX] community remarks --- attachment_metadata/README.rst | 10 ++++------ attachment_metadata/__init__.py | 2 +- attachment_metadata/__openerp__.py | 8 +++----- attachment_metadata/models/__init__.py | 1 + attachment_metadata/{ => models}/attachment.py | 0 attachment_metadata/{ => views}/attachment_view.xml | 0 6 files changed, 9 insertions(+), 12 deletions(-) create mode 100644 attachment_metadata/models/__init__.py rename attachment_metadata/{ => models}/attachment.py (100%) rename attachment_metadata/{ => views}/attachment_view.xml (100%) diff --git a/attachment_metadata/README.rst b/attachment_metadata/README.rst index 926d24474..82f7b6411 100644 --- a/attachment_metadata/README.rst +++ b/attachment_metadata/README.rst @@ -22,25 +22,23 @@ You can create / see standard attachments with additional fields .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/{repo_id}/8.0 + :target: https://runbot.odoo-community.org/runbot/149/8.0 -.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt -.. branch is "8.0" for example Known issues / Roadmap ====================== -* ... + Bug Tracker =========== Bugs are tracked on `GitHub Issues -`_. In case of trouble, please +`_. 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 `_. diff --git a/attachment_metadata/__init__.py b/attachment_metadata/__init__.py index c14c86359..0650744f6 100644 --- a/attachment_metadata/__init__.py +++ b/attachment_metadata/__init__.py @@ -1 +1 @@ -from . import attachment +from . import models diff --git a/attachment_metadata/__openerp__.py b/attachment_metadata/__openerp__.py index 1fed0db4f..2b23f955a 100644 --- a/attachment_metadata/__openerp__.py +++ b/attachment_metadata/__openerp__.py @@ -3,8 +3,8 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). {'name': 'attachment_metadata', - 'version': '0.0.1', - 'author': 'Akretion', + 'version': '8.0.1.0.0', + 'author': 'Akretion,Odoo Community Association (OCA)', 'website': 'www.akretion.com', 'license': 'AGPL-3', 'category': 'Generic Modules', @@ -13,11 +13,9 @@ internal and external hash for coherence verification """, 'depends': [ - 'base', - 'mail' ], 'data': [ - 'attachment_view.xml', + 'views/attachment_view.xml', 'security/ir.model.access.csv', ], 'installable': True, diff --git a/attachment_metadata/models/__init__.py b/attachment_metadata/models/__init__.py new file mode 100644 index 000000000..c14c86359 --- /dev/null +++ b/attachment_metadata/models/__init__.py @@ -0,0 +1 @@ +from . import attachment diff --git a/attachment_metadata/attachment.py b/attachment_metadata/models/attachment.py similarity index 100% rename from attachment_metadata/attachment.py rename to attachment_metadata/models/attachment.py diff --git a/attachment_metadata/attachment_view.xml b/attachment_metadata/views/attachment_view.xml similarity index 100% rename from attachment_metadata/attachment_view.xml rename to attachment_metadata/views/attachment_view.xml