diff --git a/contract_sale_invoicing/README.rst b/contract_sale_invoicing/README.rst new file mode 100644 index 00000000..ea7021dd --- /dev/null +++ b/contract_sale_invoicing/README.rst @@ -0,0 +1,69 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: https://www.gnu.org/licenses/agpl + :alt: License: AGPL-3 + +========================================== +Contract Invoicing of Pending Sales Orders +========================================== + +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. + +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. + + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/110/11.0 + + +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 smash it by providing detailed and welcomed feedback. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* `Tecnativa `_: + + * Carlos Dauden + +Do not contact contributors directly about support or help with 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/contract_sale_invoicing/__init__.py b/contract_sale_invoicing/__init__.py new file mode 100644 index 00000000..cca1a88e --- /dev/null +++ b/contract_sale_invoicing/__init__.py @@ -0,0 +1,5 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models +from . import tests + diff --git a/contract_sale_invoicing/__manifest__.py b/contract_sale_invoicing/__manifest__.py new file mode 100644 index 00000000..04228b1e --- /dev/null +++ b/contract_sale_invoicing/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2018 Tecnativa - Carlos Dauden +# 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': '12.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 00000000..e4d817cf --- /dev/null +++ b/contract_sale_invoicing/i18n/ca.po @@ -0,0 +1,38 @@ +# 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: 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_account_analytic_account +msgid "Analytic Account" +msgstr "Compte analític" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" 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 00000000..873a8cd4 --- /dev/null +++ b/contract_sale_invoicing/i18n/contract_sale_invoicing.pot @@ -0,0 +1,32 @@ +# 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" +"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_account_analytic_account +msgid "Analytic Account" +msgstr "" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_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 00000000..e97ae46c --- /dev/null +++ b/contract_sale_invoicing/i18n/de.po @@ -0,0 +1,38 @@ +# 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: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\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" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_account_analytic_account +msgid "Analytic Account" +msgstr "Kostenstelle" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/el_GR.po b/contract_sale_invoicing/i18n/el_GR.po new file mode 100644 index 00000000..67759199 --- /dev/null +++ b/contract_sale_invoicing/i18n/el_GR.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: 2018-04-17 02:41+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_account_analytic_account +msgid "Analytic Account" +msgstr "Αναλυτικός Λογαριασμός" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/es.po b/contract_sale_invoicing/i18n/es.po new file mode 100644 index 00000000..ad5d7744 --- /dev/null +++ b/contract_sale_invoicing/i18n/es.po @@ -0,0 +1,35 @@ +# 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: 2018-04-06 17:36+0200\n" +"PO-Revision-Date: 2018-04-06 17:38+0200\n" +"Last-Translator: Carlos Dauden \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: Poedit 1.8.7.1\n" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_account_analytic_account +msgid "Analytic Account" +msgstr "Cuenta analítica" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "If checked include sales with same analytic account to invoice in contract invoice creation." +msgstr "Si está marcado se incluyen los pedidos a facturar que tengan la misma cuenta analítica en la creación de la factura del contrato" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "Facturar pedidos pendientes" diff --git a/contract_sale_invoicing/i18n/es_MX.po b/contract_sale_invoicing/i18n/es_MX.po new file mode 100644 index 00000000..d2ad304f --- /dev/null +++ b/contract_sale_invoicing/i18n/es_MX.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: 2018-04-17 02:41+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_account_analytic_account +msgid "Analytic Account" +msgstr "Cuenta analítica" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/fi.po b/contract_sale_invoicing/i18n/fi.po new file mode 100644 index 00000000..cf18a90f --- /dev/null +++ b/contract_sale_invoicing/i18n/fi.po @@ -0,0 +1,38 @@ +# 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: 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_account_analytic_account +msgid "Analytic Account" +msgstr "Analyyttinen tili" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/fr.po b/contract_sale_invoicing/i18n/fr.po new file mode 100644 index 00000000..d1db4e67 --- /dev/null +++ b/contract_sale_invoicing/i18n/fr.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 +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-05-05 02:28+0000\n" +"PO-Revision-Date: 2018-05-05 02:28+0000\n" +"Last-Translator: Quentin THEURET , 2018\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" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_account_analytic_account +msgid "Analytic Account" +msgstr "Compte analytique" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "Commandes avec une facture en attente" diff --git a/contract_sale_invoicing/i18n/gl.po b/contract_sale_invoicing/i18n/gl.po new file mode 100644 index 00000000..e8dbbe47 --- /dev/null +++ b/contract_sale_invoicing/i18n/gl.po @@ -0,0 +1,38 @@ +# 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: 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_account_analytic_account +msgid "Analytic Account" +msgstr "Conta analítica" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/hi_IN.po b/contract_sale_invoicing/i18n/hi_IN.po new file mode 100644 index 00000000..4b8646ca --- /dev/null +++ b/contract_sale_invoicing/i18n/hi_IN.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: 2018-04-17 02:41+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_account_analytic_account +msgid "Analytic Account" +msgstr "विश्लेषणात्मक खाता" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/hr.po b/contract_sale_invoicing/i18n/hr.po new file mode 100644 index 00000000..6a214c30 --- /dev/null +++ b/contract_sale_invoicing/i18n/hr.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: 2018-04-17 02:41+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_account_analytic_account +msgid "Analytic Account" +msgstr "Analitički konto" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/hr_HR.po b/contract_sale_invoicing/i18n/hr_HR.po new file mode 100644 index 00000000..5cbd0275 --- /dev/null +++ b/contract_sale_invoicing/i18n/hr_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: 2018-04-17 02:41+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_account_analytic_account +msgid "Analytic Account" +msgstr "Konto analitike" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/hu.po b/contract_sale_invoicing/i18n/hu.po new file mode 100644 index 00000000..fef5e9e0 --- /dev/null +++ b/contract_sale_invoicing/i18n/hu.po @@ -0,0 +1,38 @@ +# 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: 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_account_analytic_account +msgid "Analytic Account" +msgstr "Analitikus gyűjtőkód könyvelés" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/it.po b/contract_sale_invoicing/i18n/it.po new file mode 100644 index 00000000..483d755a --- /dev/null +++ b/contract_sale_invoicing/i18n/it.po @@ -0,0 +1,38 @@ +# 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: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\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" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_account_analytic_account +msgid "Analytic Account" +msgstr "Conto Analitico" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/nl.po b/contract_sale_invoicing/i18n/nl.po new file mode 100644 index 00000000..05baaadb --- /dev/null +++ b/contract_sale_invoicing/i18n/nl.po @@ -0,0 +1,38 @@ +# 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: 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_account_analytic_account +msgid "Analytic Account" +msgstr "Kostenplaats" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/pt.po b/contract_sale_invoicing/i18n/pt.po new file mode 100644 index 00000000..eff4a6fc --- /dev/null +++ b/contract_sale_invoicing/i18n/pt.po @@ -0,0 +1,38 @@ +# 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: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\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" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_account_analytic_account +msgid "Analytic Account" +msgstr "Conta Analítica" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/pt_BR.po b/contract_sale_invoicing/i18n/pt_BR.po new file mode 100644 index 00000000..64e39d89 --- /dev/null +++ b/contract_sale_invoicing/i18n/pt_BR.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: 2018-04-17 02:41+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\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" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_account_analytic_account +msgid "Analytic Account" +msgstr "Conta Analítica" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/pt_PT.po b/contract_sale_invoicing/i18n/pt_PT.po new file mode 100644 index 00000000..e3133f81 --- /dev/null +++ b/contract_sale_invoicing/i18n/pt_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: 2018-04-17 02:41+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_account_analytic_account +msgid "Analytic Account" +msgstr "Conta Analítica" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/ro.po b/contract_sale_invoicing/i18n/ro.po new file mode 100644 index 00000000..1e598a4d --- /dev/null +++ b/contract_sale_invoicing/i18n/ro.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: 2018-04-17 02:41+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_account_analytic_account +msgid "Analytic Account" +msgstr "Cont analitic" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/sk_SK.po b/contract_sale_invoicing/i18n/sk_SK.po new file mode 100644 index 00000000..d29c41d9 --- /dev/null +++ b/contract_sale_invoicing/i18n/sk_SK.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: 2018-04-17 02:41+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_account_analytic_account +msgid "Analytic Account" +msgstr "Analytický účet" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/sl.po b/contract_sale_invoicing/i18n/sl.po new file mode 100644 index 00000000..b0fd0762 --- /dev/null +++ b/contract_sale_invoicing/i18n/sl.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: 2018-04-17 02:41+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_account_analytic_account +msgid "Analytic Account" +msgstr "Analitični konto" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/tr.po b/contract_sale_invoicing/i18n/tr.po new file mode 100644 index 00000000..7ba26db0 --- /dev/null +++ b/contract_sale_invoicing/i18n/tr.po @@ -0,0 +1,38 @@ +# 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: 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_account_analytic_account +msgid "Analytic Account" +msgstr "Analitik Hesap" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/tr_TR.po b/contract_sale_invoicing/i18n/tr_TR.po new file mode 100644 index 00000000..187daa13 --- /dev/null +++ b/contract_sale_invoicing/i18n/tr_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: 2018-04-17 02:41+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_account_analytic_account +msgid "Analytic Account" +msgstr "Analitik Hesap" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/i18n/zh.po b/contract_sale_invoicing/i18n/zh.po new file mode 100644 index 00000000..dd338d78 --- /dev/null +++ b/contract_sale_invoicing/i18n/zh.po @@ -0,0 +1,38 @@ +# 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: 2018-04-27 01:12+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_account_analytic_account +msgid "Analytic Account" +msgstr "分析会计" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "发票挂起的销售订单" diff --git a/contract_sale_invoicing/i18n/zh_CN.po b/contract_sale_invoicing/i18n/zh_CN.po new file mode 100644 index 00000000..58cce6f4 --- /dev/null +++ b/contract_sale_invoicing/i18n/zh_CN.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: 2018-04-17 02:41+0000\n" +"PO-Revision-Date: 2018-04-17 02:41+0000\n" +"Last-Translator: OCA Transbot , 2018\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" + +#. module: contract_sale_invoicing +#: model:ir.model,name:contract_sale_invoicing.model_account_analytic_account +msgid "Analytic Account" +msgstr "核算科目" + +#. module: contract_sale_invoicing +#: model:ir.model.fields,help:contract_sale_invoicing.field_account_analytic_account_invoicing_sales +#: model:ir.model.fields,help:contract_sale_invoicing.field_project_project_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_account_analytic_account_invoicing_sales +#: model:ir.model.fields,field_description:contract_sale_invoicing.field_project_project_invoicing_sales +msgid "Invoice Pending Sales Orders" +msgstr "" diff --git a/contract_sale_invoicing/models/__init__.py b/contract_sale_invoicing/models/__init__.py new file mode 100644 index 00000000..d639560e --- /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 00000000..9ae245bb --- /dev/null +++ b/contract_sale_invoicing/models/contract.py @@ -0,0 +1,32 @@ +# Copyright 2018 Tecnativa - Carlos Dauden +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class AccountAnalyticAccount(models.Model): + _inherit = 'account.analytic.account' + + invoicing_sales = fields.Boolean( + string='Invoice Pending Sales Orders', + help='If checked include sales with same analytic account to invoice ' + 'in contract invoice creation.', + ) + + @api.multi + def _create_invoice(self, invoice=False): + if not self.invoicing_sales: + return super(AccountAnalyticAccount, self)._create_invoice() + sales = self.env['sale.order'].search([ + ('analytic_account_id', '=', self.id), + ('partner_invoice_id', 'child_of', + self.partner_id.commercial_partner_id.ids), + ('invoice_status', '=', 'to invoice'), + ('date_order', '<=', + '{} 23:59:59'.format(self.recurring_next_date)), + ]) + if sales: + invoice_ids = sales.action_invoice_create() + invoice = self.env['account.invoice'].browse(invoice_ids)[:1] + return super(AccountAnalyticAccount, self)._create_invoice( + invoice=invoice) diff --git a/contract_sale_invoicing/readme/CONTRIBUTORS.rst b/contract_sale_invoicing/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..0f197950 --- /dev/null +++ b/contract_sale_invoicing/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* `Tecnativa `_: + + * Carlos Dauden +* Souheil Bejaoui diff --git a/contract_sale_invoicing/readme/DESCRIPTION.rst b/contract_sale_invoicing/readme/DESCRIPTION.rst new file mode 100644 index 00000000..0d5fe5f9 --- /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. \ No newline at end of file diff --git a/contract_sale_invoicing/readme/USAGE.rst b/contract_sale_invoicing/readme/USAGE.rst new file mode 100644 index 00000000..e9e299c5 --- /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 00000000..3a0328b5 Binary files /dev/null and b/contract_sale_invoicing/static/description/icon.png differ diff --git a/contract_sale_invoicing/tests/__init__.py b/contract_sale_invoicing/tests/__init__.py new file mode 100644 index 00000000..0d440aef --- /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 00000000..e655849b --- /dev/null +++ b/contract_sale_invoicing/tests/test_contract_sale_invoicing.py @@ -0,0 +1,45 @@ +# Copyright 2018 Tecnativa - Carlos Dauden +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.addons.contract.tests.test_contract import TestContractBase + + +class TestContractSaleInvoicing(TestContractBase): + @classmethod + def setUpClass(cls): + super(TestContractSaleInvoicing, cls).setUpClass() + 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.id, + 'date_order': '2016-02-15', + }) + + 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 00000000..b492211f --- /dev/null +++ b/contract_sale_invoicing/views/contract_view.xml @@ -0,0 +1,17 @@ + + + + + + + account.analytic.account + + + + + + + + + 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 00000000..0af10a41 --- /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 00000000..28c57bb6 --- /dev/null +++ b/setup/contract_sale_invoicing/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)