From 46d8b7d26158ea6ccced3b6a9dd030973fec9a54 Mon Sep 17 00:00:00 2001 From: David Vidal Date: Tue, 18 Jul 2017 09:18:27 +0200 Subject: [PATCH 01/21] account_invoice_triple_discount: New module --- account_invoice_triple_discount/README.rst | 70 ++++++++++++++++ account_invoice_triple_discount/__init__.py | 3 + .../__manifest__.py | 20 +++++ .../models/__init__.py | 4 + .../models/account_invoice.py | 25 ++++++ .../models/account_invoice_line.py | 38 +++++++++ .../tests/__init__.py | 3 + .../tests/test_invoice_triple_discount.py | 83 +++++++++++++++++++ .../views/account_invoice_view.xml | 43 ++++++++++ 9 files changed, 289 insertions(+) create mode 100644 account_invoice_triple_discount/README.rst create mode 100644 account_invoice_triple_discount/__init__.py create mode 100644 account_invoice_triple_discount/__manifest__.py create mode 100644 account_invoice_triple_discount/models/__init__.py create mode 100644 account_invoice_triple_discount/models/account_invoice.py create mode 100644 account_invoice_triple_discount/models/account_invoice_line.py create mode 100644 account_invoice_triple_discount/tests/__init__.py create mode 100644 account_invoice_triple_discount/tests/test_invoice_triple_discount.py create mode 100755 account_invoice_triple_discount/views/account_invoice_view.xml diff --git a/account_invoice_triple_discount/README.rst b/account_invoice_triple_discount/README.rst new file mode 100644 index 00000000000..f68e2b9612b --- /dev/null +++ b/account_invoice_triple_discount/README.rst @@ -0,0 +1,70 @@ +.. 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 every 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 + +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 00000000000..cde864bae21 --- /dev/null +++ b/account_invoice_triple_discount/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import models diff --git a/account_invoice_triple_discount/__manifest__.py b/account_invoice_triple_discount/__manifest__.py new file mode 100644 index 00000000000..8638b92db31 --- /dev/null +++ b/account_invoice_triple_discount/__manifest__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Tecnativa - David Vidal +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + 'name': 'Account Invoice Triple Discount', + 'version': '10.0.1.0.0', + 'category': 'Accounting & Finance', + 'author': 'Tecnativa, ' + 'Odoo Community Association (OCA)', + 'website': 'https://tecnativa.com', + '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/models/__init__.py b/account_invoice_triple_discount/models/__init__.py new file mode 100644 index 00000000000..ad9a7687892 --- /dev/null +++ b/account_invoice_triple_discount/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + +from . import account_invoice +from . import account_invoice_line 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 00000000000..c8342a3d426 --- /dev/null +++ b/account_invoice_triple_discount/models/account_invoice.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Tecnativa - David Vidal +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import models + + +class AccountInvoice(models.Model): + _inherit = "account.invoice" + + def get_taxes_values(self): + prices = {} + discount = {} + for line in self.invoice_line_ids: + prices[line.id] = line.price_unit + discount[line.id] = line.discount + line.price_unit *= (1 - (line.discount or 0.0) / 100.0) + line.price_unit *= (1 - (line.discount2 or 0.0) / 100.0) + line.price_unit *= (1 - (line.discount3 or 0.0) / 100.0) + line['discount'] = 0.0 + tax_grouped = super(AccountInvoice, self).get_taxes_values() + for line in self.invoice_line_ids: + line['price_unit'] = prices[line.id] + line['discount'] = discount[line.id] + return tax_grouped diff --git a/account_invoice_triple_discount/models/account_invoice_line.py b/account_invoice_triple_discount/models/account_invoice_line.py new file mode 100644 index 00000000000..57844afad21 --- /dev/null +++ b/account_invoice_triple_discount/models/account_invoice_line.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Tecnativa - David Vidal +# 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 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('price_unit', 'discount', 'discount2', 'discount3', + 'invoice_line_tax_ids', 'quantity', 'product_id', + 'invoice_id.partner_id', 'invoice_id.currency_id', + 'invoice_id.company_id', 'invoice_id.date_invoice') + def _compute_price(self): + for line in self: + price = line.price_unit + discount = line.discount + line.price_unit *= (1 - (line.discount or 0.0) / 100.0) + line.price_unit *= (1 - (line.discount2 or 0.0) / 100.0) + line.price_unit *= (1 - (line.discount3 or 0.0) / 100.0) + line['discount'] = 0.0 + super(AccountInvoiceLine, line)._compute_price() + line['price_unit'] = price + line['discount'] = discount diff --git a/account_invoice_triple_discount/tests/__init__.py b/account_invoice_triple_discount/tests/__init__.py new file mode 100644 index 00000000000..4835fbdce15 --- /dev/null +++ b/account_invoice_triple_discount/tests/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +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 00000000000..22988b0a265 --- /dev/null +++ b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py @@ -0,0 +1,83 @@ +# -*- coding: utf-8 -*- +# 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])], + }) + cls.invoice._onchange_invoice_line_ids() + + 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, + }) + self.invoice_line2.discount3 = 50.0 + self.invoice._onchange_invoice_line_ids() + 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 00000000000..399e485e7cc --- /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 + + + + + + + + + + From aa4b11c7536379597c588990e04d6b2cf8713b8a Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sat, 22 Jul 2017 22:32:03 +0200 Subject: [PATCH 02/21] account_invoice_triple_discount: Some improvements --- account_invoice_triple_discount/README.rst | 3 +- .../__manifest__.py | 2 +- account_invoice_triple_discount/i18n/ar.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/bg.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/bs.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/ca.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/cs.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/de.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/el_GR.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/en_GB.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/es.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/es_CR.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/es_EC.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/es_ES.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/es_MX.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/et.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/fi.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/fr.po | 40 ++++++++++++ account_invoice_triple_discount/i18n/fr_CA.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/fr_CH.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/gl.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/hr.po | 40 ++++++++++++ account_invoice_triple_discount/i18n/hr_HR.po | 40 ++++++++++++ account_invoice_triple_discount/i18n/hu.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/id.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/it.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/ja.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/lt.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/mk.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/mn.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/nb.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/nb_NO.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/nl.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/nl_BE.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/nl_NL.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/pl.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/pt.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/pt_BR.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/pt_PT.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/ro.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/ru.po | 40 ++++++++++++ account_invoice_triple_discount/i18n/sk_SK.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/sl.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/sv.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/th.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/tr.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/tr_TR.po | 39 ++++++++++++ account_invoice_triple_discount/i18n/zh_CN.po | 40 ++++++++++++ account_invoice_triple_discount/i18n/zh_TW.po | 39 ++++++++++++ .../models/__init__.py | 2 +- .../models/account_invoice.py | 61 +++++++++++++++---- .../models/account_invoice_line.py | 38 ------------ .../tests/test_invoice_triple_discount.py | 5 +- 53 files changed, 1896 insertions(+), 53 deletions(-) create mode 100644 account_invoice_triple_discount/i18n/ar.po create mode 100644 account_invoice_triple_discount/i18n/bg.po create mode 100644 account_invoice_triple_discount/i18n/bs.po create mode 100644 account_invoice_triple_discount/i18n/ca.po create mode 100644 account_invoice_triple_discount/i18n/cs.po create mode 100644 account_invoice_triple_discount/i18n/de.po create mode 100644 account_invoice_triple_discount/i18n/el_GR.po create mode 100644 account_invoice_triple_discount/i18n/en_GB.po create mode 100644 account_invoice_triple_discount/i18n/es.po create mode 100644 account_invoice_triple_discount/i18n/es_CR.po create mode 100644 account_invoice_triple_discount/i18n/es_EC.po create mode 100644 account_invoice_triple_discount/i18n/es_ES.po create mode 100644 account_invoice_triple_discount/i18n/es_MX.po create mode 100644 account_invoice_triple_discount/i18n/et.po create mode 100644 account_invoice_triple_discount/i18n/fi.po create mode 100644 account_invoice_triple_discount/i18n/fr.po create mode 100644 account_invoice_triple_discount/i18n/fr_CA.po create mode 100644 account_invoice_triple_discount/i18n/fr_CH.po create mode 100644 account_invoice_triple_discount/i18n/gl.po create mode 100644 account_invoice_triple_discount/i18n/hr.po create mode 100644 account_invoice_triple_discount/i18n/hr_HR.po create mode 100644 account_invoice_triple_discount/i18n/hu.po create mode 100644 account_invoice_triple_discount/i18n/id.po create mode 100644 account_invoice_triple_discount/i18n/it.po create mode 100644 account_invoice_triple_discount/i18n/ja.po create mode 100644 account_invoice_triple_discount/i18n/lt.po create mode 100644 account_invoice_triple_discount/i18n/mk.po create mode 100644 account_invoice_triple_discount/i18n/mn.po create mode 100644 account_invoice_triple_discount/i18n/nb.po create mode 100644 account_invoice_triple_discount/i18n/nb_NO.po create mode 100644 account_invoice_triple_discount/i18n/nl.po create mode 100644 account_invoice_triple_discount/i18n/nl_BE.po create mode 100644 account_invoice_triple_discount/i18n/nl_NL.po create mode 100644 account_invoice_triple_discount/i18n/pl.po create mode 100644 account_invoice_triple_discount/i18n/pt.po create mode 100644 account_invoice_triple_discount/i18n/pt_BR.po create mode 100644 account_invoice_triple_discount/i18n/pt_PT.po create mode 100644 account_invoice_triple_discount/i18n/ro.po create mode 100644 account_invoice_triple_discount/i18n/ru.po create mode 100644 account_invoice_triple_discount/i18n/sk_SK.po create mode 100644 account_invoice_triple_discount/i18n/sl.po create mode 100644 account_invoice_triple_discount/i18n/sv.po create mode 100644 account_invoice_triple_discount/i18n/th.po create mode 100644 account_invoice_triple_discount/i18n/tr.po create mode 100644 account_invoice_triple_discount/i18n/tr_TR.po create mode 100644 account_invoice_triple_discount/i18n/zh_CN.po create mode 100644 account_invoice_triple_discount/i18n/zh_TW.po delete mode 100644 account_invoice_triple_discount/models/account_invoice_line.py diff --git a/account_invoice_triple_discount/README.rst b/account_invoice_triple_discount/README.rst index f68e2b9612b..e978517dabc 100644 --- a/account_invoice_triple_discount/README.rst +++ b/account_invoice_triple_discount/README.rst @@ -6,7 +6,7 @@ Account Invoice Triple Discount =============================== -This module allows to have three successive discounts on every invoice line. +This module allows to have three successive discounts on each invoice line. Usage ===== @@ -53,6 +53,7 @@ Contributors ------------ * David Vidal +* Pedro M. Baeza Maintainer ---------- diff --git a/account_invoice_triple_discount/__manifest__.py b/account_invoice_triple_discount/__manifest__.py index 8638b92db31..98ef79f5933 100644 --- a/account_invoice_triple_discount/__manifest__.py +++ b/account_invoice_triple_discount/__manifest__.py @@ -11,7 +11,7 @@ 'license': 'AGPL-3', 'summary': 'Manage triple discount on invoice lines', 'depends': [ - 'account' + 'account', ], 'data': [ 'views/account_invoice_view.xml', diff --git a/account_invoice_triple_discount/i18n/ar.po b/account_invoice_triple_discount/i18n/ar.po new file mode 100644 index 00000000000..0393e51c293 --- /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 00000000000..39b377663de --- /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 00000000000..ec35554abcc --- /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 00000000000..9331a41289b --- /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 00000000000..fa468c2388e --- /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 00000000000..c42bd166b9c --- /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 00000000000..668c4c3d336 --- /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 00000000000..10e1edfe0ab --- /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 00000000000..62d6bd64d61 --- /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 00000000000..734b03069f8 --- /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 00000000000..94bb7796c25 --- /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 00000000000..92bafb720e7 --- /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 00000000000..574403b1c0c --- /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 00000000000..10d28b04b79 --- /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 00000000000..bb7339d04a1 --- /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 00000000000..b39553a892c --- /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 00000000000..5c1bf3a345c --- /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 00000000000..71adfd75789 --- /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 00000000000..a988c557056 --- /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 00000000000..6d4beb9be9c --- /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 00000000000..eef989eb6df --- /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 00000000000..a5dbf4e115e --- /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 00000000000..6dd08e5450a --- /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 00000000000..b568f33112e --- /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 00000000000..45f5077e7ce --- /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 00000000000..c40e4445686 --- /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 00000000000..283d72db859 --- /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 00000000000..f6c1cb9c228 --- /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 00000000000..989e62f298e --- /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 00000000000..c181156fd22 --- /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 00000000000..ef4d6d33434 --- /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 00000000000..f965b10b703 --- /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 00000000000..75339fdc0ff --- /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 00000000000..eac002d967b --- /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 00000000000..bb99a5f5ec7 --- /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 00000000000..1ef6170a894 --- /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 00000000000..f273db935f2 --- /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 00000000000..27cec5d3a4e --- /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 00000000000..2afde60b2ea --- /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 00000000000..580ef591c34 --- /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 00000000000..f5d3d8f1823 --- /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 00000000000..faaed224a1a --- /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 00000000000..aaeae563ba9 --- /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 00000000000..6127adf0b73 --- /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 00000000000..f15e7f98baf --- /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 00000000000..879e5e3cf7d --- /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 00000000000..e0b9f062cad --- /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 index ad9a7687892..009711ad3d3 100644 --- a/account_invoice_triple_discount/models/__init__.py +++ b/account_invoice_triple_discount/models/__init__.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import account_invoice -from . import account_invoice_line diff --git a/account_invoice_triple_discount/models/account_invoice.py b/account_invoice_triple_discount/models/account_invoice.py index c8342a3d426..2036799a666 100644 --- a/account_invoice_triple_discount/models/account_invoice.py +++ b/account_invoice_triple_discount/models/account_invoice.py @@ -1,25 +1,64 @@ # -*- coding: utf-8 -*- # 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 models +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): - prices = {} - discount = {} + vals = {} for line in self.invoice_line_ids: - prices[line.id] = line.price_unit - discount[line.id] = line.discount - line.price_unit *= (1 - (line.discount or 0.0) / 100.0) - line.price_unit *= (1 - (line.discount2 or 0.0) / 100.0) - line.price_unit *= (1 - (line.discount3 or 0.0) / 100.0) - line['discount'] = 0.0 + 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['price_unit'] = prices[line.id] - line['discount'] = discount[line.id] + 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/models/account_invoice_line.py b/account_invoice_triple_discount/models/account_invoice_line.py deleted file mode 100644 index 57844afad21..00000000000 --- a/account_invoice_triple_discount/models/account_invoice_line.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2017 Tecnativa - David Vidal -# 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 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('price_unit', 'discount', 'discount2', 'discount3', - 'invoice_line_tax_ids', 'quantity', 'product_id', - 'invoice_id.partner_id', 'invoice_id.currency_id', - 'invoice_id.company_id', 'invoice_id.date_invoice') - def _compute_price(self): - for line in self: - price = line.price_unit - discount = line.discount - line.price_unit *= (1 - (line.discount or 0.0) / 100.0) - line.price_unit *= (1 - (line.discount2 or 0.0) / 100.0) - line.price_unit *= (1 - (line.discount3 or 0.0) / 100.0) - line['discount'] = 0.0 - super(AccountInvoiceLine, line)._compute_price() - line['price_unit'] = price - line['discount'] = 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 index 22988b0a265..791beb50646 100644 --- a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py +++ b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py @@ -41,8 +41,8 @@ def setUpClass(cls): 'price_unit': 200.0, 'account_id': cls.account.id, 'invoice_line_tax_ids': [(6, 0, [cls.tax.id])], + 'quantity': 1, }) - cls.invoice._onchange_invoice_line_ids() def test_01_discounts(self): """ Tests multiple discounts in line with taxes """ @@ -74,9 +74,12 @@ def test_02_discounts_multiple_lines(self): '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() From 5ae60bec70595e3c41cd260cbc0e497de81e3dd1 Mon Sep 17 00:00:00 2001 From: xavierjimenez Date: Wed, 4 Apr 2018 17:32:58 +0200 Subject: [PATCH 03/21] account_invoice_triple_discount --- account_invoice_triple_discount/README.rst | 2 +- account_invoice_triple_discount/__init__.py | 1 - .../__manifest__.py | 9 ++--- .../i18n/account_invoice_triple_discount.pot | 35 +++++++++++++++++++ account_invoice_triple_discount/i18n/ar.po | 7 ++-- account_invoice_triple_discount/i18n/bg.po | 4 +-- account_invoice_triple_discount/i18n/bs.po | 7 ++-- account_invoice_triple_discount/i18n/ca.po | 4 +-- account_invoice_triple_discount/i18n/cs.po | 4 +-- account_invoice_triple_discount/i18n/de.po | 4 +-- account_invoice_triple_discount/i18n/el_GR.po | 7 ++-- account_invoice_triple_discount/i18n/en_GB.po | 7 ++-- account_invoice_triple_discount/i18n/es.po | 4 +-- account_invoice_triple_discount/i18n/es_CR.po | 7 ++-- account_invoice_triple_discount/i18n/es_EC.po | 7 ++-- account_invoice_triple_discount/i18n/es_ES.po | 7 ++-- account_invoice_triple_discount/i18n/es_MX.po | 7 ++-- account_invoice_triple_discount/i18n/et.po | 4 +-- account_invoice_triple_discount/i18n/fi.po | 4 +-- account_invoice_triple_discount/i18n/fr.po | 4 +-- account_invoice_triple_discount/i18n/fr_CA.po | 7 ++-- account_invoice_triple_discount/i18n/fr_CH.po | 7 ++-- account_invoice_triple_discount/i18n/gl.po | 4 +-- account_invoice_triple_discount/i18n/hr.po | 7 ++-- account_invoice_triple_discount/i18n/hr_HR.po | 10 +++--- account_invoice_triple_discount/i18n/hu.po | 4 +-- account_invoice_triple_discount/i18n/id.po | 4 +-- account_invoice_triple_discount/i18n/it.po | 4 +-- account_invoice_triple_discount/i18n/ja.po | 4 +-- account_invoice_triple_discount/i18n/lt.po | 7 ++-- account_invoice_triple_discount/i18n/mk.po | 4 +-- account_invoice_triple_discount/i18n/mn.po | 4 +-- account_invoice_triple_discount/i18n/nb.po | 7 ++-- account_invoice_triple_discount/i18n/nb_NO.po | 7 ++-- account_invoice_triple_discount/i18n/nl.po | 4 +-- account_invoice_triple_discount/i18n/nl_BE.po | 7 ++-- account_invoice_triple_discount/i18n/nl_NL.po | 7 ++-- account_invoice_triple_discount/i18n/pl.po | 8 +++-- account_invoice_triple_discount/i18n/pt.po | 4 +-- account_invoice_triple_discount/i18n/pt_BR.po | 7 ++-- account_invoice_triple_discount/i18n/pt_PT.po | 7 ++-- account_invoice_triple_discount/i18n/ro.po | 7 ++-- account_invoice_triple_discount/i18n/ru.po | 8 +++-- account_invoice_triple_discount/i18n/sk_SK.po | 7 ++-- account_invoice_triple_discount/i18n/sl.po | 7 ++-- account_invoice_triple_discount/i18n/sv.po | 4 +-- account_invoice_triple_discount/i18n/th.po | 4 +-- account_invoice_triple_discount/i18n/tr.po | 4 +-- account_invoice_triple_discount/i18n/tr_TR.po | 7 ++-- account_invoice_triple_discount/i18n/zh_CN.po | 7 ++-- account_invoice_triple_discount/i18n/zh_TW.po | 7 ++-- .../models/__init__.py | 1 - .../models/account_invoice.py | 1 - .../tests/__init__.py | 1 - .../tests/test_invoice_triple_discount.py | 1 - 55 files changed, 193 insertions(+), 132 deletions(-) create mode 100644 account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot diff --git a/account_invoice_triple_discount/README.rst b/account_invoice_triple_discount/README.rst index e978517dabc..8e6cbf7e7f3 100644 --- a/account_invoice_triple_discount/README.rst +++ b/account_invoice_triple_discount/README.rst @@ -31,7 +31,7 @@ Unit price: 600.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 + :target: https://runbot.odoo-community.org/runbot/95/11.0 Bug Tracker =========== diff --git a/account_invoice_triple_discount/__init__.py b/account_invoice_triple_discount/__init__.py index cde864bae21..a9e3372262c 100644 --- a/account_invoice_triple_discount/__init__.py +++ b/account_invoice_triple_discount/__init__.py @@ -1,3 +1,2 @@ -# -*- coding: utf-8 -*- from . import models diff --git a/account_invoice_triple_discount/__manifest__.py b/account_invoice_triple_discount/__manifest__.py index 98ef79f5933..df725275e7d 100644 --- a/account_invoice_triple_discount/__manifest__.py +++ b/account_invoice_triple_discount/__manifest__.py @@ -1,13 +1,14 @@ -# -*- coding: utf-8 -*- +# 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': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'category': 'Accounting & Finance', - 'author': 'Tecnativa, ' + 'author': 'QubiQ,' + 'Tecnativa,' 'Odoo Community Association (OCA)', - 'website': 'https://tecnativa.com', + 'website': 'https://odoo-community.org', 'license': 'AGPL-3', 'summary': 'Manage triple discount on invoice lines', 'depends': [ diff --git a/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot b/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot new file mode 100644 index 00000000000..0c49328f1da --- /dev/null +++ b/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_triple_discount +# +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: 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/ar.po b/account_invoice_triple_discount/i18n/ar.po index 0393e51c293..4aff782de47 100644 --- a/account_invoice_triple_discount/i18n/ar.po +++ b/account_invoice_triple_discount/i18n/ar.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "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" +"Language: 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" +"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 diff --git a/account_invoice_triple_discount/i18n/bg.po b/account_invoice_triple_discount/i18n/bg.po index 39b377663de..eecf87ece90 100644 --- a/account_invoice_triple_discount/i18n/bg.po +++ b/account_invoice_triple_discount/i18n/bg.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/bs.po b/account_invoice_triple_discount/i18n/bs.po index ec35554abcc..fdec2ee8d6e 100644 --- a/account_invoice_triple_discount/i18n/bs.po +++ b/account_invoice_triple_discount/i18n/bs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "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" +"Language: 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" +"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 diff --git a/account_invoice_triple_discount/i18n/ca.po b/account_invoice_triple_discount/i18n/ca.po index 9331a41289b..0afde675bf0 100644 --- a/account_invoice_triple_discount/i18n/ca.po +++ b/account_invoice_triple_discount/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/cs.po b/account_invoice_triple_discount/i18n/cs.po index fa468c2388e..71f488e1578 100644 --- a/account_invoice_triple_discount/i18n/cs.po +++ b/account_invoice_triple_discount/i18n/cs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/de.po b/account_invoice_triple_discount/i18n/de.po index c42bd166b9c..b8078bdc072 100644 --- a/account_invoice_triple_discount/i18n/de.po +++ b/account_invoice_triple_discount/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/el_GR.po b/account_invoice_triple_discount/i18n/el_GR.po index 668c4c3d336..4c07b583ba6 100644 --- a/account_invoice_triple_discount/i18n/el_GR.po +++ b/account_invoice_triple_discount/i18n/el_GR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"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" -"Language: el_GR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_triple_discount diff --git a/account_invoice_triple_discount/i18n/en_GB.po b/account_invoice_triple_discount/i18n/en_GB.po index 10e1edfe0ab..047c0b4d716 100644 --- a/account_invoice_triple_discount/i18n/en_GB.po +++ b/account_invoice_triple_discount/i18n/en_GB.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/" +"teams/23907/en_GB/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/es.po b/account_invoice_triple_discount/i18n/es.po index 62d6bd64d61..25482d4e972 100644 --- a/account_invoice_triple_discount/i18n/es.po +++ b/account_invoice_triple_discount/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/es_CR.po b/account_invoice_triple_discount/i18n/es_CR.po index 734b03069f8..1ff74987120 100644 --- a/account_invoice_triple_discount/i18n/es_CR.po +++ b/account_invoice_triple_discount/i18n/es_CR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/" +"teams/23907/es_CR/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/es_EC.po b/account_invoice_triple_discount/i18n/es_EC.po index 94bb7796c25..32fe366bb5f 100644 --- a/account_invoice_triple_discount/i18n/es_EC.po +++ b/account_invoice_triple_discount/i18n/es_EC.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/" +"es_EC/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/es_ES.po b/account_invoice_triple_discount/i18n/es_ES.po index 92bafb720e7..e19c613c620 100644 --- a/account_invoice_triple_discount/i18n/es_ES.po +++ b/account_invoice_triple_discount/i18n/es_ES.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # Fernando Lara , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/" +"es_ES/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/es_MX.po b/account_invoice_triple_discount/i18n/es_MX.po index 574403b1c0c..0adab5111a9 100644 --- a/account_invoice_triple_discount/i18n/es_MX.po +++ b/account_invoice_triple_discount/i18n/es_MX.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"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" -"Language: es_MX\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_triple_discount diff --git a/account_invoice_triple_discount/i18n/et.po b/account_invoice_triple_discount/i18n/et.po index 10d28b04b79..cc6303899d3 100644 --- a/account_invoice_triple_discount/i18n/et.po +++ b/account_invoice_triple_discount/i18n/et.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/fi.po b/account_invoice_triple_discount/i18n/fi.po index bb7339d04a1..50368f970de 100644 --- a/account_invoice_triple_discount/i18n/fi.po +++ b/account_invoice_triple_discount/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/fr.po b/account_invoice_triple_discount/i18n/fr.po index b39553a892c..dfb33169503 100644 --- a/account_invoice_triple_discount/i18n/fr.po +++ b/account_invoice_triple_discount/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 # Quentin THEURET , 2017 @@ -13,10 +13,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/fr_CA.po b/account_invoice_triple_discount/i18n/fr_CA.po index 5c1bf3a345c..db8bdc8fb77 100644 --- a/account_invoice_triple_discount/i18n/fr_CA.po +++ b/account_invoice_triple_discount/i18n/fr_CA.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/" +"fr_CA/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/fr_CH.po b/account_invoice_triple_discount/i18n/fr_CH.po index 71adfd75789..f2c50ab5c43 100644 --- a/account_invoice_triple_discount/i18n/fr_CH.po +++ b/account_invoice_triple_discount/i18n/fr_CH.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/" +"teams/23907/fr_CH/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/gl.po b/account_invoice_triple_discount/i18n/gl.po index a988c557056..69baa90c186 100644 --- a/account_invoice_triple_discount/i18n/gl.po +++ b/account_invoice_triple_discount/i18n/gl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/hr.po b/account_invoice_triple_discount/i18n/hr.po index 6d4beb9be9c..fd179da28e4 100644 --- a/account_invoice_triple_discount/i18n/hr.po +++ b/account_invoice_triple_discount/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 # Bole , 2018 @@ -13,11 +13,12 @@ msgstr "" "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" +"Language: 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" +"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 diff --git a/account_invoice_triple_discount/i18n/hr_HR.po b/account_invoice_triple_discount/i18n/hr_HR.po index eef989eb6df..35e3df8915b 100644 --- a/account_invoice_triple_discount/i18n/hr_HR.po +++ b/account_invoice_triple_discount/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 # Bole , 2017 @@ -12,12 +12,14 @@ msgstr "" "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" +"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" -"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" +"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 diff --git a/account_invoice_triple_discount/i18n/hu.po b/account_invoice_triple_discount/i18n/hu.po index a5dbf4e115e..5b6bee84886 100644 --- a/account_invoice_triple_discount/i18n/hu.po +++ b/account_invoice_triple_discount/i18n/hu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/id.po b/account_invoice_triple_discount/i18n/id.po index 6dd08e5450a..630e386392e 100644 --- a/account_invoice_triple_discount/i18n/id.po +++ b/account_invoice_triple_discount/i18n/id.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/it.po b/account_invoice_triple_discount/i18n/it.po index b568f33112e..82125d6362f 100644 --- a/account_invoice_triple_discount/i18n/it.po +++ b/account_invoice_triple_discount/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/ja.po b/account_invoice_triple_discount/i18n/ja.po index 45f5077e7ce..a4429a077e4 100644 --- a/account_invoice_triple_discount/i18n/ja.po +++ b/account_invoice_triple_discount/i18n/ja.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/lt.po b/account_invoice_triple_discount/i18n/lt.po index c40e4445686..3f3a8d556e0 100644 --- a/account_invoice_triple_discount/i18n/lt.po +++ b/account_invoice_triple_discount/i18n/lt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "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" +"Language: 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" +"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 diff --git a/account_invoice_triple_discount/i18n/mk.po b/account_invoice_triple_discount/i18n/mk.po index 283d72db859..f5e5e3366e8 100644 --- a/account_invoice_triple_discount/i18n/mk.po +++ b/account_invoice_triple_discount/i18n/mk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/mn.po b/account_invoice_triple_discount/i18n/mn.po index f6c1cb9c228..4824dc9d177 100644 --- a/account_invoice_triple_discount/i18n/mn.po +++ b/account_invoice_triple_discount/i18n/mn.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/nb.po b/account_invoice_triple_discount/i18n/nb.po index 989e62f298e..cfa99cfd92c 100644 --- a/account_invoice_triple_discount/i18n/nb.po +++ b/account_invoice_triple_discount/i18n/nb.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/" +"nb/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/nb_NO.po b/account_invoice_triple_discount/i18n/nb_NO.po index c181156fd22..b211aa44442 100644 --- a/account_invoice_triple_discount/i18n/nb_NO.po +++ b/account_invoice_triple_discount/i18n/nb_NO.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/" +"teams/23907/nb_NO/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/nl.po b/account_invoice_triple_discount/i18n/nl.po index ef4d6d33434..b97c5c1a7ad 100644 --- a/account_invoice_triple_discount/i18n/nl.po +++ b/account_invoice_triple_discount/i18n/nl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/nl_BE.po b/account_invoice_triple_discount/i18n/nl_BE.po index f965b10b703..ea7b9059406 100644 --- a/account_invoice_triple_discount/i18n/nl_BE.po +++ b/account_invoice_triple_discount/i18n/nl_BE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/" +"nl_BE/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/nl_NL.po b/account_invoice_triple_discount/i18n/nl_NL.po index 75339fdc0ff..94748bfee97 100644 --- a/account_invoice_triple_discount/i18n/nl_NL.po +++ b/account_invoice_triple_discount/i18n/nl_NL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # Peter Hageman , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/pl.po b/account_invoice_triple_discount/i18n/pl.po index eac002d967b..26d9b16fefd 100644 --- a/account_invoice_triple_discount/i18n/pl.po +++ b/account_invoice_triple_discount/i18n/pl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,13 @@ msgstr "" "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" +"Language: 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" +"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 diff --git a/account_invoice_triple_discount/i18n/pt.po b/account_invoice_triple_discount/i18n/pt.po index bb99a5f5ec7..a90d3580d3b 100644 --- a/account_invoice_triple_discount/i18n/pt.po +++ b/account_invoice_triple_discount/i18n/pt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/pt_BR.po b/account_invoice_triple_discount/i18n/pt_BR.po index 1ef6170a894..e3e50158525 100644 --- a/account_invoice_triple_discount/i18n/pt_BR.po +++ b/account_invoice_triple_discount/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"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" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_triple_discount diff --git a/account_invoice_triple_discount/i18n/pt_PT.po b/account_invoice_triple_discount/i18n/pt_PT.po index f273db935f2..629e87ef46c 100644 --- a/account_invoice_triple_discount/i18n/pt_PT.po +++ b/account_invoice_triple_discount/i18n/pt_PT.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"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" -"Language: pt_PT\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_triple_discount diff --git a/account_invoice_triple_discount/i18n/ro.po b/account_invoice_triple_discount/i18n/ro.po index 27cec5d3a4e..4c62c02a6d3 100644 --- a/account_invoice_triple_discount/i18n/ro.po +++ b/account_invoice_triple_discount/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "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" +"Language: 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" +"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 diff --git a/account_invoice_triple_discount/i18n/ru.po b/account_invoice_triple_discount/i18n/ru.po index 2afde60b2ea..bfefec60888 100644 --- a/account_invoice_triple_discount/i18n/ru.po +++ b/account_invoice_triple_discount/i18n/ru.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 # nek, 2018 @@ -13,11 +13,13 @@ msgstr "" "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" +"Language: 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" +"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 diff --git a/account_invoice_triple_discount/i18n/sk_SK.po b/account_invoice_triple_discount/i18n/sk_SK.po index 580ef591c34..7c7a4e7b130 100644 --- a/account_invoice_triple_discount/i18n/sk_SK.po +++ b/account_invoice_triple_discount/i18n/sk_SK.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"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" -"Language: sk_SK\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: account_invoice_triple_discount diff --git a/account_invoice_triple_discount/i18n/sl.po b/account_invoice_triple_discount/i18n/sl.po index f5d3d8f1823..8ee552cc178 100644 --- a/account_invoice_triple_discount/i18n/sl.po +++ b/account_invoice_triple_discount/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "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" +"Language: 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" +"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 diff --git a/account_invoice_triple_discount/i18n/sv.po b/account_invoice_triple_discount/i18n/sv.po index faaed224a1a..b9d51ea0c82 100644 --- a/account_invoice_triple_discount/i18n/sv.po +++ b/account_invoice_triple_discount/i18n/sv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/th.po b/account_invoice_triple_discount/i18n/th.po index aaeae563ba9..3878908cbaa 100644 --- a/account_invoice_triple_discount/i18n/th.po +++ b/account_invoice_triple_discount/i18n/th.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/tr.po b/account_invoice_triple_discount/i18n/tr.po index 6127adf0b73..e23cffaaacc 100644 --- a/account_invoice_triple_discount/i18n/tr.po +++ b/account_invoice_triple_discount/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "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" +"Language: 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 diff --git a/account_invoice_triple_discount/i18n/tr_TR.po b/account_invoice_triple_discount/i18n/tr_TR.po index f15e7f98baf..2465c6c6d13 100644 --- a/account_invoice_triple_discount/i18n/tr_TR.po +++ b/account_invoice_triple_discount/i18n/tr_TR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"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" -"Language: tr_TR\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_triple_discount diff --git a/account_invoice_triple_discount/i18n/zh_CN.po b/account_invoice_triple_discount/i18n/zh_CN.po index 879e5e3cf7d..a2cca8f18c9 100644 --- a/account_invoice_triple_discount/i18n/zh_CN.po +++ b/account_invoice_triple_discount/i18n/zh_CN.po @@ -1,7 +1,7 @@ # 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 @@ -12,11 +12,12 @@ msgstr "" "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" +"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" -"Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_triple_discount diff --git a/account_invoice_triple_discount/i18n/zh_TW.po b/account_invoice_triple_discount/i18n/zh_TW.po index e0b9f062cad..c503d75db50 100644 --- a/account_invoice_triple_discount/i18n/zh_TW.po +++ b/account_invoice_triple_discount/i18n/zh_TW.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_triple_discount -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "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" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/" +"zh_TW/)\n" +"Language: 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 diff --git a/account_invoice_triple_discount/models/__init__.py b/account_invoice_triple_discount/models/__init__.py index 009711ad3d3..6834786a795 100644 --- a/account_invoice_triple_discount/models/__init__.py +++ b/account_invoice_triple_discount/models/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # 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 index 2036799a666..9e0c1f1aa45 100644 --- a/account_invoice_triple_discount/models/account_invoice.py +++ b/account_invoice_triple_discount/models/account_invoice.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 Tecnativa - David Vidal # Copyright 2017 Tecnativa - Pedro M. Baeza # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/account_invoice_triple_discount/tests/__init__.py b/account_invoice_triple_discount/tests/__init__.py index 4835fbdce15..e73e9b0f196 100644 --- a/account_invoice_triple_discount/tests/__init__.py +++ b/account_invoice_triple_discount/tests/__init__.py @@ -1,3 +1,2 @@ -# -*- coding: utf-8 -*- 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 index 791beb50646..7099a710f87 100644 --- a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py +++ b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 Tecnativa - David Vidal # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). From ffce777389a2e592578eb031f24618072b822306 Mon Sep 17 00:00:00 2001 From: Rudolf Schnapka Date: Thu, 11 Oct 2018 11:45:01 +0000 Subject: [PATCH 04/21] Translated using Weblate (German) Currently translated at 100,0% (4 of 4 strings) Translation: account-invoicing-11.0/account-invoicing-11.0-account_invoice_triple_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-11-0/account-invoicing-11-0-account_invoice_triple_discount/de/ --- account_invoice_triple_discount/i18n/de.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/account_invoice_triple_discount/i18n/de.po b/account_invoice_triple_discount/i18n/de.po index b8078bdc072..7e7c5904aa0 100644 --- a/account_invoice_triple_discount/i18n/de.po +++ b/account_invoice_triple_discount/i18n/de.po @@ -9,24 +9,25 @@ 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" +"PO-Revision-Date: 2018-10-11 11:45+0000\n" +"Last-Translator: Rudolf Schnapka \n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.1.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 "" +msgstr "2. Rabatt (%)" #. module: account_invoice_triple_discount #: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 msgid "Discount 3 (%)" -msgstr "" +msgstr "3. Rabatt (%)" #. module: account_invoice_triple_discount #: model:ir.model,name:account_invoice_triple_discount.model_account_invoice From 37ec2909f8220bc08fa380c5a51f58147558c1c6 Mon Sep 17 00:00:00 2001 From: Nikul-Chaudhary Date: Sun, 27 Jan 2019 18:52:49 +0530 Subject: [PATCH 05/21] [MIG] account_invoice_triple_discount v11 to v12 --- account_invoice_triple_discount/README.rst | 1 + account_invoice_triple_discount/__manifest__.py | 4 ++-- account_invoice_triple_discount/models/account_invoice.py | 2 -- account_invoice_triple_discount/tests/__init__.py | 1 + .../views/account_invoice_view.xml | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/account_invoice_triple_discount/README.rst b/account_invoice_triple_discount/README.rst index 8e6cbf7e7f3..983729f5d26 100644 --- a/account_invoice_triple_discount/README.rst +++ b/account_invoice_triple_discount/README.rst @@ -54,6 +54,7 @@ Contributors * David Vidal * Pedro M. Baeza +* Nikul Chaudhary Maintainer ---------- diff --git a/account_invoice_triple_discount/__manifest__.py b/account_invoice_triple_discount/__manifest__.py index df725275e7d..42477a56069 100644 --- a/account_invoice_triple_discount/__manifest__.py +++ b/account_invoice_triple_discount/__manifest__.py @@ -3,12 +3,12 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Account Invoice Triple Discount', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'category': 'Accounting & Finance', 'author': 'QubiQ,' 'Tecnativa,' 'Odoo Community Association (OCA)', - 'website': 'https://odoo-community.org', + 'website': 'https://github.com/OCA/account-invoicing', 'license': 'AGPL-3', 'summary': 'Manage triple discount on invoice lines', 'depends': [ diff --git a/account_invoice_triple_discount/models/account_invoice.py b/account_invoice_triple_discount/models/account_invoice.py index 9e0c1f1aa45..ad310130c88 100644 --- a/account_invoice_triple_discount/models/account_invoice.py +++ b/account_invoice_triple_discount/models/account_invoice.py @@ -35,12 +35,10 @@ class AccountInvoiceLine(models.Model): 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 diff --git a/account_invoice_triple_discount/tests/__init__.py b/account_invoice_triple_discount/tests/__init__.py index e73e9b0f196..354de278b79 100644 --- a/account_invoice_triple_discount/tests/__init__.py +++ b/account_invoice_triple_discount/tests/__init__.py @@ -1,2 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_invoice_triple_discount diff --git a/account_invoice_triple_discount/views/account_invoice_view.xml b/account_invoice_triple_discount/views/account_invoice_view.xml index 399e485e7cc..c85806edfcd 100755 --- a/account_invoice_triple_discount/views/account_invoice_view.xml +++ b/account_invoice_triple_discount/views/account_invoice_view.xml @@ -33,10 +33,10 @@ account.invoice.line - - - - + + + + From d799b50b7314e9d78a98ebaa2af4a6002c531cd1 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Mon, 28 Jan 2019 09:20:45 +0000 Subject: [PATCH 06/21] [UPD] Update account_invoice_triple_discount.pot --- .../i18n/account_invoice_triple_discount.pot | 6 +++--- account_invoice_triple_discount/i18n/ar.po | 4 ++-- account_invoice_triple_discount/i18n/bg.po | 4 ++-- account_invoice_triple_discount/i18n/bs.po | 4 ++-- account_invoice_triple_discount/i18n/ca.po | 4 ++-- account_invoice_triple_discount/i18n/cs.po | 4 ++-- account_invoice_triple_discount/i18n/de.po | 4 ++-- account_invoice_triple_discount/i18n/el_GR.po | 4 ++-- account_invoice_triple_discount/i18n/en_GB.po | 4 ++-- account_invoice_triple_discount/i18n/es.po | 4 ++-- account_invoice_triple_discount/i18n/es_CR.po | 4 ++-- account_invoice_triple_discount/i18n/es_EC.po | 4 ++-- account_invoice_triple_discount/i18n/es_ES.po | 4 ++-- account_invoice_triple_discount/i18n/es_MX.po | 4 ++-- account_invoice_triple_discount/i18n/et.po | 4 ++-- account_invoice_triple_discount/i18n/fi.po | 4 ++-- account_invoice_triple_discount/i18n/fr.po | 4 ++-- account_invoice_triple_discount/i18n/fr_CA.po | 4 ++-- account_invoice_triple_discount/i18n/fr_CH.po | 4 ++-- account_invoice_triple_discount/i18n/gl.po | 4 ++-- account_invoice_triple_discount/i18n/hr.po | 4 ++-- account_invoice_triple_discount/i18n/hr_HR.po | 4 ++-- account_invoice_triple_discount/i18n/hu.po | 4 ++-- account_invoice_triple_discount/i18n/id.po | 4 ++-- account_invoice_triple_discount/i18n/it.po | 4 ++-- account_invoice_triple_discount/i18n/ja.po | 4 ++-- account_invoice_triple_discount/i18n/lt.po | 4 ++-- account_invoice_triple_discount/i18n/mk.po | 4 ++-- account_invoice_triple_discount/i18n/mn.po | 4 ++-- account_invoice_triple_discount/i18n/nb.po | 4 ++-- account_invoice_triple_discount/i18n/nb_NO.po | 4 ++-- account_invoice_triple_discount/i18n/nl.po | 4 ++-- account_invoice_triple_discount/i18n/nl_BE.po | 4 ++-- account_invoice_triple_discount/i18n/nl_NL.po | 4 ++-- account_invoice_triple_discount/i18n/pl.po | 4 ++-- account_invoice_triple_discount/i18n/pt.po | 4 ++-- account_invoice_triple_discount/i18n/pt_BR.po | 4 ++-- account_invoice_triple_discount/i18n/pt_PT.po | 4 ++-- account_invoice_triple_discount/i18n/ro.po | 4 ++-- account_invoice_triple_discount/i18n/ru.po | 4 ++-- account_invoice_triple_discount/i18n/sk_SK.po | 4 ++-- account_invoice_triple_discount/i18n/sl.po | 4 ++-- account_invoice_triple_discount/i18n/sv.po | 4 ++-- account_invoice_triple_discount/i18n/th.po | 4 ++-- account_invoice_triple_discount/i18n/tr.po | 4 ++-- account_invoice_triple_discount/i18n/tr_TR.po | 4 ++-- account_invoice_triple_discount/i18n/zh_CN.po | 4 ++-- account_invoice_triple_discount/i18n/zh_TW.po | 4 ++-- 48 files changed, 97 insertions(+), 97 deletions(-) diff --git a/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot b/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot index 0c49328f1da..4645a2810d3 100644 --- a/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot +++ b/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -14,12 +14,12 @@ msgstr "" "Plural-Forms: \n" #. module: account_invoice_triple_discount -#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/ar.po b/account_invoice_triple_discount/i18n/ar.po index 4aff782de47..49e1d7ed984 100644 --- a/account_invoice_triple_discount/i18n/ar.po +++ b/account_invoice_triple_discount/i18n/ar.po @@ -20,12 +20,12 @@ msgstr "" "&& 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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/bg.po b/account_invoice_triple_discount/i18n/bg.po index eecf87ece90..3eb800de946 100644 --- a/account_invoice_triple_discount/i18n/bg.po +++ b/account_invoice_triple_discount/i18n/bg.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/bs.po b/account_invoice_triple_discount/i18n/bs.po index fdec2ee8d6e..2a1bb958e92 100644 --- a/account_invoice_triple_discount/i18n/bs.po +++ b/account_invoice_triple_discount/i18n/bs.po @@ -20,12 +20,12 @@ msgstr "" "%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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/ca.po b/account_invoice_triple_discount/i18n/ca.po index 0afde675bf0..17669472198 100644 --- a/account_invoice_triple_discount/i18n/ca.po +++ b/account_invoice_triple_discount/i18n/ca.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/cs.po b/account_invoice_triple_discount/i18n/cs.po index 71f488e1578..5f1dcc1f9ac 100644 --- a/account_invoice_triple_discount/i18n/cs.po +++ b/account_invoice_triple_discount/i18n/cs.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/de.po b/account_invoice_triple_discount/i18n/de.po index 7e7c5904aa0..08d829d5b65 100644 --- a/account_invoice_triple_discount/i18n/de.po +++ b/account_invoice_triple_discount/i18n/de.po @@ -20,12 +20,12 @@ msgstr "" "X-Generator: Weblate 3.1.1\n" #. module: account_invoice_triple_discount -#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount2 msgid "Discount 2 (%)" msgstr "2. Rabatt (%)" #. module: account_invoice_triple_discount -#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount3 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "3. Rabatt (%)" diff --git a/account_invoice_triple_discount/i18n/el_GR.po b/account_invoice_triple_discount/i18n/el_GR.po index 4c07b583ba6..cc615cb89f4 100644 --- a/account_invoice_triple_discount/i18n/el_GR.po +++ b/account_invoice_triple_discount/i18n/el_GR.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/en_GB.po b/account_invoice_triple_discount/i18n/en_GB.po index 047c0b4d716..a9048b0db73 100644 --- a/account_invoice_triple_discount/i18n/en_GB.po +++ b/account_invoice_triple_discount/i18n/en_GB.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/es.po b/account_invoice_triple_discount/i18n/es.po index 25482d4e972..72511af4a53 100644 --- a/account_invoice_triple_discount/i18n/es.po +++ b/account_invoice_triple_discount/i18n/es.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/es_CR.po b/account_invoice_triple_discount/i18n/es_CR.po index 1ff74987120..d5fcddfcaff 100644 --- a/account_invoice_triple_discount/i18n/es_CR.po +++ b/account_invoice_triple_discount/i18n/es_CR.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/es_EC.po b/account_invoice_triple_discount/i18n/es_EC.po index 32fe366bb5f..040f805c02d 100644 --- a/account_invoice_triple_discount/i18n/es_EC.po +++ b/account_invoice_triple_discount/i18n/es_EC.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/es_ES.po b/account_invoice_triple_discount/i18n/es_ES.po index e19c613c620..62eebb83972 100644 --- a/account_invoice_triple_discount/i18n/es_ES.po +++ b/account_invoice_triple_discount/i18n/es_ES.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/es_MX.po b/account_invoice_triple_discount/i18n/es_MX.po index 0adab5111a9..dff46d36a3b 100644 --- a/account_invoice_triple_discount/i18n/es_MX.po +++ b/account_invoice_triple_discount/i18n/es_MX.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/et.po b/account_invoice_triple_discount/i18n/et.po index cc6303899d3..6d548814ff1 100644 --- a/account_invoice_triple_discount/i18n/et.po +++ b/account_invoice_triple_discount/i18n/et.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/fi.po b/account_invoice_triple_discount/i18n/fi.po index 50368f970de..b585ad5c1b8 100644 --- a/account_invoice_triple_discount/i18n/fi.po +++ b/account_invoice_triple_discount/i18n/fi.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/fr.po b/account_invoice_triple_discount/i18n/fr.po index dfb33169503..346e35ff769 100644 --- a/account_invoice_triple_discount/i18n/fr.po +++ b/account_invoice_triple_discount/i18n/fr.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "Remise 3 (%)" diff --git a/account_invoice_triple_discount/i18n/fr_CA.po b/account_invoice_triple_discount/i18n/fr_CA.po index db8bdc8fb77..817dd01d8e1 100644 --- a/account_invoice_triple_discount/i18n/fr_CA.po +++ b/account_invoice_triple_discount/i18n/fr_CA.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/fr_CH.po b/account_invoice_triple_discount/i18n/fr_CH.po index f2c50ab5c43..6abc9457e05 100644 --- a/account_invoice_triple_discount/i18n/fr_CH.po +++ b/account_invoice_triple_discount/i18n/fr_CH.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/gl.po b/account_invoice_triple_discount/i18n/gl.po index 69baa90c186..ac779bdb71d 100644 --- a/account_invoice_triple_discount/i18n/gl.po +++ b/account_invoice_triple_discount/i18n/gl.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/hr.po b/account_invoice_triple_discount/i18n/hr.po index fd179da28e4..ee59fbc196d 100644 --- a/account_invoice_triple_discount/i18n/hr.po +++ b/account_invoice_triple_discount/i18n/hr.po @@ -21,12 +21,12 @@ msgstr "" "%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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "Popust 3 (%)" diff --git a/account_invoice_triple_discount/i18n/hr_HR.po b/account_invoice_triple_discount/i18n/hr_HR.po index 35e3df8915b..23545f960e3 100644 --- a/account_invoice_triple_discount/i18n/hr_HR.po +++ b/account_invoice_triple_discount/i18n/hr_HR.po @@ -22,12 +22,12 @@ msgstr "" "%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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "Popust 3 (%)" diff --git a/account_invoice_triple_discount/i18n/hu.po b/account_invoice_triple_discount/i18n/hu.po index 5b6bee84886..147b210b2cb 100644 --- a/account_invoice_triple_discount/i18n/hu.po +++ b/account_invoice_triple_discount/i18n/hu.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/id.po b/account_invoice_triple_discount/i18n/id.po index 630e386392e..051cd6ad4f0 100644 --- a/account_invoice_triple_discount/i18n/id.po +++ b/account_invoice_triple_discount/i18n/id.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/it.po b/account_invoice_triple_discount/i18n/it.po index 82125d6362f..94b33a107f4 100644 --- a/account_invoice_triple_discount/i18n/it.po +++ b/account_invoice_triple_discount/i18n/it.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/ja.po b/account_invoice_triple_discount/i18n/ja.po index a4429a077e4..c15b356e1df 100644 --- a/account_invoice_triple_discount/i18n/ja.po +++ b/account_invoice_triple_discount/i18n/ja.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/lt.po b/account_invoice_triple_discount/i18n/lt.po index 3f3a8d556e0..88fe9753c2f 100644 --- a/account_invoice_triple_discount/i18n/lt.po +++ b/account_invoice_triple_discount/i18n/lt.po @@ -20,12 +20,12 @@ msgstr "" "%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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/mk.po b/account_invoice_triple_discount/i18n/mk.po index f5e5e3366e8..32c2243cf8b 100644 --- a/account_invoice_triple_discount/i18n/mk.po +++ b/account_invoice_triple_discount/i18n/mk.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/mn.po b/account_invoice_triple_discount/i18n/mn.po index 4824dc9d177..a654c412e3b 100644 --- a/account_invoice_triple_discount/i18n/mn.po +++ b/account_invoice_triple_discount/i18n/mn.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/nb.po b/account_invoice_triple_discount/i18n/nb.po index cfa99cfd92c..24c26be4fa5 100644 --- a/account_invoice_triple_discount/i18n/nb.po +++ b/account_invoice_triple_discount/i18n/nb.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/nb_NO.po b/account_invoice_triple_discount/i18n/nb_NO.po index b211aa44442..6d43eda4fbe 100644 --- a/account_invoice_triple_discount/i18n/nb_NO.po +++ b/account_invoice_triple_discount/i18n/nb_NO.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/nl.po b/account_invoice_triple_discount/i18n/nl.po index b97c5c1a7ad..db9738979e8 100644 --- a/account_invoice_triple_discount/i18n/nl.po +++ b/account_invoice_triple_discount/i18n/nl.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/nl_BE.po b/account_invoice_triple_discount/i18n/nl_BE.po index ea7b9059406..d175b56dc3d 100644 --- a/account_invoice_triple_discount/i18n/nl_BE.po +++ b/account_invoice_triple_discount/i18n/nl_BE.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/nl_NL.po b/account_invoice_triple_discount/i18n/nl_NL.po index 94748bfee97..2cb44efc415 100644 --- a/account_invoice_triple_discount/i18n/nl_NL.po +++ b/account_invoice_triple_discount/i18n/nl_NL.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/pl.po b/account_invoice_triple_discount/i18n/pl.po index 26d9b16fefd..19a13a005c8 100644 --- a/account_invoice_triple_discount/i18n/pl.po +++ b/account_invoice_triple_discount/i18n/pl.po @@ -21,12 +21,12 @@ msgstr "" "%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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/pt.po b/account_invoice_triple_discount/i18n/pt.po index a90d3580d3b..1b7a9abd005 100644 --- a/account_invoice_triple_discount/i18n/pt.po +++ b/account_invoice_triple_discount/i18n/pt.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/pt_BR.po b/account_invoice_triple_discount/i18n/pt_BR.po index e3e50158525..094289ab04e 100644 --- a/account_invoice_triple_discount/i18n/pt_BR.po +++ b/account_invoice_triple_discount/i18n/pt_BR.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/pt_PT.po b/account_invoice_triple_discount/i18n/pt_PT.po index 629e87ef46c..ecf26ee0aa9 100644 --- a/account_invoice_triple_discount/i18n/pt_PT.po +++ b/account_invoice_triple_discount/i18n/pt_PT.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/ro.po b/account_invoice_triple_discount/i18n/ro.po index 4c62c02a6d3..0e5d8b28022 100644 --- a/account_invoice_triple_discount/i18n/ro.po +++ b/account_invoice_triple_discount/i18n/ro.po @@ -20,12 +20,12 @@ msgstr "" "2:1));\n" #. module: account_invoice_triple_discount -#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line_discount2 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/ru.po b/account_invoice_triple_discount/i18n/ru.po index bfefec60888..b009e2b320e 100644 --- a/account_invoice_triple_discount/i18n/ru.po +++ b/account_invoice_triple_discount/i18n/ru.po @@ -22,12 +22,12 @@ msgstr "" "%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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "Скидка 3 (%)" diff --git a/account_invoice_triple_discount/i18n/sk_SK.po b/account_invoice_triple_discount/i18n/sk_SK.po index 7c7a4e7b130..042e5027cda 100644 --- a/account_invoice_triple_discount/i18n/sk_SK.po +++ b/account_invoice_triple_discount/i18n/sk_SK.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/sl.po b/account_invoice_triple_discount/i18n/sl.po index 8ee552cc178..e06f4662051 100644 --- a/account_invoice_triple_discount/i18n/sl.po +++ b/account_invoice_triple_discount/i18n/sl.po @@ -20,12 +20,12 @@ msgstr "" "%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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/sv.po b/account_invoice_triple_discount/i18n/sv.po index b9d51ea0c82..e608ace8d9f 100644 --- a/account_invoice_triple_discount/i18n/sv.po +++ b/account_invoice_triple_discount/i18n/sv.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/th.po b/account_invoice_triple_discount/i18n/th.po index 3878908cbaa..b84e85df985 100644 --- a/account_invoice_triple_discount/i18n/th.po +++ b/account_invoice_triple_discount/i18n/th.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/tr.po b/account_invoice_triple_discount/i18n/tr.po index e23cffaaacc..36acb076609 100644 --- a/account_invoice_triple_discount/i18n/tr.po +++ b/account_invoice_triple_discount/i18n/tr.po @@ -19,12 +19,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/tr_TR.po b/account_invoice_triple_discount/i18n/tr_TR.po index 2465c6c6d13..f2cabafd73b 100644 --- a/account_invoice_triple_discount/i18n/tr_TR.po +++ b/account_invoice_triple_discount/i18n/tr_TR.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/zh_CN.po b/account_invoice_triple_discount/i18n/zh_CN.po index a2cca8f18c9..ef3e84a4296 100644 --- a/account_invoice_triple_discount/i18n/zh_CN.po +++ b/account_invoice_triple_discount/i18n/zh_CN.po @@ -21,12 +21,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" diff --git a/account_invoice_triple_discount/i18n/zh_TW.po b/account_invoice_triple_discount/i18n/zh_TW.po index c503d75db50..7c6055e16f8 100644 --- a/account_invoice_triple_discount/i18n/zh_TW.po +++ b/account_invoice_triple_discount/i18n/zh_TW.po @@ -20,12 +20,12 @@ msgstr "" "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 +#: 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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount3 msgid "Discount 3 (%)" msgstr "" From f37cec1199295cb8561f45833f5632d5af572f3e Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 3 Apr 2019 02:35:10 +0000 Subject: [PATCH 07/21] [ADD] icon.png --- .../static/description/icon.png | Bin 0 -> 9455 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 account_invoice_triple_discount/static/description/icon.png diff --git a/account_invoice_triple_discount/static/description/icon.png b/account_invoice_triple_discount/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH zG%WWW>3ml$Yez?i%)2pbKPI7?5o?hydokgQyZsNEr{a|mLdt;X2TX(#B1j35xPnPW z*bMSSOauW>o;*=kO8ojw91VX!qoOQb)zHJ!odWB}d+*K?#sY_jqPdg{Sm2HdYzdEx zOGVPhVRTGPtv0o}RfVP;Nd(|CB)I;*t&QO8h zFfekr30S!-LHmV_Su-W+rEwYXJ^;6&3|L$mMC8*bQptyOo9;>Qb9Q9`ySe3%V$A*9 zeKEe+b0{#KWGp$F+tga)0RtI)nhMa-K@JS}2krK~n8vJ=Ngm?R!9G<~RyuU0d?nz# z-5EK$o(!F?hmX*2Yt6+coY`6jGbb7tF#6nHA zuKk=GGJ;ZwON1iAfG$E#Y7MnZVmrY|j0eVI(DN_MNFJmyZ|;w4tf@=CCDZ#5N_0K= z$;R~bbk?}TpfDjfB&aiQ$VA}s?P}xPERJG{kxk5~R`iRS(SK5d+Xs9swCozZISbnS zk!)I0>t=A<-^z(cmSFz3=jZ23u13X><0b)P)^1T_))Kr`e!-pb#q&J*Q`p+B6la%C zuVl&0duN<;uOsB3%T9Fp8t{ED108<+W(nOZd?gDnfNBC3>M8WE61$So|P zVvqH0SNtDTcsUdzaMDpT=Ty0pDHHNL@Z0w$Y`XO z2M-_r1S+GaH%pz#Uy0*w$Vdl=X=rQXEzO}d6J^R6zjM1u&c9vYLvLp?W7w(?np9x1 zE_0JSAJCPB%i7p*Wvg)pn5T`8k3-uR?*NT|J`eS#_#54p>!p(mLDvmc-3o0mX*mp_ zN*AeS<>#^-{S%W<*mz^!X$w_2dHWpcJ6^j64qFBft-o}o_Vx80o0>}Du;>kLts;$8 zC`7q$QI(dKYG`Wa8#wl@V4jVWBRGQ@1dr-hstpQL)Tl+aqVpGpbSfN>5i&QMXfiZ> zaA?T1VGe?rpQ@;+pkrVdd{klI&jVS@I5_iz!=UMpTsa~mBga?1r}aRBm1WS;TT*s0f0lY=JBl66Upy)-k4J}lh=P^8(SXk~0xW=T9v*B|gzIhN z>qsO7dFd~mgxAy4V?&)=5ieYq?zi?ZEoj)&2o)RLy=@hbCRcfT5jigwtQGE{L*8<@Yd{zg;CsL5mvzfDY}P-wos_6PfprFVaeqNE%h zKZhLtcQld;ZD+>=nqN~>GvROfueSzJD&BE*}XfU|H&(FssBqY=hPCt`d zH?@s2>I(|;fcW&YM6#V#!kUIP8$Nkdh0A(bEVj``-AAyYgwY~jB zT|I7Bf@%;7aL7Wf4dZ%VqF$eiaC38OV6oy3Z#TER2G+fOCd9Iaoy6aLYbPTN{XRPz z;U!V|vBf%H!}52L2gH_+j;`bTcQRXB+y9onc^wLm5wi3-Be}U>k_u>2Eg$=k!(l@I zcCg+flakT2Nej3i0yn+g+}%NYb?ta;R?(g5SnwsQ49U8Wng8d|{B+lyRcEDvR3+`O{zfmrmvFrL6acVP%yG98X zo&+VBg@px@i)%o?dG(`T;n*$S5*rnyiR#=wW}}GsAcfyQpE|>a{=$Hjg=-*_K;UtD z#z-)AXwSRY?OPefw^iI+ z)AXz#PfEjlwTes|_{sB?4(O@fg0AJ^g8gP}ex9Ucf*@_^J(s_5jJV}c)s$`Myn|Kd z$6>}#q^n{4vN@+Os$m7KV+`}c%4)4pv@06af4-x5#wj!KKb%caK{A&Y#Rfs z-po?Dcb1({W=6FKIUirH&(yg=*6aLCekcKwyfK^JN5{wcA3nhO(o}SK#!CINhI`-I z1)6&n7O&ZmyFMuNwvEic#IiOAwNkR=u5it{B9n2sAJV5pNhar=j5`*N!Na;c7g!l$ z3aYBqUkqqTJ=Re-;)s!EOeij=7SQZ3Hq}ZRds%IM*PtM$wV z@;rlc*NRK7i3y5BETSKuumEN`Xu_8GP1Ri=OKQ$@I^ko8>H6)4rjiG5{VBM>B|%`&&s^)jS|-_95&yc=GqjNo{zFkw%%HHhS~e=s zD#sfS+-?*t|J!+ozP6KvtOl!R)@@-z24}`9{QaVLD^9VCSR2b`b!KC#o;Ki<+wXB6 zx3&O0LOWcg4&rv4QG0)4yb}7BFSEg~=IR5#ZRj8kg}dS7_V&^%#Do==#`u zpy6{ox?jWuR(;pg+f@mT>#HGWHAJRRDDDv~@(IDw&R>9643kK#HN`!1vBJHnC+RM&yIh8{gG2q zA%e*U3|N0XSRa~oX-3EAneep)@{h2vvd3Xvy$7og(sayr@95+e6~Xvi1tUqnIxoIH zVWo*OwYElb#uyW{Imam6f2rGbjR!Y3`#gPqkv57dB6K^wRGxc9B(t|aYDGS=m$&S!NmCtrMMaUg(c zc2qC=2Z`EEFMW-me5B)24AqF*bV5Dr-M5ig(l-WPS%CgaPzs6p_gnCIvTJ=Y<6!gT zVt@AfYCzjjsMEGi=rDQHo0yc;HqoRNnNFeWZgcm?f;cp(6CNylj36DoL(?TS7eU#+ z7&mfr#y))+CJOXQKUMZ7QIdS9@#-}7y2K1{8)cCt0~-X0O!O?Qx#E4Og+;A2SjalQ zs7r?qn0H044=sDN$SRG$arw~n=+T_DNdSrarmu)V6@|?1-ZB#hRn`uilTGPJ@fqEy zGt(f0B+^JDP&f=r{#Y_wi#AVDf-y!RIXU^0jXsFpf>=Ji*TeqSY!H~AMbJdCGLhC) zn7Rx+sXw6uYj;WRYrLd^5IZq@6JI1C^YkgnedZEYy<&4(z%Q$5yv#Boo{AH8n$a zhb4Y3PWdr269&?V%uI$xMcUrMzl=;w<_nm*qr=c3Rl@i5wWB;e-`t7D&c-mcQl7x! zZWB`UGcw=Y2=}~wzrfLx=uet<;m3~=8I~ZRuzvMQUQdr+yTV|ATf1Uuomr__nDf=X zZ3WYJtHp_ri(}SQAPjv+Y+0=fH4krOP@S&=zZ-t1jW1o@}z;xk8 z(Nz1co&El^HK^NrhVHa-_;&88vTU>_J33=%{if;BEY*J#1n59=07jrGQ#IP>@u#3A z;!q+E1Rj3ZJ+!4bq9F8PXJ@yMgZL;>&gYA0%_Kbi8?S=XGM~dnQZQ!yBSgcZhY96H zrWnU;k)qy`rX&&xlDyA%(a1Hhi5CWkmg(`Gb%m(HKi-7Z!LKGRP_B8@`7&hdDy5n= z`OIxqxiVfX@OX1p(mQu>0Ai*v_cTMiw4qRt3~NBvr9oBy0)r>w3p~V0SCm=An6@3n)>@z!|o-$HvDK z|3D2ZMJkLE5loMKl6R^ez@Zz%S$&mbeoqH5`Bb){Ei21q&VP)hWS2tjShfFtGE+$z zzCR$P#uktu+#!w)cX!lWN1XU%K-r=s{|j?)Akf@q#3b#{6cZCuJ~gCxuMXRmI$nGtnH+-h z+GEi!*X=AP<|fG`1>MBdTb?28JYc=fGvAi2I<$B(rs$;eoJCyR6_bc~p!XR@O-+sD z=eH`-ye})I5ic1eL~TDmtfJ|8`0VJ*Yr=hNCd)G1p2MMz4C3^Mj?7;!w|Ly%JqmuW zlIEW^Ft%z?*|fpXda>Jr^1noFZEwFgVV%|*XhH@acv8rdGxeEX{M$(vG{Zw+x(ei@ zmfXb22}8-?Fi`vo-YVrTH*C?a8%M=Hv9MqVH7H^J$KsD?>!SFZ;ZsvnHr_gn=7acz z#W?0eCdVhVMWN12VV^$>WlQ?f;P^{(&pYTops|btm6aj>_Uz+hqpGwB)vWp0Cf5y< zft8-je~nn?W11plq}N)4A{l8I7$!ks_x$PXW-2XaRFswX_BnF{R#6YIwMhAgd5F9X zGmwdadS6(a^fjHtXg8=l?Rc0Sm%hk6E9!5cLVloEy4eh(=FwgP`)~I^5~pBEWo+F6 zSf2ncyMurJN91#cJTy_u8Y}@%!bq1RkGC~-bV@SXRd4F{R-*V`bS+6;W5vZ(&+I<9$;-V|eNfLa5n-6% z2(}&uGRF;p92eS*sE*oR$@pexaqr*meB)VhmIg@h{uzkk$9~qh#cHhw#>O%)b@+(| z^IQgqzuj~Sk(J;swEM-3TrJAPCq9k^^^`q{IItKBRXYe}e0Tdr=Huf7da3$l4PdpwWDop%^}n;dD#K4s#DYA8SHZ z&1!riV4W4R7R#C))JH1~axJ)RYnM$$lIR%6fIVA@zV{XVyx}C+a-Dt8Y9M)^KU0+H zR4IUb2CJ{Hg>CuaXtD50jB(_Tcx=Z$^WYu2u5kubqmwp%drJ6 z?Fo40g!Qd<-l=TQxqHEOuPX0;^z7iX?Ke^a%XT<13TA^5`4Xcw6D@Ur&VT&CUe0d} z1GjOVF1^L@>O)l@?bD~$wzgf(nxX1OGD8fEV?TdJcZc2KoUe|oP1#=$$7ee|xbY)A zDZq+cuTpc(fFdj^=!;{k03C69lMQ(|>uhRfRu%+!k&YOi-3|1QKB z z?n?eq1XP>p-IM$Z^C;2L3itnbJZAip*Zo0aw2bs8@(s^~*8T9go!%dHcAz2lM;`yp zD=7&xjFV$S&5uDaiScyD?B-i1ze`+CoRtz`Wn+Zl&#s4&}MO{@N!ufrzjG$B79)Y2d3tBk&)TxUTw@QS0TEL_?njX|@vq?Uz(nBFK5Pq7*xj#u*R&i|?7+6# z+|r_n#SW&LXhtheZdah{ZVoqwyT{D>MC3nkFF#N)xLi{p7J1jXlmVeb;cP5?e(=f# zuT7fvjSbjS781v?7{)-X3*?>tq?)Yd)~|1{BDS(pqC zC}~H#WXlkUW*H5CDOo<)#x7%RY)A;ShGhI5s*#cRDA8YgqG(HeKDx+#(ZQ?386dv! zlXCO)w91~Vw4AmOcATuV653fa9R$fyK8ul%rG z-wfS zihugoZyr38Im?Zuh6@RcF~t1anQu7>#lPpb#}4cOA!EM11`%f*07RqOVkmX{p~KJ9 z^zP;K#|)$`^Rb{rnHGH{~>1(fawV0*Z#)}M`m8-?ZJV<+e}s9wE# z)l&az?w^5{)`S(%MRzxdNqrs1n*-=jS^_jqE*5XDrA0+VE`5^*p3CuM<&dZEeCjoz zR;uu_H9ZPZV|fQq`Cyw4nscrVwi!fE6ciMmX$!_hN7uF;jjKG)d2@aC4ropY)8etW=xJvni)8eHi`H$%#zn^WJ5NLc-rqk|u&&4Z6fD_m&JfSI1Bvb?b<*n&sfl0^t z=HnmRl`XrFvMKB%9}>PaA`m-fK6a0(8=qPkWS5bb4=v?XcWi&hRY?O5HdulRi4?fN zlsJ*N-0Qw+Yic@s0(2uy%F@ib;GjXt01Fmx5XbRo6+n|pP(&nodMoap^z{~q ziEeaUT@Mxe3vJSfI6?uLND(CNr=#^W<1b}jzW58bIfyWTDle$mmS(|x-0|2UlX+9k zQ^EX7Nw}?EzVoBfT(-LT|=9N@^hcn-_p&sqG z&*oVs2JSU+N4ZD`FhCAWaS;>|wH2G*Id|?pa#@>tyxX`+4HyIArWDvVrX)2WAOQff z0qyHu&-S@i^MS-+j--!pr4fPBj~_8({~e1bfcl0wI1kaoN>mJL6KUPQm5N7lB(ui1 zE-o%kq)&djzWJ}ob<-GfDlkB;F31j-VHKvQUGQ3sp`CwyGJk_i!y^sD0fqC@$9|jO zOqN!r!8-p==F@ZVP=U$qSpY(gQ0)59P1&t@y?5rvg<}E+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$ zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV( z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4 z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{ zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx} z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 From 2c745d9b2b5fa1181825ef871620398f43969c60 Mon Sep 17 00:00:00 2001 From: Rodrigo Macedo Date: Tue, 3 Sep 2019 13:44:19 +0000 Subject: [PATCH 08/21] Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (4 of 4 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_triple_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_triple_discount/pt_BR/ --- account_invoice_triple_discount/i18n/pt_BR.po | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/account_invoice_triple_discount/i18n/pt_BR.po b/account_invoice_triple_discount/i18n/pt_BR.po index 094289ab04e..b8a9bae5161 100644 --- a/account_invoice_triple_discount/i18n/pt_BR.po +++ b/account_invoice_triple_discount/i18n/pt_BR.po @@ -9,25 +9,26 @@ 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" +"PO-Revision-Date: 2019-09-03 16:23+0000\n" +"Last-Translator: Rodrigo Macedo \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" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.8\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 "" +msgstr "Desconto 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 "" +msgstr "Desconto 3 (%)" #. module: account_invoice_triple_discount #: model:ir.model,name:account_invoice_triple_discount.model_account_invoice From 46e1204b6fca6cac893ea022b409708f70685657 Mon Sep 17 00:00:00 2001 From: Benjamin Willig Date: Fri, 12 Jun 2020 14:39:58 +0200 Subject: [PATCH 09/21] [MIG] account_invoice_triple_discount to v13 --- account_invoice_triple_discount/README.rst | 72 -------- account_invoice_triple_discount/__init__.py | 1 - .../__manifest__.py | 26 ++- .../models/__init__.py | 5 +- .../models/account_invoice.py | 61 ------- .../models/account_move.py | 41 +++++ .../models/account_move_line.py | 96 ++++++++++ .../readme/CONTRIBUTORS.rst | 3 + .../readme/DESCRIPTION.rst | 1 + .../readme/USAGE.rst | 17 ++ .../report/invoice.xml | 38 ++++ .../tests/test_invoice_triple_discount.py | 165 +++++++++++------- .../views/account_invoice_view.xml | 43 ----- .../views/account_move.xml | 31 ++++ 14 files changed, 339 insertions(+), 261 deletions(-) delete mode 100644 account_invoice_triple_discount/README.rst delete mode 100644 account_invoice_triple_discount/models/account_invoice.py create mode 100644 account_invoice_triple_discount/models/account_move.py create mode 100644 account_invoice_triple_discount/models/account_move_line.py create mode 100644 account_invoice_triple_discount/readme/CONTRIBUTORS.rst create mode 100644 account_invoice_triple_discount/readme/DESCRIPTION.rst create mode 100644 account_invoice_triple_discount/readme/USAGE.rst create mode 100644 account_invoice_triple_discount/report/invoice.xml delete mode 100755 account_invoice_triple_discount/views/account_invoice_view.xml create mode 100644 account_invoice_triple_discount/views/account_move.xml diff --git a/account_invoice_triple_discount/README.rst b/account_invoice_triple_discount/README.rst deleted file mode 100644 index 983729f5d26..00000000000 --- a/account_invoice_triple_discount/README.rst +++ /dev/null @@ -1,72 +0,0 @@ -.. 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/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 ------------- - -* David Vidal -* Pedro M. Baeza -* Nikul Chaudhary - -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 index a9e3372262c..0650744f6bc 100644 --- a/account_invoice_triple_discount/__init__.py +++ b/account_invoice_triple_discount/__init__.py @@ -1,2 +1 @@ - from . import models diff --git a/account_invoice_triple_discount/__manifest__.py b/account_invoice_triple_discount/__manifest__.py index 42477a56069..028f61164ea 100644 --- a/account_invoice_triple_discount/__manifest__.py +++ b/account_invoice_triple_discount/__manifest__.py @@ -2,20 +2,14 @@ # Copyright 2017 Tecnativa - David Vidal # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { - 'name': 'Account Invoice Triple Discount', - 'version': '12.0.1.0.0', - 'category': 'Accounting & Finance', - 'author': 'QubiQ,' - 'Tecnativa,' - 'Odoo Community Association (OCA)', - 'website': 'https://github.com/OCA/account-invoicing', - 'license': 'AGPL-3', - 'summary': 'Manage triple discount on invoice lines', - 'depends': [ - 'account', - ], - 'data': [ - 'views/account_invoice_view.xml', - ], - 'installable': True, + "name": "Account Invoice Triple Discount", + "version": "13.0.1.0.0", + "category": "Accounting & Finance", + "author": "QubiQ, Tecnativa, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/account-invoicing", + "license": "AGPL-3", + "summary": "Manage triple discount on invoice lines", + "depends": ["account"], + "data": ["report/invoice.xml", "views/account_move.xml"], + "installable": True, } diff --git a/account_invoice_triple_discount/models/__init__.py b/account_invoice_triple_discount/models/__init__.py index 6834786a795..0d5ab6a2fc6 100644 --- a/account_invoice_triple_discount/models/__init__.py +++ b/account_invoice_triple_discount/models/__init__.py @@ -1,3 +1,2 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from . import account_invoice +from . import account_move +from . import account_move_line diff --git a/account_invoice_triple_discount/models/account_invoice.py b/account_invoice_triple_discount/models/account_invoice.py deleted file mode 100644 index ad310130c88..00000000000 --- a/account_invoice_triple_discount/models/account_invoice.py +++ /dev/null @@ -1,61 +0,0 @@ -# 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'), - ) - discount3 = fields.Float( - 'Discount 3 (%)', - digits=dp.get_precision('Discount'), - ) - - @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/models/account_move.py b/account_invoice_triple_discount/models/account_move.py new file mode 100644 index 00000000000..07e9d756fce --- /dev/null +++ b/account_invoice_triple_discount/models/account_move.py @@ -0,0 +1,41 @@ +# 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 models + + +class AccountMove(models.Model): + + _inherit = "account.move" + + def _recompute_tax_lines(self, **kwargs): + """ + As the taxes are recalculated based on a single discount, we need to + simulate a multiple discount by changing the unit price. Values are + restored after the original process is done + """ + old_values_by_line_id = {} + for line in self.line_ids: + aggregated_discount = line._compute_aggregated_discount(line.discount) + old_values_by_line_id[line.id] = { + "price_unit": line.price_unit, + "discount": line.discount, + } + price_unit = line.price_unit * (1 - aggregated_discount / 100) + line.update({"price_unit": price_unit, "discount": 0}) + res = super(AccountMove, self)._recompute_tax_lines(**kwargs) + for line in self.line_ids: + if line.id not in old_values_by_line_id: + continue + line.update(old_values_by_line_id[line.id]) + return res + + def _has_discount(self): + self.ensure_one() + return any( + [ + line._compute_aggregated_discount(line.discount) > 0 + for line in self.invoice_line_ids + ] + ) diff --git a/account_invoice_triple_discount/models/account_move_line.py b/account_invoice_triple_discount/models/account_move_line.py new file mode 100644 index 00000000000..3ad8cc52efd --- /dev/null +++ b/account_invoice_triple_discount/models/account_move_line.py @@ -0,0 +1,96 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import functools + +from odoo import api, fields, models +from odoo.tools import float_compare + + +class AccountMoveLine(models.Model): + + _inherit = "account.move.line" + + discount2 = fields.Float(string="Discount 2 (%)", digits="Discount",) + discount3 = fields.Float(string="Discount 3 (%)", digits="Discount",) + + @api.model_create_multi + def create(self, values_list): + """ + During the create of move lines, if the system detect that there is a + difference between the balance and the price subtotal, it will update + the unit price. When computing those, Odoo base module use a single + discount on creation. So as there is a difference of the price given + by the UI and the price computed during create method, the system will + change the unit price of the invoice line. To avoid that, we update + the discount field to have the aggregated discount, and we change it + back after the creation. + (Similar to _recompute_tax_lines on account.move) + """ + old_values = [] + dp_discount = self.env["decimal.precision"].precision_get("Discount") + for values in values_list: + old_discount = values.get("discount", 0.0) + new_discount = self._get_aggregated_discount_from_values(values) + tmp_values = {} + discount_changed = ( + float_compare(old_discount, new_discount, precision_digits=dp_discount) + != 0 + ) + if discount_changed: + values["discount"] = new_discount + tmp_values["discount"] = old_discount + old_values.append(tmp_values) + records = super(AccountMoveLine, self).create(values_list) + for index, record in enumerate(records): + values = old_values[index] + if values: + record.write(old_values[index]) + return records + + @api.onchange( + "discount", "price_unit", "tax_ids", "quantity", "discount2", "discount3", + ) + def _onchange_price_subtotal(self): + return super(AccountMoveLine, self)._onchange_price_subtotal() + + def _get_price_total_and_subtotal(self, **kwargs): + self.ensure_one() + kwargs["discount"] = self._compute_aggregated_discount( + kwargs.get("discount") or self.discount + ) + return super(AccountMoveLine, self)._get_price_total_and_subtotal(**kwargs) + + def _get_fields_onchange_balance(self, **kwargs): + self.ensure_one() + kwargs["discount"] = self._compute_aggregated_discount( + kwargs.get("discount") or self.discount + ) + return super(AccountMoveLine, self)._get_fields_onchange_balance(**kwargs) + + def _compute_aggregated_discount(self, base_discount): + self.ensure_one() + discounts = [base_discount] + for discount_fname in self._get_multiple_discount_field_names(): + discounts.append(getattr(self, discount_fname, 0.0)) + return self._get_aggregated_multiple_discounts(discounts) + + def _get_aggregated_discount_from_values(self, values): + discount_fnames = ["discount"] + discount_fnames.extend(self._get_multiple_discount_field_names()) + discounts = [] + for discount_fname in discount_fnames: + discounts.append(values.get(discount_fname) or 0.0) + return self._get_aggregated_multiple_discounts(discounts) + + def _get_aggregated_multiple_discounts(self, discounts): + discount_values = [] + for discount in discounts: + discount_values.append(1 - (discount or 0.0) / 100.0) + aggregated_discount = ( + 1 - functools.reduce((lambda x, y: x * y), discount_values) + ) * 100 + return aggregated_discount + + def _get_multiple_discount_field_names(self): + return ["discount2", "discount3"] diff --git a/account_invoice_triple_discount/readme/CONTRIBUTORS.rst b/account_invoice_triple_discount/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..6f532df62ef --- /dev/null +++ b/account_invoice_triple_discount/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* David Vidal +* Pedro M. Baeza +* Nikul Chaudhary diff --git a/account_invoice_triple_discount/readme/DESCRIPTION.rst b/account_invoice_triple_discount/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..d61e4eee1fd --- /dev/null +++ b/account_invoice_triple_discount/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module allows to have three successive discounts on each invoice line. diff --git a/account_invoice_triple_discount/readme/USAGE.rst b/account_invoice_triple_discount/readme/USAGE.rst new file mode 100644 index 00000000000..f31899c552c --- /dev/null +++ b/account_invoice_triple_discount/readme/USAGE.rst @@ -0,0 +1,17 @@ +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 diff --git a/account_invoice_triple_discount/report/invoice.xml b/account_invoice_triple_discount/report/invoice.xml new file mode 100644 index 00000000000..9b794f4da02 --- /dev/null +++ b/account_invoice_triple_discount/report/invoice.xml @@ -0,0 +1,38 @@ + + + + diff --git a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py index 7099a710f87..28598fdb069 100644 --- a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py +++ b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py @@ -2,84 +2,119 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo.tests import SavepointCase +from odoo.tests.common import Form 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, - }) + cls.Account = cls.env["account.account"] + cls.AccountMove = cls.env["account.move"] + cls.AccountTax = cls.env["account.tax"] + cls.AccountType = cls.env["account.account.type"] + cls.Partner = cls.env["res.partner"] + cls.Journal = cls.env["account.journal"] + + cls.partner = cls.Partner.create({"name": "test"}) + cls.tax = cls.AccountTax.create( + { + "name": "TAX 15%", + "amount_type": "percent", + "type_tax_use": "purchase", + "amount": 15.0, + } + ) + cls.account_type = cls.AccountType.create( + {"name": "Test", "type": "receivable", "internal_group": "income"} + ) + cls.account = cls.Account.create( + { + "name": "Test account", + "code": "TEST", + "user_type_id": cls.account_type.id, + "reconcile": True, + } + ) + cls.sale_journal = cls.Journal.search([("type", "=", "sale")], limit=1) + + def create_simple_invoice(self, amount): + invoice_form = Form( + self.AccountMove.with_context( + default_type="out_invoice", default_journal_id=self.sale_journal.id, + ) + ) + invoice_form.partner_id = self.partner + + with invoice_form.invoice_line_ids.new() as line_form: + line_form.name = "Line 1" + line_form.quantity = 1 + line_form.price_unit = amount + line_form.tax_ids.clear() + line_form.tax_ids.add(self.tax) + + invoice = invoice_form.save() + return invoice def test_01_discounts(self): """ Tests multiple discounts in line with taxes """ + invoice = self.create_simple_invoice(200) + + invoice_form = Form(invoice) + with invoice_form.invoice_line_ids.edit(0) as line_form: + line_form.discount = 50.0 + invoice_form.save() + + invoice_line = invoice.invoice_line_ids[0] + # Adds a first discount - self.invoice_line1.discount = 50.0 - self.invoice._onchange_invoice_line_ids() - self.assertEqual(self.invoice.amount_total, 115.0) + self.assertEqual(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) + with invoice_form.invoice_line_ids.edit(0) as line_form: + line_form.discount2 = 40.0 + invoice_form.save() + self.assertEqual(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) + with invoice_form.invoice_line_ids.edit(0) as line_form: + line_form.discount3 = 50.0 + invoice_form.save() + self.assertEqual(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) + with invoice_form.invoice_line_ids.edit(0) as line_form: + line_form.discount = 0 + invoice_form.save() + self.assertEqual(invoice.amount_total, 69) + # Charge 5% over price: - self.invoice_line1.discount = -5.0 - self.invoice._onchange_invoice_line_ids() - self.assertEqual(self.invoice.amount_total, 72.45) + with invoice_form.invoice_line_ids.edit(0) as line_form: + line_form.discount = -5 + invoice_form.save() + self.assertEqual(invoice.amount_total, 72.45) + + self.assertEqual(invoice_line.price_unit, 200) 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) + invoice = self.create_simple_invoice(200) + invoice_form = Form(invoice) + with invoice_form.invoice_line_ids.new() as line_form: + line_form.name = "Line 2" + line_form.quantity = 1 + line_form.price_unit = 500 + line_form.tax_ids.clear() + invoice_form.save() + + invoice_line2 = invoice.invoice_line_ids[1] + self.assertEqual(invoice_line2.price_subtotal, 500.0) + + with invoice_form.invoice_line_ids.edit(1) as line_form: + line_form.discount3 = 50.0 + invoice_form.save() + self.assertEqual(invoice.amount_total, 480.0) + + with invoice_form.invoice_line_ids.edit(0) as line_form: + line_form.discount = 50.0 + invoice_form.save() + self.assertEqual(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 deleted file mode 100755 index c85806edfcd..00000000000 --- a/account_invoice_triple_discount/views/account_invoice_view.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - account.invoice.triple.discount.form - account.invoice - - - - - - - - - - - - account.invoice.supplier.triple.discount.form - account.invoice - - - - - - - - - - - account.invoice.line.triple.discount.form - account.invoice.line - - - - - - - - - - diff --git a/account_invoice_triple_discount/views/account_move.xml b/account_invoice_triple_discount/views/account_move.xml new file mode 100644 index 00000000000..b455852aeed --- /dev/null +++ b/account_invoice_triple_discount/views/account_move.xml @@ -0,0 +1,31 @@ + + + + account.invoice.triple.discount.form + account.move + + + + + + + + + + + + + + + + + From cd7a25721a75aeaa33d49a1c25ab8c0d3a071b90 Mon Sep 17 00:00:00 2001 From: ferran-73 Date: Tue, 28 Sep 2021 08:28:44 +0200 Subject: [PATCH 10/21] [IMP] account_invoice_triple_discount: black, isort, prettier --- .../models/account_move_line.py | 17 ++++++++++++++--- .../tests/test_invoice_triple_discount.py | 3 ++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/account_invoice_triple_discount/models/account_move_line.py b/account_invoice_triple_discount/models/account_move_line.py index 3ad8cc52efd..ac8506529c7 100644 --- a/account_invoice_triple_discount/models/account_move_line.py +++ b/account_invoice_triple_discount/models/account_move_line.py @@ -11,8 +11,14 @@ class AccountMoveLine(models.Model): _inherit = "account.move.line" - discount2 = fields.Float(string="Discount 2 (%)", digits="Discount",) - discount3 = fields.Float(string="Discount 3 (%)", digits="Discount",) + discount2 = fields.Float( + string="Discount 2 (%)", + digits="Discount", + ) + discount3 = fields.Float( + string="Discount 3 (%)", + digits="Discount", + ) @api.model_create_multi def create(self, values_list): @@ -49,7 +55,12 @@ def create(self, values_list): return records @api.onchange( - "discount", "price_unit", "tax_ids", "quantity", "discount2", "discount3", + "discount", + "price_unit", + "tax_ids", + "quantity", + "discount2", + "discount3", ) def _onchange_price_subtotal(self): return super(AccountMoveLine, self)._onchange_price_subtotal() diff --git a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py index 28598fdb069..d54713f613b 100644 --- a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py +++ b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py @@ -41,7 +41,8 @@ def setUpClass(cls): def create_simple_invoice(self, amount): invoice_form = Form( self.AccountMove.with_context( - default_type="out_invoice", default_journal_id=self.sale_journal.id, + default_type="out_invoice", + default_journal_id=self.sale_journal.id, ) ) invoice_form.partner_id = self.partner From cba4f77a51db2a8a313b7e48300c7870627ef1c8 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 3 Nov 2021 11:34:25 +0000 Subject: [PATCH 11/21] [14.0][MIG] account_invoice_triple_discount: Migration to V14 --- account_invoice_triple_discount/README.rst | 97 ++++ .../__manifest__.py | 2 +- .../i18n/account_invoice_triple_discount.pot | 45 +- .../report/invoice.xml | 2 - .../static/description/index.html | 446 ++++++++++++++++++ .../tests/test_invoice_triple_discount.py | 2 +- 6 files changed, 581 insertions(+), 13 deletions(-) create mode 100644 account_invoice_triple_discount/README.rst create mode 100644 account_invoice_triple_discount/static/description/index.html diff --git a/account_invoice_triple_discount/README.rst b/account_invoice_triple_discount/README.rst new file mode 100644 index 00000000000..dc14d263348 --- /dev/null +++ b/account_invoice_triple_discount/README.rst @@ -0,0 +1,97 @@ +=============================== +Account Invoice Triple Discount +=============================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github + :target: https://github.com/OCA/account-invoicing/tree/14.0/account_invoice_triple_discount + :alt: OCA/account-invoicing +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-account_invoice_triple_discount + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/95/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows to have three successive discounts on each invoice line. + +**Table of contents** + +.. contents:: + :local: + +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 + +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 smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* QubiQ +* Tecnativa + +Contributors +~~~~~~~~~~~~ + +* David Vidal +* Pedro M. Baeza +* Nikul Chaudhary + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/account-invoicing `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_invoice_triple_discount/__manifest__.py b/account_invoice_triple_discount/__manifest__.py index 028f61164ea..f1ef1d8060a 100644 --- a/account_invoice_triple_discount/__manifest__.py +++ b/account_invoice_triple_discount/__manifest__.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Account Invoice Triple Discount", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Accounting & Finance", "author": "QubiQ, Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/account-invoicing", diff --git a/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot b/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot index 4645a2810d3..4b43d92a80f 100644 --- a/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot +++ b/account_invoice_triple_discount/i18n/account_invoice_triple_discount.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * account_invoice_triple_discount +# * account_invoice_triple_discount # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -14,22 +14,49 @@ msgstr "" "Plural-Forms: \n" #. module: account_invoice_triple_discount -#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_invoice_line__discount2 +#: model_terms:ir.ui.view,arch_db:account_invoice_triple_discount.report_invoice_document +msgid "Disc.2 %" +msgstr "" + +#. module: account_invoice_triple_discount +#: model_terms:ir.ui.view,arch_db:account_invoice_triple_discount.report_invoice_document +msgid "Disc.3 %" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_move_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 +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_move_line__discount3 msgid "Discount 3 (%)" msgstr "" #. module: account_invoice_triple_discount -#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice -msgid "Invoice" +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_move__display_name +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_move_line__display_name +msgid "Display Name" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_move__id +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_move_line__id +msgid "ID" msgstr "" #. module: account_invoice_triple_discount -#: model:ir.model,name:account_invoice_triple_discount.model_account_invoice_line -msgid "Invoice Line" +#: model:ir.model,name:account_invoice_triple_discount.model_account_move +msgid "Journal Entry" msgstr "" +#. module: account_invoice_triple_discount +#: model:ir.model,name:account_invoice_triple_discount.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_invoice_triple_discount +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_move____last_update +#: model:ir.model.fields,field_description:account_invoice_triple_discount.field_account_move_line____last_update +msgid "Last Modified on" +msgstr "" diff --git a/account_invoice_triple_discount/report/invoice.xml b/account_invoice_triple_discount/report/invoice.xml index 9b794f4da02..0300e4288e9 100644 --- a/account_invoice_triple_discount/report/invoice.xml +++ b/account_invoice_triple_discount/report/invoice.xml @@ -15,7 +15,6 @@ t-att-class="discount_class" > Disc.2 % - Disc.3 % - diff --git a/account_invoice_triple_discount/static/description/index.html b/account_invoice_triple_discount/static/description/index.html new file mode 100644 index 00000000000..925477c8748 --- /dev/null +++ b/account_invoice_triple_discount/static/description/index.html @@ -0,0 +1,446 @@ + + + + + + +Account Invoice Triple Discount + + + +
+

