diff --git a/contract_sale_invoicing/README.rst b/contract_sale_invoicing/README.rst new file mode 100644 index 000000000..03c32fb19 --- /dev/null +++ b/contract_sale_invoicing/README.rst @@ -0,0 +1,93 @@ +========================================== +Contract Invoicing of Pending Sales Orders +========================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:677f350039713fce998708f88a5907a26cde8dac2595c5f0e5d78af8c31a3c9f + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-OCA%2Fcontract-lightgray.png?logo=github + :target: https://github.com/OCA/contract/tree/12.0/contract_sale_invoicing + :alt: OCA/contract +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_sale_invoicing + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/contract&target_branch=12.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This modules allows to include on the same invoice than the recurring invoice +contract, all the pending to invoice sales orders that you have with the same +analytic account. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +#. Go to Invoicing > Sales > Contracts and select or create a new contract. +#. Check *Generate recurring invoices automatically*. +#. Mark the check "Invoice Pending Sales Orders". +#. On each invoicing, system will check if there's any pending sales orders + with same analyitic account and will append the lines to the invoice being + generated. + +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 +~~~~~~~ + +* Tecnativa + +Contributors +~~~~~~~~~~~~ + +* `Tecnativa `_: + + * Carlos Dauden +* Souheil Bejaoui + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +This module is part of the `OCA/contract `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/contract_sale_invoicing/__init__.py b/contract_sale_invoicing/__init__.py new file mode 100644 index 000000000..31660d6a9 --- /dev/null +++ b/contract_sale_invoicing/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models diff --git a/contract_sale_invoicing/__manifest__.py b/contract_sale_invoicing/__manifest__.py new file mode 100644 index 000000000..76aa1d503 --- /dev/null +++ b/contract_sale_invoicing/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2018 Tecnativa - Carlos Dauden +# Copyright 2023 Tecnativa - Carolina Fernandez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Contract Invoicing of Pending Sales Orders", + "summary": "Include sales to invoice in contract invoice creation", + "version": "15.0.1.0.0", + "category": "Contract Management", + "website": "https://github.com/OCA/contract", + "author": "Tecnativa, " "Odoo Community Association (OCA)", + "license": "AGPL-3", + "installable": True, + "depends": [ + "contract", + "sale_management", + ], + "data": [ + "views/contract_view.xml", + ], +} diff --git a/contract_sale_invoicing/i18n/ca.po b/contract_sale_invoicing/i18n/ca.po new file mode 100644 index 000000000..dededa2ca --- /dev/null +++ b/contract_sale_invoicing/i18n/ca.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Compte analític" diff --git a/contract_sale_invoicing/i18n/contract_sale_invoicing.pot b/contract_sale_invoicing/i18n/contract_sale_invoicing.pot new file mode 100644 index 000000000..d79693b0c --- /dev/null +++ b/contract_sale_invoicing/i18n/contract_sale_invoicing.pot @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +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: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "If checked include sales with same analytic account to invoice in contract invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + diff --git a/contract_sale_invoicing/i18n/de.po b/contract_sale_invoicing/i18n/de.po new file mode 100644 index 000000000..fb8d26e05 --- /dev/null +++ b/contract_sale_invoicing/i18n/de.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2019-10-29 21:33+0000\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.8\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "Vertrag" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" +"Wenn angewählt, schließe Verkäufe mit gleicher abzurechnender Kostenstelle " +"in Vertragsabrechnung ein." + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "Rechne ausstehende Verkaufsaufträge ab" + +#~ msgid "Analytic Account" +#~ msgstr "Kostenstelle" diff --git a/contract_sale_invoicing/i18n/el_GR.po b/contract_sale_invoicing/i18n/el_GR.po new file mode 100644 index 000000000..4b842c33f --- /dev/null +++ b/contract_sale_invoicing/i18n/el_GR.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Αναλυτικός Λογαριασμός" diff --git a/contract_sale_invoicing/i18n/es.po b/contract_sale_invoicing/i18n/es.po new file mode 100644 index 000000000..14c41a7f5 --- /dev/null +++ b/contract_sale_invoicing/i18n/es.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2020-03-25 18:13+0000\n" +"Last-Translator: Nelson Ramírez Sánchez \n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "Contrato" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" +"Si está marcado, incluya las ventas con la misma cuenta analítica para " +"facturar en la creación de la factura del contrato." + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "Facturar pedidos pendientes" + +#~ msgid "Analytic Account" +#~ msgstr "Cuenta analítica" diff --git a/contract_sale_invoicing/i18n/es_CL.po b/contract_sale_invoicing/i18n/es_CL.po new file mode 100644 index 000000000..de389d138 --- /dev/null +++ b/contract_sale_invoicing/i18n/es_CL.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: es_CL\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "If checked include sales with same analytic account to invoice in contract invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/es_MX.po b/contract_sale_invoicing/i18n/es_MX.po new file mode 100644 index 000000000..fe47ba3a2 --- /dev/null +++ b/contract_sale_invoicing/i18n/es_MX.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/" +"es_MX/)\n" +"Language: es_MX\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Cuenta analítica" diff --git a/contract_sale_invoicing/i18n/fi.po b/contract_sale_invoicing/i18n/fi.po new file mode 100644 index 000000000..948d7b76c --- /dev/null +++ b/contract_sale_invoicing/i18n/fi.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Analyyttinen tili" diff --git a/contract_sale_invoicing/i18n/fr.po b/contract_sale_invoicing/i18n/fr.po new file mode 100644 index 000000000..bce34d5cd --- /dev/null +++ b/contract_sale_invoicing/i18n/fr.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2021-01-04 11:44+0000\n" +"Last-Translator: Rémi \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "Contrat" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" +"Si cochée, les ventes ayant le même compte analytique seront facturées lors " +"de la création de facture du contrat." + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "Commandes avec une facture en attente" + +#~ msgid "Analytic Account" +#~ msgstr "Compte analytique" diff --git a/contract_sale_invoicing/i18n/gl.po b/contract_sale_invoicing/i18n/gl.po new file mode 100644 index 000000000..960cdd809 --- /dev/null +++ b/contract_sale_invoicing/i18n/gl.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Conta analítica" diff --git a/contract_sale_invoicing/i18n/hi_IN.po b/contract_sale_invoicing/i18n/hi_IN.po new file mode 100644 index 000000000..4844e7bf1 --- /dev/null +++ b/contract_sale_invoicing/i18n/hi_IN.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Hindi (India) (https://www.transifex.com/oca/teams/23907/" +"hi_IN/)\n" +"Language: hi_IN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "विश्लेषणात्मक खाता" diff --git a/contract_sale_invoicing/i18n/hr.po b/contract_sale_invoicing/i18n/hr.po new file mode 100644 index 000000000..2ef3a0b06 --- /dev/null +++ b/contract_sale_invoicing/i18n/hr.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Analitički konto" diff --git a/contract_sale_invoicing/i18n/hr_HR.po b/contract_sale_invoicing/i18n/hr_HR.po new file mode 100644 index 000000000..5379fee0e --- /dev/null +++ b/contract_sale_invoicing/i18n/hr_HR.po @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Konto analitike" diff --git a/contract_sale_invoicing/i18n/hu.po b/contract_sale_invoicing/i18n/hu.po new file mode 100644 index 000000000..0f58b38c0 --- /dev/null +++ b/contract_sale_invoicing/i18n/hu.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Analitikus gyűjtőkód könyvelés" diff --git a/contract_sale_invoicing/i18n/it.po b/contract_sale_invoicing/i18n/it.po new file mode 100644 index 000000000..9041c99e8 --- /dev/null +++ b/contract_sale_invoicing/i18n/it.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2021-01-30 11:44+0000\n" +"Last-Translator: Andrea Cometa \n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" +"Se spuntato, include le vendite con lo stesso conto analitico da fatturare " +"nella creazione della fattura da contratto." + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "Fattura ordini di vendita in sospeso" + +#~ msgid "Analytic Account" +#~ msgstr "Conto Analitico" diff --git a/contract_sale_invoicing/i18n/nl.po b/contract_sale_invoicing/i18n/nl.po new file mode 100644 index 000000000..8cdda751d --- /dev/null +++ b/contract_sale_invoicing/i18n/nl.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Kostenplaats" diff --git a/contract_sale_invoicing/i18n/pt.po b/contract_sale_invoicing/i18n/pt.po new file mode 100644 index 000000000..89fb37c51 --- /dev/null +++ b/contract_sale_invoicing/i18n/pt.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2020-02-17 19:13+0000\n" +"Last-Translator: Pedro Castro Silva \n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Weblate 3.10\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "Contrato" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" +"Se assinalado, inclui vendas com a mesma conta analítica na criação de " +"faturas do contrato." + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "Faturar Encomendas de Venda Pendentes" diff --git a/contract_sale_invoicing/i18n/pt_BR.po b/contract_sale_invoicing/i18n/pt_BR.po new file mode 100644 index 000000000..34bb9aa21 --- /dev/null +++ b/contract_sale_invoicing/i18n/pt_BR.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-17 02:41+0000\n" +"PO-Revision-Date: 2020-06-17 01:19+0000\n" +"Last-Translator: Fernando Colus \n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/" +"23907/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "Contrato" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" +"Se marcada, inclua vendas com a mesma conta analítica para faturar na " +"criação da fatura do contrato." + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "Ordens de Venda Pendentes de Fatura" + +#~ msgid "Analytic Account" +#~ msgstr "Conta Analítica" diff --git a/contract_sale_invoicing/i18n/pt_PT.po b/contract_sale_invoicing/i18n/pt_PT.po new file mode 100644 index 000000000..fc2f12850 --- /dev/null +++ b/contract_sale_invoicing/i18n/pt_PT.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Conta Analítica" diff --git a/contract_sale_invoicing/i18n/ro.po b/contract_sale_invoicing/i18n/ro.po new file mode 100644 index 000000000..810d737ce --- /dev/null +++ b/contract_sale_invoicing/i18n/ro.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Cont analitic" diff --git a/contract_sale_invoicing/i18n/sk_SK.po b/contract_sale_invoicing/i18n/sk_SK.po new file mode 100644 index 000000000..38a1ea004 --- /dev/null +++ b/contract_sale_invoicing/i18n/sk_SK.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Slovak (Slovakia) (https://www.transifex.com/oca/teams/23907/" +"sk_SK/)\n" +"Language: sk_SK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Analytický účet" diff --git a/contract_sale_invoicing/i18n/sl.po b/contract_sale_invoicing/i18n/sl.po new file mode 100644 index 000000000..24ab0ab3f --- /dev/null +++ b/contract_sale_invoicing/i18n/sl.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Analitični konto" diff --git a/contract_sale_invoicing/i18n/tr.po b/contract_sale_invoicing/i18n/tr.po new file mode 100644 index 000000000..74284c5c7 --- /dev/null +++ b/contract_sale_invoicing/i18n/tr.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Analitik Hesap" diff --git a/contract_sale_invoicing/i18n/tr_TR.po b/contract_sale_invoicing/i18n/tr_TR.po new file mode 100644 index 000000000..6c46bebf6 --- /dev/null +++ b/contract_sale_invoicing/i18n/tr_TR.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" + +#~ msgid "Analytic Account" +#~ msgstr "Analitik Hesap" diff --git a/contract_sale_invoicing/i18n/zh.po b/contract_sale_invoicing/i18n/zh.po new file mode 100644 index 000000000..c4ac6e4da --- /dev/null +++ b/contract_sale_invoicing/i18n/zh.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# DIT INTL , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-29 14:59+0000\n" +"PO-Revision-Date: 2018-04-27 01:12+0000\n" +"Last-Translator: DIT INTL , 2018\n" +"Language-Team: Chinese (https://www.transifex.com/oca/teams/23907/zh/)\n" +"Language: zh\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "如果选中,则在销售发票中包含分析帐户。" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "发票挂起的销售订单" + +#~ msgid "Analytic Account" +#~ msgstr "分析会计" diff --git a/contract_sale_invoicing/i18n/zh_CN.po b/contract_sale_invoicing/i18n/zh_CN.po new file mode 100644 index 000000000..19cb53851 --- /dev/null +++ b/contract_sale_invoicing/i18n/zh_CN.po @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_sale_invoicing +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-17 02:41+0000\n" +"PO-Revision-Date: 2019-09-17 18:24+0000\n" +"Last-Translator: 黎伟杰 <674416404@qq.com>\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 3.8\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_contract_contract +msgid "Contract" +msgstr "合同" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "" +"If checked include sales with same analytic account to invoice in contract " +"invoice creation." +msgstr "如果选中,则在合同发票创建中包含具有相同分析帐户的销售。" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_contract_contract__invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "待处理销售订单的发票" + +#~ msgid "Analytic Account" +#~ msgstr "分析账户" diff --git a/contract_sale_invoicing/models/__init__.py b/contract_sale_invoicing/models/__init__.py new file mode 100644 index 000000000..d639560e1 --- /dev/null +++ b/contract_sale_invoicing/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import contract diff --git a/contract_sale_invoicing/models/contract.py b/contract_sale_invoicing/models/contract.py new file mode 100644 index 000000000..cabdaaaae --- /dev/null +++ b/contract_sale_invoicing/models/contract.py @@ -0,0 +1,39 @@ +# Copyright 2018 Tecnativa - Carlos Dauden +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ContractContract(models.Model): + _inherit = "contract.contract" + + invoicing_sales = fields.Boolean( + string="Invoice Pending Sales Orders", + help="If checked include sales with same analytic account to invoice " + "in contract invoice creation.", + ) + + def _recurring_create_invoice(self, date_ref=False): + invoices = super()._recurring_create_invoice(date_ref) + for contract in self: + if not contract.invoicing_sales or not contract.recurring_next_date: + continue + sales = self.env["sale.order"].search( + [ + ("analytic_account_id", "=", contract.group_id.id), + ( + "partner_invoice_id", + "child_of", + contract.partner_id.commercial_partner_id.ids, + ), + ("invoice_status", "=", "to invoice"), + ( + "date_order", + "<=", + "{} 23:59:59".format(contract.recurring_next_date), + ), + ] + ) + if sales: + invoices |= sales._create_invoices() + return invoices diff --git a/contract_sale_invoicing/readme/CONTRIBUTORS.rst b/contract_sale_invoicing/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..f47d6e5bb --- /dev/null +++ b/contract_sale_invoicing/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* `Tecnativa `_: + + * Carlos Dauden + * Carolina Fernandez + * Pedro M. Baeza +* Souheil Bejaoui diff --git a/contract_sale_invoicing/readme/DESCRIPTION.rst b/contract_sale_invoicing/readme/DESCRIPTION.rst new file mode 100644 index 000000000..a3c42315e --- /dev/null +++ b/contract_sale_invoicing/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This modules allows to include on the same invoice than the recurring invoice +contract, all the pending to invoice sales orders that you have with the same +analytic account. diff --git a/contract_sale_invoicing/readme/USAGE.rst b/contract_sale_invoicing/readme/USAGE.rst new file mode 100644 index 000000000..e9e299c5b --- /dev/null +++ b/contract_sale_invoicing/readme/USAGE.rst @@ -0,0 +1,8 @@ +To use this module, you need to: + +#. Go to Invoicing > Sales > Contracts and select or create a new contract. +#. Check *Generate recurring invoices automatically*. +#. Mark the check "Invoice Pending Sales Orders". +#. On each invoicing, system will check if there's any pending sales orders + with same analyitic account and will append the lines to the invoice being + generated. diff --git a/contract_sale_invoicing/static/description/icon.png b/contract_sale_invoicing/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/contract_sale_invoicing/static/description/icon.png differ diff --git a/contract_sale_invoicing/static/description/index.html b/contract_sale_invoicing/static/description/index.html new file mode 100644 index 000000000..b5940f171 --- /dev/null +++ b/contract_sale_invoicing/static/description/index.html @@ -0,0 +1,441 @@ + + + + + + +Contract Invoicing of Pending Sales Orders + + + +
+

