diff --git a/account_invoice_provider_reference/README.rst b/account_invoice_provider_reference/README.rst new file mode 100644 index 000000000..87cf3d1ef --- /dev/null +++ b/account_invoice_provider_reference/README.rst @@ -0,0 +1,61 @@ +========================== +Invoice Provider Reference +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:7726ac50e8bd55d512bf5e9781bd60c190b1085589899aea22d2e91c57d8b78a + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Faddons-lightgray.png?logo=github + :target: https://github.com/coopiteasy/addons/tree/16.0/account_invoice_provider_reference + :alt: coopiteasy/addons + +|badge1| |badge2| |badge3| + +Adds a field on invoices for the reference of the invoice provider + +**Table of contents** + +.. contents:: + :local: + +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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Coop IT Easy SC + +Contributors +~~~~~~~~~~~~ + +* Nicolas Jamoulle, +* Manuel Claeys Bouuaert, + +Maintainers +~~~~~~~~~~~ + +This module is part of the `coopiteasy/addons `_ project on GitHub. + +You are welcome to contribute. diff --git a/account_invoice_provider_reference/__init__.py b/account_invoice_provider_reference/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/account_invoice_provider_reference/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/account_invoice_provider_reference/__manifest__.py b/account_invoice_provider_reference/__manifest__.py new file mode 100644 index 000000000..8f7add912 --- /dev/null +++ b/account_invoice_provider_reference/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2019 Coop IT Easy SC +# Nicolas Jamoulle, +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Invoice Provider Reference", + "version": "16.0.1.0.0", + "author": "Coop IT Easy SC", + "category": "Accounting", + "license": "AGPL-3", + "website": "https://github.com/coopiteasy/addons", + "depends": ["account"], + "data": ["views/account_move_views.xml"], +} diff --git a/account_invoice_provider_reference/i18n/account_invoice_provider_reference.pot b/account_invoice_provider_reference/i18n/account_invoice_provider_reference.pot new file mode 100644 index 000000000..6401f8936 --- /dev/null +++ b/account_invoice_provider_reference/i18n/account_invoice_provider_reference.pot @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_provider_reference +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_provider_reference +#: model:ir.model,name:account_invoice_provider_reference.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_invoice_provider_reference +#: model:ir.model.fields,field_description:account_invoice_provider_reference.field_account_invoice__provider_reference +msgid "Provider Reference Invoice" +msgstr "" + diff --git a/account_invoice_provider_reference/i18n/fr.po b/account_invoice_provider_reference/i18n/fr.po new file mode 100644 index 000000000..249871f82 --- /dev/null +++ b/account_invoice_provider_reference/i18n/fr.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_provider_reference +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-02-27 13:44+0000\n" +"PO-Revision-Date: 2019-02-27 13:44+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_provider_reference +#: model:ir.model,name:account_invoice_provider_reference.model_account_invoice +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_provider_reference +#: model:ir.model.fields,field_description:account_invoice_provider_reference.field_account_invoice__provider_reference +msgid "Provider Reference Invoice" +msgstr "Référence Facture Fournisseur" diff --git a/account_invoice_provider_reference/i18n/fr_BE.po b/account_invoice_provider_reference/i18n/fr_BE.po new file mode 100644 index 000000000..249871f82 --- /dev/null +++ b/account_invoice_provider_reference/i18n/fr_BE.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_provider_reference +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-02-27 13:44+0000\n" +"PO-Revision-Date: 2019-02-27 13:44+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_provider_reference +#: model:ir.model,name:account_invoice_provider_reference.model_account_invoice +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_provider_reference +#: model:ir.model.fields,field_description:account_invoice_provider_reference.field_account_invoice__provider_reference +msgid "Provider Reference Invoice" +msgstr "Référence Facture Fournisseur" diff --git a/account_invoice_provider_reference/models/__init__.py b/account_invoice_provider_reference/models/__init__.py new file mode 100644 index 000000000..9c0a42138 --- /dev/null +++ b/account_invoice_provider_reference/models/__init__.py @@ -0,0 +1 @@ +from . import account_move diff --git a/account_invoice_provider_reference/models/account_move.py b/account_invoice_provider_reference/models/account_move.py new file mode 100644 index 000000000..7ec8df51c --- /dev/null +++ b/account_invoice_provider_reference/models/account_move.py @@ -0,0 +1,7 @@ +from odoo import fields, models + + +class AccountMove(models.Model): + _inherit = "account.move" + + provider_reference = fields.Char(string="Provider Reference Invoice") diff --git a/account_invoice_provider_reference/readme/CONTRIBUTORS.rst b/account_invoice_provider_reference/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..49b90e9f5 --- /dev/null +++ b/account_invoice_provider_reference/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Nicolas Jamoulle, +* Manuel Claeys Bouuaert, diff --git a/account_invoice_provider_reference/readme/DESCRIPTION.rst b/account_invoice_provider_reference/readme/DESCRIPTION.rst new file mode 100644 index 000000000..604df03f9 --- /dev/null +++ b/account_invoice_provider_reference/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Adds a field on invoices for the reference of the invoice provider diff --git a/account_invoice_provider_reference/static/description/index.html b/account_invoice_provider_reference/static/description/index.html new file mode 100644 index 000000000..7742fb090 --- /dev/null +++ b/account_invoice_provider_reference/static/description/index.html @@ -0,0 +1,417 @@ + + + + + +Invoice Provider Reference + + + +
+

Invoice Provider Reference

+ + +

Beta License: AGPL-3 coopiteasy/addons

+

Adds a field on invoices for the reference of the invoice provider

+

Table of contents

+ +
+

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 to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Coop IT Easy SC
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is part of the coopiteasy/addons project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/account_invoice_provider_reference/views/account_move_views.xml b/account_invoice_provider_reference/views/account_move_views.xml new file mode 100644 index 000000000..b962b2807 --- /dev/null +++ b/account_invoice_provider_reference/views/account_move_views.xml @@ -0,0 +1,30 @@ + + + + account.move.form.inherit + account.move + + + + + + + + + + view.invoice.tree.inherit + account.move + + + + + + + + diff --git a/setup/account_invoice_provider_reference/odoo/addons/account_invoice_provider_reference b/setup/account_invoice_provider_reference/odoo/addons/account_invoice_provider_reference new file mode 120000 index 000000000..b57ff2ca2 --- /dev/null +++ b/setup/account_invoice_provider_reference/odoo/addons/account_invoice_provider_reference @@ -0,0 +1 @@ +../../../../account_invoice_provider_reference \ No newline at end of file diff --git a/setup/account_invoice_provider_reference/setup.py b/setup/account_invoice_provider_reference/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/account_invoice_provider_reference/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)