Account Invoice Triple Discount

+ + +

Beta License: AGPL-3 OCA/account-invoicing Translate me on Weblate Try me on Runbot

+

This module allows to have three successive discounts on each invoice line.

+

Table of contents

+ +
+

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
  • +
+
+
+
+

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

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • QubiQ
  • +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/account-invoicing project on GitHub.

+

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

+
+
+
+ + diff --git a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py index d54713f613b..93886eb75d5 100644 --- a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py +++ b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py @@ -41,7 +41,7 @@ def setUpClass(cls): def create_simple_invoice(self, amount): invoice_form = Form( self.AccountMove.with_context( - default_type="out_invoice", + default_move_type="out_invoice", default_journal_id=self.sale_journal.id, ) ) From 51bfff51d8713cbfd9f8cb927245fe3aa3b62de1 Mon Sep 17 00:00:00 2001 From: Daniel Reis Date: Mon, 15 Nov 2021 10:54:21 +0000 Subject: [PATCH 12/21] [FIX] account_invoice_triple_discount: Developer Mode was required to use discounts --- account_invoice_triple_discount/__manifest__.py | 2 +- .../views/account_move.xml | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/account_invoice_triple_discount/__manifest__.py b/account_invoice_triple_discount/__manifest__.py index f1ef1d8060a..bd3c2b74ce9 100644 --- a/account_invoice_triple_discount/__manifest__.py +++ b/account_invoice_triple_discount/__manifest__.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Account Invoice Triple Discount", - "version": "14.0.1.0.0", + "version": "14.0.1.1.0", "category": "Accounting & Finance", "author": "QubiQ, Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/account-invoicing", diff --git a/account_invoice_triple_discount/views/account_move.xml b/account_invoice_triple_discount/views/account_move.xml index b455852aeed..dbf287266a0 100644 --- a/account_invoice_triple_discount/views/account_move.xml +++ b/account_invoice_triple_discount/views/account_move.xml @@ -9,15 +9,23 @@ expr="//field[@name='invoice_line_ids']//tree//field[@name='discount']" position="after" > - - + +
- - + + Date: Fri, 3 Dec 2021 09:43:25 +0000 Subject: [PATCH 13/21] Translated using Weblate (Italian) Currently translated at 100.0% (4 of 4 strings) Translation: account-invoicing-14.0/account-invoicing-14.0-account_invoice_triple_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-account_invoice_triple_discount/it/ --- account_invoice_triple_discount/i18n/it.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/account_invoice_triple_discount/i18n/it.po b/account_invoice_triple_discount/i18n/it.po index 94b33a107f4..e21a2d37e63 100644 --- a/account_invoice_triple_discount/i18n/it.po +++ b/account_invoice_triple_discount/i18n/it.po @@ -9,24 +9,25 @@ 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" +"PO-Revision-Date: 2021-12-03 12:37+0000\n" +"Last-Translator: Francesco Foresti \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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.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 "" +msgstr "Sconto 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 "" +msgstr "Sconto 3 (%)" #. module: account_invoice_triple_discount #: model:ir.model,name:account_invoice_triple_discount.model_account_invoice From 3c0d0877d844738ac0145ef49ca636b872639ea6 Mon Sep 17 00:00:00 2001 From: oca-git-bot Date: Wed, 30 Mar 2022 21:42:02 +0200 Subject: [PATCH 14/21] [IMP] update dotfiles --- .../tests/test_invoice_triple_discount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py index 93886eb75d5..a348984088a 100644 --- a/account_invoice_triple_discount/tests/test_invoice_triple_discount.py +++ b/account_invoice_triple_discount/tests/test_invoice_triple_discount.py @@ -58,7 +58,7 @@ def create_simple_invoice(self, amount): return invoice def test_01_discounts(self): - """ Tests multiple discounts in line with taxes """ + """Tests multiple discounts in line with taxes""" invoice = self.create_simple_invoice(200) invoice_form = Form(invoice) From 238921b2a6e4cc3a9fa14ce20ac28f1c269fdaae Mon Sep 17 00:00:00 2001 From: David Ramia Date: Sun, 22 May 2022 23:59:55 +0200 Subject: [PATCH 15/21] [MIG] account_invoice_triple_discount: Migration to 15.0 --- account_invoice_triple_discount/__manifest__.py | 2 +- account_invoice_triple_discount/report/invoice.xml | 6 +++++- .../tests/test_invoice_triple_discount.py | 5 +++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/account_invoice_triple_discount/__manifest__.py b/account_invoice_triple_discount/__manifest__.py index bd3c2b74ce9..bf636e2dd0e 100644 --- a/account_invoice_triple_discount/__manifest__.py +++ b/account_invoice_triple_discount/__manifest__.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Account Invoice Triple Discount", - "version": "14.0.1.1.0", + "version": "15.0.1.0.0", "category": "Accounting & Finance", "author": "QubiQ, Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/account-invoicing", diff --git a/account_invoice_triple_discount/report/invoice.xml b/account_invoice_triple_discount/report/invoice.xml index 0300e4288e9..dceb1060f13 100644 --- a/account_invoice_triple_discount/report/invoice.xml +++ b/account_invoice_triple_discount/report/invoice.xml @@ -1,6 +1,10 @@ -