Contract Invoicing of Pending Sales Orders

+ + +

Beta License: AGPL-3 OCA/contract Translate me on Weblate Try me on Runboat

+

This modules allows to include on the same invoice than the recurring invoice +contract, all the pending to invoice sales orders that you have with the same +analytic account.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to Invoicing > Sales > Contracts and select or create a new contract.
  2. +
  3. Check Generate recurring invoices automatically.
  4. +
  5. Mark the check “Invoice Pending Sales Orders”.
  6. +
  7. On each invoicing, system will check if there’s any pending sales orders +with same analyitic account and will append the lines to the invoice being +generated.
  8. +
+
+
+

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

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

This module is part of the OCA/contract project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/contract_sale_invoicing/tests/__init__.py b/contract_sale_invoicing/tests/__init__.py new file mode 100644 index 000000000..0d440aef8 --- /dev/null +++ b/contract_sale_invoicing/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_contract_sale_invoicing diff --git a/contract_sale_invoicing/tests/test_contract_sale_invoicing.py b/contract_sale_invoicing/tests/test_contract_sale_invoicing.py new file mode 100644 index 000000000..f0b7a83c7 --- /dev/null +++ b/contract_sale_invoicing/tests/test_contract_sale_invoicing.py @@ -0,0 +1,69 @@ +# Copyright 2018 Tecnativa - Carlos Dauden +# Copyright 2023 Tecnativa - Carolina Fernandez +# Copyright 2023 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from freezegun import freeze_time + +from odoo.addons.contract.tests.test_contract import TestContractBase + + +@freeze_time("2016-02-28") +class TestContractSaleInvoicing(TestContractBase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env( + context=dict( + cls.env.context, + mail_create_nolog=True, + mail_create_nosubscribe=True, + mail_notrack=True, + no_reset_password=True, + tracking_disable=True, + ) + ) + cls.contract.group_id = cls.env["account.analytic.account"].search([], limit=1) + cls.product_so = cls.env.ref("product.product_product_1") + cls.product_so.invoice_policy = "order" + cls.sale_order = cls.env["sale.order"].create( + { + "partner_id": cls.partner.id, + "partner_invoice_id": cls.partner.id, + "partner_shipping_id": cls.partner.id, + "order_line": [ + ( + 0, + 0, + { + "name": cls.product_so.name, + "product_id": cls.product_so.id, + "product_uom_qty": 2, + "product_uom": cls.product_so.uom_id.id, + "price_unit": cls.product_so.list_price, + }, + ) + ], + "pricelist_id": cls.partner.property_product_pricelist.id, + "analytic_account_id": cls.contract.group_id.id, + } + ) + + def test_not_sale_invoicing(self): + self.contract.invoicing_sales = False + self.sale_order.action_confirm() + self.contract.recurring_create_invoice() + self.assertEqual(self.sale_order.invoice_status, "to invoice") + + def test_sale_invoicing(self): + self.contract.invoicing_sales = True + self.sale_order.action_confirm() + self.contract.recurring_create_invoice() + self.assertEqual(self.sale_order.invoice_status, "invoiced") + + def test_contract_sale_invoicing_without(self): + self.contract.invoicing_sales = True + self.sale_order.analytic_account_id = False + self.sale_order.action_confirm() + self.contract.recurring_create_invoice() + self.assertEqual(self.sale_order.invoice_status, "to invoice") diff --git a/contract_sale_invoicing/views/contract_view.xml b/contract_sale_invoicing/views/contract_view.xml new file mode 100644 index 000000000..cedb83b5e --- /dev/null +++ b/contract_sale_invoicing/views/contract_view.xml @@ -0,0 +1,16 @@ + + + + + + contract.contract + + + + + + + + + diff --git a/setup/contract_sale_invoicing/odoo/addons/contract_sale_invoicing b/setup/contract_sale_invoicing/odoo/addons/contract_sale_invoicing new file mode 120000 index 000000000..0af10a412 --- /dev/null +++ b/setup/contract_sale_invoicing/odoo/addons/contract_sale_invoicing @@ -0,0 +1 @@ +../../../../contract_sale_invoicing \ No newline at end of file diff --git a/setup/contract_sale_invoicing/setup.py b/setup/contract_sale_invoicing/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/contract_sale_invoicing/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)