Browse Source

[MIG] base_comment_template to 9.0

myc-14.0-py3o
leNeo 8 years ago
committed by Pierre Verkest
parent
commit
0e95b7b6bc
  1. 29
      base_comment_template/README.rst
  2. 3
      base_comment_template/__init__.py
  3. 39
      base_comment_template/__openerp__.py
  4. 2
      base_comment_template/models/__init__.py
  5. 21
      base_comment_template/models/comment.py
  6. 0
      base_comment_template/views/comment.xml

29
base_comment_template/README.rst

@ -1,3 +1,8 @@
.. 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
=======================
Base Comments Templates
=======================
@ -5,7 +10,6 @@ Add a new model to define templates of comments to print on
documents.
Two positions are available for the comments:
- above document lines
- below document lines
@ -15,9 +19,32 @@ This module is the base module for following modules:
* purchase_comment_template
* invoice_comment_template
Credits
=======
Images
------
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
Contributors
------------
* Nicolas Bessi <nicolas.bessi@camptocamp.com>
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
* Guewen Baconnier <guewen.baconnier@camptocamp.com>
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.

3
base_comment_template/__init__.py

@ -1,2 +1,3 @@
# -*- coding: utf-8 -*-
from . import comment
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import models

39
base_comment_template/__openerp__.py

@ -1,31 +1,14 @@
# -*- coding: utf-8 -*-
#
#
# Author: Nicolas Bessi
# Copyright 2013-2014 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
{"name": "Base Comments Templates",
"summary": "Comments templates on documents",
"version": "8.0.1.0.0",
"depends": ["base"],
"author": "Camptocamp,Odoo Community Association (OCA)",
"data": ["comment_view.xml",
# © 2013-2014 Nicolas Bessi (Camptocamp SA)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{'name': 'Base Comments Templates',
'summary': 'Comments templates on documents',
'version': '9.0.1.0.0',
'license': 'AGPL-3',
'depends': ['base', ],
'author': 'Camptocamp,Odoo Community Association (OCA)',
'data': ['views/comment.xml',
'security/ir.model.access.csv',
],
"category": "Sale",
"installable": True,
"active": False, }
'category': 'Sale',
'installable': True, }

2
base_comment_template/models/__init__.py

@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
from . import comment

21
base_comment_template/comment.py → base_comment_template/models/comment.py

@ -1,23 +1,6 @@
# -*- coding: utf-8 -*-
#
#
# Author: Nicolas Bessi
# Copyright 2013-2014 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# © 2013-2014 Nicolas Bessi (Camptocamp SA)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import models, fields, api

0
base_comment_template/comment_view.xml → base_comment_template/views/comment.xml

Loading…
Cancel
Save