diff --git a/account_invoice_triple_discount/README.rst b/account_invoice_triple_discount/README.rst new file mode 100644 index 000000000000..e978517dabcd --- /dev/null +++ b/account_invoice_triple_discount/README.rst @@ -0,0 +1,71 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +=============================== +Account Invoice Triple Discount +=============================== + +This module allows to have three successive discounts on each invoice line. + +Usage +===== + +Create a new invoice and add discounts in any of the three discount fields +given. They go in order of precedence so discount 2 will be calculated over +discount 1 and discount 3 over the result of discount 2. For example, let's +divide by two on every discount: + +Unit price: 600.00 -> + + - Disc. 1 = 50% -> Amount = 300.00 + - Disc. 2 = 50% -> Amount = 150.00 + - Disc. 3 = 50% -> Amount = 75.00 + +You can also use negative values to charge instead of discount: + +Unit price: 600.00 -> + + - Disc. 1 = 50% -> Amount = 300.00 + - Disc. 2 = -5% -> Amount = 315.00 + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/95/10.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 +------------ + +* David Vidal +* Pedro M. Baeza + +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/account_invoice_triple_discount/__init__.py b/account_invoice_triple_discount/__init__.py new file mode 100644 index 000000000000..a9e3372262cd --- /dev/null +++ b/account_invoice_triple_discount/__init__.py @@ -0,0 +1,2 @@ + +from . import models diff --git a/account_invoice_triple_discount/__manifest__.py b/account_invoice_triple_discount/__manifest__.py new file mode 100644 index 000000000000..7ff72553afbb --- /dev/null +++ b/account_invoice_triple_discount/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright 2018 QubiQ (http://www.qubiq.es) +# Copyright 2017 Tecnativa - David Vidal +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + 'name': 'Account Invoice Triple Discount', + 'version': '11.0.1.0', + 'category': 'Accounting & Finance', + 'author': 'QubiQ,' + 'Tecnativa,' + 'Odoo Community Association (OCA)', + 'website': 'https://odoo-community.org', + 'license': 'AGPL-3', + 'summary': 'Manage triple discount on invoice lines', + 'depends': [ + 'account', + ], + 'data': [ + 'views/account_invoice_view.xml', + ], + 'installable': True, +} diff --git a/account_invoice_triple_discount/i18n/ar.po b/account_invoice_triple_discount/i18n/ar.po new file mode 100644 index 000000000000..0393e51c293c --- /dev/null +++ b/account_invoice_triple_discount/i18n/ar.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "فاتورة" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "خط الفاتورة" diff --git a/account_invoice_triple_discount/i18n/bg.po b/account_invoice_triple_discount/i18n/bg.po new file mode 100644 index 000000000000..39b377663de9 --- /dev/null +++ b/account_invoice_triple_discount/i18n/bg.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Фактура" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/bs.po b/account_invoice_triple_discount/i18n/bs.po new file mode 100644 index 000000000000..ec35554abccc --- /dev/null +++ b/account_invoice_triple_discount/i18n/bs.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bs\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: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Stavka fakture" diff --git a/account_invoice_triple_discount/i18n/ca.po b/account_invoice_triple_discount/i18n/ca.po new file mode 100644 index 000000000000..9331a41289bd --- /dev/null +++ b/account_invoice_triple_discount/i18n/ca.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Línia factura" diff --git a/account_invoice_triple_discount/i18n/cs.po b/account_invoice_triple_discount/i18n/cs.po new file mode 100644 index 000000000000..fa468c2388e9 --- /dev/null +++ b/account_invoice_triple_discount/i18n/cs.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: cs\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Řádek faktury" diff --git a/account_invoice_triple_discount/i18n/de.po b/account_invoice_triple_discount/i18n/de.po new file mode 100644 index 000000000000..c42bd166b9c8 --- /dev/null +++ b/account_invoice_triple_discount/i18n/de.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Rechnung" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Rechnungsposition" diff --git a/account_invoice_triple_discount/i18n/el_GR.po b/account_invoice_triple_discount/i18n/el_GR.po new file mode 100644 index 000000000000..668c4c3d3365 --- /dev/null +++ b/account_invoice_triple_discount/i18n/el_GR.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: el_GR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Τιμολόγιο" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/en_GB.po b/account_invoice_triple_discount/i18n/en_GB.po new file mode 100644 index 000000000000..10e1edfe0ab0 --- /dev/null +++ b/account_invoice_triple_discount/i18n/en_GB.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/teams/23907/en_GB/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Invoice" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Invoice Line" diff --git a/account_invoice_triple_discount/i18n/es.po b/account_invoice_triple_discount/i18n/es.po new file mode 100644 index 000000000000..62d6bd64d617 --- /dev/null +++ b/account_invoice_triple_discount/i18n/es.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Línea de factura" diff --git a/account_invoice_triple_discount/i18n/es_CR.po b/account_invoice_triple_discount/i18n/es_CR.po new file mode 100644 index 000000000000..734b03069f8f --- /dev/null +++ b/account_invoice_triple_discount/i18n/es_CR.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/teams/23907/es_CR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_CR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Línea de factura" diff --git a/account_invoice_triple_discount/i18n/es_EC.po b/account_invoice_triple_discount/i18n/es_EC.po new file mode 100644 index 000000000000..94bb7796c25f --- /dev/null +++ b/account_invoice_triple_discount/i18n/es_EC.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_EC\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Detalle de Factura" diff --git a/account_invoice_triple_discount/i18n/es_ES.po b/account_invoice_triple_discount/i18n/es_ES.po new file mode 100644 index 000000000000..92bafb720e7d --- /dev/null +++ b/account_invoice_triple_discount/i18n/es_ES.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# Fernando Lara , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: Fernando Lara , 2017\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/es_ES/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_ES\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/es_MX.po b/account_invoice_triple_discount/i18n/es_MX.po new file mode 100644 index 000000000000..574403b1c0c0 --- /dev/null +++ b/account_invoice_triple_discount/i18n/es_MX.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_MX\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Línea de factura" diff --git a/account_invoice_triple_discount/i18n/et.po b/account_invoice_triple_discount/i18n/et.po new file mode 100644 index 000000000000..10d28b04b791 --- /dev/null +++ b/account_invoice_triple_discount/i18n/et.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Arve" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Arve rida" diff --git a/account_invoice_triple_discount/i18n/fi.po b/account_invoice_triple_discount/i18n/fi.po new file mode 100644 index 000000000000..bb7339d04a13 --- /dev/null +++ b/account_invoice_triple_discount/i18n/fi.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Lasku" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/fr.po b/account_invoice_triple_discount/i18n/fr.po new file mode 100644 index 000000000000..b39553a892c1 --- /dev/null +++ b/account_invoice_triple_discount/i18n/fr.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +# Quentin THEURET , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: Quentin THEURET , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "Remise 2 (%)" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "Remise 3 (%)" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Ligne de facture" diff --git a/account_invoice_triple_discount/i18n/fr_CA.po b/account_invoice_triple_discount/i18n/fr_CA.po new file mode 100644 index 000000000000..5c1bf3a345c7 --- /dev/null +++ b/account_invoice_triple_discount/i18n/fr_CA.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/fr_CA/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CA\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/fr_CH.po b/account_invoice_triple_discount/i18n/fr_CH.po new file mode 100644 index 000000000000..71adfd75789a --- /dev/null +++ b/account_invoice_triple_discount/i18n/fr_CH.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/teams/23907/fr_CH/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CH\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Ligne de facture" diff --git a/account_invoice_triple_discount/i18n/gl.po b/account_invoice_triple_discount/i18n/gl.po new file mode 100644 index 000000000000..a988c557056f --- /dev/null +++ b/account_invoice_triple_discount/i18n/gl.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/hr.po b/account_invoice_triple_discount/i18n/hr.po new file mode 100644 index 000000000000..6d4beb9be9c1 --- /dev/null +++ b/account_invoice_triple_discount/i18n/hr.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +# Bole , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-03 01:14+0000\n" +"PO-Revision-Date: 2018-02-03 01:14+0000\n" +"Last-Translator: Bole , 2018\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\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: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "Popust 2 (%)" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "Popust 3 (%)" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Račun" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Stavka računa" diff --git a/account_invoice_triple_discount/i18n/hr_HR.po b/account_invoice_triple_discount/i18n/hr_HR.po new file mode 100644 index 000000000000..eef989eb6df0 --- /dev/null +++ b/account_invoice_triple_discount/i18n/hr_HR.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-11 23:30+0000\n" +"PO-Revision-Date: 2017-08-11 23:30+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_HR\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: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "Popust 2 (%)" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "Popust 3 (%)" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Račun" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Stavka računa" diff --git a/account_invoice_triple_discount/i18n/hu.po b/account_invoice_triple_discount/i18n/hu.po new file mode 100644 index 000000000000..a5dbf4e115e0 --- /dev/null +++ b/account_invoice_triple_discount/i18n/hu.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Számla" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Számlasor" diff --git a/account_invoice_triple_discount/i18n/id.po b/account_invoice_triple_discount/i18n/id.po new file mode 100644 index 000000000000..6dd08e5450ad --- /dev/null +++ b/account_invoice_triple_discount/i18n/id.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Indonesian (https://www.transifex.com/oca/teams/23907/id/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Faktur" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/it.po b/account_invoice_triple_discount/i18n/it.po new file mode 100644 index 000000000000..b568f33112ef --- /dev/null +++ b/account_invoice_triple_discount/i18n/it.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Fattura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Righe Fattura" diff --git a/account_invoice_triple_discount/i18n/ja.po b/account_invoice_triple_discount/i18n/ja.po new file mode 100644 index 000000000000..45f5077e7cef --- /dev/null +++ b/account_invoice_triple_discount/i18n/ja.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "請求書" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "請求行" diff --git a/account_invoice_triple_discount/i18n/lt.po b/account_invoice_triple_discount/i18n/lt.po new file mode 100644 index 000000000000..c40e44456862 --- /dev/null +++ b/account_invoice_triple_discount/i18n/lt.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lt\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Sąskaita faktūra" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Sąskaitos faktūros eilutė" diff --git a/account_invoice_triple_discount/i18n/mk.po b/account_invoice_triple_discount/i18n/mk.po new file mode 100644 index 000000000000..283d72db859d --- /dev/null +++ b/account_invoice_triple_discount/i18n/mk.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/mk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mk\n" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Фактура" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Ставка од фактура" diff --git a/account_invoice_triple_discount/i18n/mn.po b/account_invoice_triple_discount/i18n/mn.po new file mode 100644 index 000000000000..f6c1cb9c2280 --- /dev/null +++ b/account_invoice_triple_discount/i18n/mn.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/mn/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Нэхэмжлэл" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Нэхэмжлэлийн мөр" diff --git a/account_invoice_triple_discount/i18n/nb.po b/account_invoice_triple_discount/i18n/nb.po new file mode 100644 index 000000000000..989e62f298e2 --- /dev/null +++ b/account_invoice_triple_discount/i18n/nb.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/nb/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Fakturalinje" diff --git a/account_invoice_triple_discount/i18n/nb_NO.po b/account_invoice_triple_discount/i18n/nb_NO.po new file mode 100644 index 000000000000..c181156fd22d --- /dev/null +++ b/account_invoice_triple_discount/i18n/nb_NO.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/teams/23907/nb_NO/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nb_NO\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Innmelding" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/nl.po b/account_invoice_triple_discount/i18n/nl.po new file mode 100644 index 000000000000..ef4d6d334341 --- /dev/null +++ b/account_invoice_triple_discount/i18n/nl.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factuur" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Factuurregel" diff --git a/account_invoice_triple_discount/i18n/nl_BE.po b/account_invoice_triple_discount/i18n/nl_BE.po new file mode 100644 index 000000000000..f965b10b703a --- /dev/null +++ b/account_invoice_triple_discount/i18n/nl_BE.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/nl_BE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_BE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factuur" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Factuurlijn" diff --git a/account_invoice_triple_discount/i18n/nl_NL.po b/account_invoice_triple_discount/i18n/nl_NL.po new file mode 100644 index 000000000000..75339fdc0ff5 --- /dev/null +++ b/account_invoice_triple_discount/i18n/nl_NL.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factuur" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Factuurregel" diff --git a/account_invoice_triple_discount/i18n/pl.po b/account_invoice_triple_discount/i18n/pl.po new file mode 100644 index 000000000000..eac002d967bc --- /dev/null +++ b/account_invoice_triple_discount/i18n/pl.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/pt.po b/account_invoice_triple_discount/i18n/pt.po new file mode 100644 index 000000000000..bb99a5f5ec78 --- /dev/null +++ b/account_invoice_triple_discount/i18n/pt.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Fatura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Linha de fatura" diff --git a/account_invoice_triple_discount/i18n/pt_BR.po b/account_invoice_triple_discount/i18n/pt_BR.po new file mode 100644 index 000000000000..1ef6170a8947 --- /dev/null +++ b/account_invoice_triple_discount/i18n/pt_BR.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Fatura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Linha da Fatura" diff --git a/account_invoice_triple_discount/i18n/pt_PT.po b/account_invoice_triple_discount/i18n/pt_PT.po new file mode 100644 index 000000000000..f273db935f2a --- /dev/null +++ b/account_invoice_triple_discount/i18n/pt_PT.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_PT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Fatura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Linha da Fatura" diff --git a/account_invoice_triple_discount/i18n/ro.po b/account_invoice_triple_discount/i18n/ro.po new file mode 100644 index 000000000000..27cec5d3a4e5 --- /dev/null +++ b/account_invoice_triple_discount/i18n/ro.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Linie factura" diff --git a/account_invoice_triple_discount/i18n/ru.po b/account_invoice_triple_discount/i18n/ru.po new file mode 100644 index 000000000000..2afde60b2eaf --- /dev/null +++ b/account_invoice_triple_discount/i18n/ru.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +# nek, 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-17 01:09+0000\n" +"PO-Revision-Date: 2018-03-17 01:09+0000\n" +"Last-Translator: nek, 2018\n" +"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "Скидка 2 (%)" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "Скидка 3 (%)" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Счет" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Позиция счета" diff --git a/account_invoice_triple_discount/i18n/sk_SK.po b/account_invoice_triple_discount/i18n/sk_SK.po new file mode 100644 index 000000000000..580ef591c349 --- /dev/null +++ b/account_invoice_triple_discount/i18n/sk_SK.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovak (Slovakia) (https://www.transifex.com/oca/teams/23907/sk_SK/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk_SK\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Faktúra" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/sl.po b/account_invoice_triple_discount/i18n/sl.po new file mode 100644 index 000000000000..f5d3d8f18235 --- /dev/null +++ b/account_invoice_triple_discount/i18n/sl.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Račun" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Postavka računa" diff --git a/account_invoice_triple_discount/i18n/sv.po b/account_invoice_triple_discount/i18n/sv.po new file mode 100644 index 000000000000..faaed224a1ac --- /dev/null +++ b/account_invoice_triple_discount/i18n/sv.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Fakturarad" diff --git a/account_invoice_triple_discount/i18n/th.po b/account_invoice_triple_discount/i18n/th.po new file mode 100644 index 000000000000..aaeae563ba9c --- /dev/null +++ b/account_invoice_triple_discount/i18n/th.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Thai (https://www.transifex.com/oca/teams/23907/th/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "ใบแจ้งหนี้" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "" diff --git a/account_invoice_triple_discount/i18n/tr.po b/account_invoice_triple_discount/i18n/tr.po new file mode 100644 index 000000000000..6127adf0b73c --- /dev/null +++ b/account_invoice_triple_discount/i18n/tr.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Fatura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Fatura kalemi" diff --git a/account_invoice_triple_discount/i18n/tr_TR.po b/account_invoice_triple_discount/i18n/tr_TR.po new file mode 100644 index 000000000000..f15e7f98bafc --- /dev/null +++ b/account_invoice_triple_discount/i18n/tr_TR.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr_TR\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "Fatura" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "Fatura hizası" diff --git a/account_invoice_triple_discount/i18n/zh_CN.po b/account_invoice_triple_discount/i18n/zh_CN.po new file mode 100644 index 000000000000..879e5e3cf7d5 --- /dev/null +++ b/account_invoice_triple_discount/i18n/zh_CN.po @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +# 三 张 <731414193@qq.com>, 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: 三 张 <731414193@qq.com>, 2017\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "发票" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "发票明细" diff --git a/account_invoice_triple_discount/i18n/zh_TW.po b/account_invoice_triple_discount/i18n/zh_TW.po new file mode 100644 index 000000000000..e0b9f062cade --- /dev/null +++ b/account_invoice_triple_discount/i18n/zh_TW.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 02:45+0000\n" +"PO-Revision-Date: 2017-08-09 02:45+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +msgid "Discount 2 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +msgid "Discount 3 (%)" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice +msgid "Invoice" +msgstr "發票" + +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line +msgid "Invoice Line" +msgstr "發票明細" diff --git a/account_invoice_triple_discount/models/__init__.py b/account_invoice_triple_discount/models/__init__.py new file mode 100644 index 000000000000..6834786a795f --- /dev/null +++ b/account_invoice_triple_discount/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import account_invoice diff --git a/account_invoice_triple_discount/models/account_invoice.py b/account_invoice_triple_discount/models/account_invoice.py new file mode 100644 index 000000000000..9e0c1f1aa451 --- /dev/null +++ b/account_invoice_triple_discount/models/account_invoice.py @@ -0,0 +1,63 @@ +# Copyright 2017 Tecnativa - David Vidal +# Copyright 2017 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models +from odoo.addons import decimal_precision as dp + + +class AccountInvoice(models.Model): + _inherit = "account.invoice" + + def get_taxes_values(self): + vals = {} + for line in self.invoice_line_ids: + vals[line] = { + 'price_unit': line.price_unit, + 'discount': line.discount, + } + price_unit = line.price_unit * (1 - (line.discount or 0.0) / 100.0) + price_unit *= (1 - (line.discount2 or 0.0) / 100.0) + price_unit *= (1 - (line.discount3 or 0.0) / 100.0) + line.update({ + 'price_unit': price_unit, + 'discount': 0.0, + }) + tax_grouped = super(AccountInvoice, self).get_taxes_values() + for line in self.invoice_line_ids: + line.update(vals[line]) + return tax_grouped + + +class AccountInvoiceLine(models.Model): + _inherit = "account.invoice.line" + + discount2 = fields.Float( + 'Discount 2 (%)', + digits=dp.get_precision('Discount'), + default=0.0, + ) + discount3 = fields.Float( + 'Discount 3 (%)', + digits=dp.get_precision('Discount'), + default=0.0, + ) + + @api.multi + @api.depends('discount2', 'discount3') + def _compute_price(self): + for line in self: + prev_price_unit = line.price_unit + prev_discount = line.discount + price_unit = line.price_unit * (1 - (line.discount or 0.0) / 100.0) + price_unit *= (1 - (line.discount2 or 0.0) / 100.0) + price_unit *= (1 - (line.discount3 or 0.0) / 100.0) + line.update({ + 'price_unit': price_unit, + 'discount': 0.0, + }) + super(AccountInvoiceLine, line)._compute_price() + line.update({ + 'price_unit': prev_price_unit, + 'discount': prev_discount, + }) diff --git a/account_invoice_triple_discount/tests/__init__.py b/account_invoice_triple_discount/tests/__init__.py new file mode 100644 index 000000000000..e73e9b0f196e --- /dev/null +++ b/account_invoice_triple_discount/tests/__init__.py @@ -0,0 +1,2 @@ + +from . import test_invoice_triple_discount diff --git a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py new file mode 100644 index 000000000000..7099a710f876 --- /dev/null +++ b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py @@ -0,0 +1,85 @@ +# Copyright 2017 Tecnativa - David Vidal +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.tests import SavepointCase + + +class TestInvoiceTripleDiscount(SavepointCase): + + @classmethod + def setUpClass(cls): + super(TestInvoiceTripleDiscount, cls).setUpClass() + cls.partner = cls.env['res.partner'].create({'name': 'Test'}) + cls.tax = cls.env['account.tax'].create({ + 'name': 'TAX 15%', + 'amount_type': 'percent', + 'type_tax_use': 'purchase', + 'amount': 15.0, + }) + cls.account_type = cls.env['account.account.type'].create({ + 'name': 'Test', + 'type': 'receivable', + }) + cls.account = cls.env['account.account'].create({ + 'name': 'Test account', + 'code': 'TEST', + 'user_type_id': cls.account_type.id, + 'reconcile': True, + }) + cls.invoice = cls.env['account.invoice'].create({ + 'name': "Test Customer Invoice", + 'journal_id': cls.env['account.journal'].search( + [('type', '=', 'sale')])[0].id, + 'partner_id': cls.partner.id, + 'account_id': cls.account.id, + }) + cls.invoice_line = cls.env['account.invoice.line'] + cls.invoice_line1 = cls.invoice_line.create({ + 'invoice_id': cls.invoice.id, + 'name': 'Line 1', + 'price_unit': 200.0, + 'account_id': cls.account.id, + 'invoice_line_tax_ids': [(6, 0, [cls.tax.id])], + 'quantity': 1, + }) + + def test_01_discounts(self): + """ Tests multiple discounts in line with taxes """ + # Adds a first discount + self.invoice_line1.discount = 50.0 + self.invoice._onchange_invoice_line_ids() + self.assertEqual(self.invoice.amount_total, 115.0) + # Adds a second discount over the price calculated before + self.invoice_line1.discount2 = 40.0 + self.invoice._onchange_invoice_line_ids() + self.assertEqual(self.invoice.amount_total, 69.0) + # Adds a third discount over the price calculated before + self.invoice_line1.discount3 = 50.0 + self.invoice._onchange_invoice_line_ids() + self.assertEqual(self.invoice.amount_total, 34.5) + # Deletes first discount + self.invoice_line1.discount = 0.0 + self.invoice._onchange_invoice_line_ids() + self.assertEqual(self.invoice.amount_total, 69.0) + # Charge 5% over price: + self.invoice_line1.discount = -5.0 + self.invoice._onchange_invoice_line_ids() + self.assertEqual(self.invoice.amount_total, 72.45) + + def test_02_discounts_multiple_lines(self): + """ Tests multiple lines with mixed taxes """ + self.invoice_line2 = self.invoice_line.create({ + 'invoice_id': self.invoice.id, + 'name': 'Line 1', + 'price_unit': 500.0, + 'account_id': self.account.id, + 'quantity': 1, + }) + self.assertEqual(self.invoice_line2.price_subtotal, 500.0) + self.invoice_line2.discount3 = 50.0 + self.invoice._onchange_invoice_line_ids() + self.assertEqual(self.invoice_line2.price_subtotal, 250.0) + self.assertEqual(self.invoice.amount_total, 480.0) + self.invoice_line1.discount = 50.0 + self.invoice._onchange_invoice_line_ids() + self.assertEqual(self.invoice.amount_total, 365.0) diff --git a/account_invoice_triple_discount/views/account_invoice_view.xml b/account_invoice_triple_discount/views/account_invoice_view.xml new file mode 100755 index 000000000000..399e485e7cc4 --- /dev/null +++ b/account_invoice_triple_discount/views/account_invoice_view.xml @@ -0,0 +1,43 @@ + + + + + account.invoice.triple.discount.form + account.invoice + + + + + + + + + + + + account.invoice.supplier.triple.discount.form + account.invoice + + + + + + + + + + + account.invoice.line.triple.discount.form + account.invoice.line + + + + + + + + + +