From 7be8c3767804aa8c61593b4d834e127de378a2ca Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 25 Jul 2016 01:03:07 +0200 Subject: [PATCH 01/37] Port account_cutoff_base and account_cutoff_prepaid to Odoo v9 Extract a new module account_invoice_start_end_dates from account_cutoff_prepaid --- account_invoice_start_end_dates/README.rst | 61 ++++++++++++ account_invoice_start_end_dates/__init__.py | 3 + .../__openerp__.py | 21 ++++ .../demo/product_demo.xml | 33 +++++++ .../models/__init__.py | 5 + .../models/account_invoice.py | 91 ++++++++++++++++++ .../models/account_move_line.py | 34 +++++++ .../models/product.py | 15 +++ .../tests/__init__.py | 3 + .../tests/test_invoice_start_end_dates.py | 95 +++++++++++++++++++ .../views/account_invoice.xml | 73 ++++++++++++++ .../views/account_move.xml | 47 +++++++++ .../views/product.xml | 24 +++++ 13 files changed, 505 insertions(+) create mode 100644 account_invoice_start_end_dates/README.rst create mode 100644 account_invoice_start_end_dates/__init__.py create mode 100644 account_invoice_start_end_dates/__openerp__.py create mode 100644 account_invoice_start_end_dates/demo/product_demo.xml create mode 100644 account_invoice_start_end_dates/models/__init__.py create mode 100644 account_invoice_start_end_dates/models/account_invoice.py create mode 100644 account_invoice_start_end_dates/models/account_move_line.py create mode 100644 account_invoice_start_end_dates/models/product.py create mode 100644 account_invoice_start_end_dates/tests/__init__.py create mode 100644 account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py create mode 100644 account_invoice_start_end_dates/views/account_invoice.xml create mode 100644 account_invoice_start_end_dates/views/account_move.xml create mode 100644 account_invoice_start_end_dates/views/product.xml diff --git a/account_invoice_start_end_dates/README.rst b/account_invoice_start_end_dates/README.rst new file mode 100644 index 00000000000..a6b8d3c407a --- /dev/null +++ b/account_invoice_start_end_dates/README.rst @@ -0,0 +1,61 @@ +.. 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 + +======================= +Invoice Start/End Dates +======================= + +This module adds the fields *Start Date* and *End Date* on invoice lines. When you validate the invoice, the information is copied from invoice lines to account move lines (if you enabled the grouping option on the related journal, Odoo will not group invoice lines that have different start/end dates). + +It also adds an option *Must Have Start and End Dates* on the product form (in the *Accounting* tab) ; if you enable this option, you will get an error message if you try to validate an invoice that constains such a product on one of its lines and doesn't have start/end dates on that line. + +If you use this module, you may also be interested in 2 other modules: + +* the module *sale_start_end_dates* from the sale-workflow OCA project: this module adds the fields *Start Date* and *End Date* on sale order lines and copies the information from sale order lines to invoice lines. + +* the module *account_cutoff_prepaid* (same repository): this module allows easy computation of prepaid expenses and prepaid revenues. + +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/89/9.0 + + +Known issues / Roadmap +====================== + +* Add the start/end date field on the Qweb invoice report. + +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. + +Credits +======= + +Contributors +------------ + +* Alexis de Lattre + +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_start_end_dates/__init__.py b/account_invoice_start_end_dates/__init__.py new file mode 100644 index 00000000000..cde864bae21 --- /dev/null +++ b/account_invoice_start_end_dates/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import models diff --git a/account_invoice_start_end_dates/__openerp__.py b/account_invoice_start_end_dates/__openerp__.py new file mode 100644 index 00000000000..7414168afd2 --- /dev/null +++ b/account_invoice_start_end_dates/__openerp__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# © 2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'Account Invoice Start End Dates', + 'version': '9.0.1.0.0', + 'category': 'Accounting & Finance', + 'license': 'AGPL-3', + 'summary': 'Adds start/end dates on invoice lines and move lines', + 'author': 'Akretion,Odoo Community Association (OCA)', + 'website': 'http://www.akretion.com', + 'depends': ['account'], + 'data': [ + 'views/account_invoice.xml', + 'views/account_move.xml', + 'views/product.xml', + ], + 'demo': ['demo/product_demo.xml'], + 'installable': True, +} diff --git a/account_invoice_start_end_dates/demo/product_demo.xml b/account_invoice_start_end_dates/demo/product_demo.xml new file mode 100644 index 00000000000..24df64c6850 --- /dev/null +++ b/account_invoice_start_end_dates/demo/product_demo.xml @@ -0,0 +1,33 @@ + + + + + + + + Car Insurance + CARINSUR + service + + + + + + + + + Maintenance contract + MAINTENANCE + service + + + + + + + + + diff --git a/account_invoice_start_end_dates/models/__init__.py b/account_invoice_start_end_dates/models/__init__.py new file mode 100644 index 00000000000..bfb477db2c9 --- /dev/null +++ b/account_invoice_start_end_dates/models/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- + +from . import product +from . import account_invoice +from . import account_move_line diff --git a/account_invoice_start_end_dates/models/account_invoice.py b/account_invoice_start_end_dates/models/account_invoice.py new file mode 100644 index 00000000000..514ca007938 --- /dev/null +++ b/account_invoice_start_end_dates/models/account_invoice.py @@ -0,0 +1,91 @@ +# -*- coding: utf-8 -*- +# © 2013-2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from openerp import models, fields, api, _ +from openerp.exceptions import ValidationError, UserError + + +class AccountInvoiceLine(models.Model): + _inherit = 'account.invoice.line' + + start_date = fields.Date('Start Date') + end_date = fields.Date('End Date') + must_have_dates = fields.Boolean( + related='product_id.must_have_dates', readonly=True) + + @api.multi + @api.constrains('start_date', 'end_date') + def _check_start_end_dates(self): + for invline in self: + if invline.start_date and not invline.end_date: + raise ValidationError( + _("Missing End Date for invoice line with " + "Description '%s'.") + % (invline.name)) + if invline.end_date and not invline.start_date: + raise ValidationError( + _("Missing Start Date for invoice line with " + "Description '%s'.") + % (invline.name)) + if invline.end_date and invline.start_date and \ + invline.start_date > invline.end_date: + raise ValidationError( + _("Start Date should be before or be the same as " + "End Date for invoice line with Description '%s'.") + % (invline.name)) + # Note : we can't check invline.product_id.must_have_dates + # have start_date and end_date here, because it would + # block automatic invoice generation/import. So we do the check + # upon validation of the invoice (see below the function + # action_move_create) + + +class AccountInvoice(models.Model): + _inherit = 'account.invoice' + + def inv_line_characteristic_hashcode(self, invoice_line): + """Add start and end dates to hashcode used when the option "Group + Invoice Lines" is active on the Account Journal""" + code = super(AccountInvoice, self).inv_line_characteristic_hashcode( + invoice_line) + hashcode = '%s-%s-%s' % ( + code, + invoice_line.get('start_date', 'False'), + invoice_line.get('end_date', 'False'), + ) + return hashcode + + @api.model + def line_get_convert(self, line, part): + """Copy from invoice to move lines""" + res = super(AccountInvoice, self).line_get_convert(line, part) + res['start_date'] = line.get('start_date', False) + res['end_date'] = line.get('end_date', False) + return res + + @api.model + def invoice_line_move_line_get(self): + """Copy from invoice line to move lines""" + res = super(AccountInvoice, self).invoice_line_move_line_get() + ailo = self.env['account.invoice.line'] + for move_line_dict in res: + iline = ailo.browse(move_line_dict['invl_id']) + move_line_dict['start_date'] = iline.start_date + move_line_dict['end_date'] = iline.end_date + return res + + @api.multi + def action_move_create(self): + """Check that products with must_have_dates=True have + Start and End Dates""" + for invoice in self: + for iline in invoice.invoice_line_ids: + if iline.product_id and iline.product_id.must_have_dates: + if not iline.start_date or not iline.end_date: + raise UserError(_( + "Missing Start Date and End Date for invoice " + "line with Product '%s' which has the " + "property 'Must Have Start and End Dates'.") + % (iline.product_id.name)) + return super(AccountInvoice, self).action_move_create() diff --git a/account_invoice_start_end_dates/models/account_move_line.py b/account_invoice_start_end_dates/models/account_move_line.py new file mode 100644 index 00000000000..d36cc49080b --- /dev/null +++ b/account_invoice_start_end_dates/models/account_move_line.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# © 2013-2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from openerp import models, fields, api, _ +from openerp.exceptions import ValidationError + + +class AccountMoveLine(models.Model): + _inherit = "account.move.line" + + start_date = fields.Date('Start Date', index=True) + end_date = fields.Date('End Date', index=True) + + @api.multi + @api.constrains('start_date', 'end_date') + def _check_start_end_dates(self): + for moveline in self: + if moveline.start_date and not moveline.end_date: + raise ValidationError( + _("Missing End Date for move line with Name '%s'.") + % (moveline.name)) + if moveline.end_date and not moveline.start_date: + raise ValidationError( + _("Missing Start Date for move line with Name '%s'.") + % (moveline.name)) + if moveline.end_date and moveline.start_date and \ + moveline.start_date > moveline.end_date: + raise ValidationError(_( + "Start Date should be before End Date for move line " + "with Name '%s'.") + % (moveline.name)) + # should we check that it's related to an expense / revenue ? + # -> I don't think so diff --git a/account_invoice_start_end_dates/models/product.py b/account_invoice_start_end_dates/models/product.py new file mode 100644 index 00000000000..4b329ed35be --- /dev/null +++ b/account_invoice_start_end_dates/models/product.py @@ -0,0 +1,15 @@ +# -*- coding: utf-8 -*- +# © 2013-2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from openerp import models, fields + + +class ProductTemplate(models.Model): + _inherit = 'product.template' + + must_have_dates = fields.Boolean( + string='Must Have Start and End Dates', + help="If this option is active, the user will have to enter " + "a Start Date and an End Date on the invoice lines that have " + "this product.") diff --git a/account_invoice_start_end_dates/tests/__init__.py b/account_invoice_start_end_dates/tests/__init__.py new file mode 100644 index 00000000000..85a30b83cdc --- /dev/null +++ b/account_invoice_start_end_dates/tests/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import test_invoice_start_end_dates diff --git a/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py b/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py new file mode 100644 index 00000000000..83bc787be5e --- /dev/null +++ b/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py @@ -0,0 +1,95 @@ +# -*- coding: utf-8 -*- +# © 2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + + +import time +from openerp.tools import float_compare +from openerp.tests.common import TransactionCase + + +class TestInvoiceStartEndDates(TransactionCase): + + def setUp(self): + super(TestInvoiceStartEndDates, self).setUp() + self.inv_model = self.env['account.invoice'] + self.account_model = self.env['account.account'] + self.journal_model = self.env['account.journal'] + self.account_revenue = self.account_model.search([( + 'user_type_id', + '=', + self.env.ref('account.data_account_type_revenue').id)], limit=1) + self.account_receivable = self.account_model.search([( + 'user_type_id', + '=', + self.env.ref('account.data_account_type_receivable').id)], limit=1) + self.cutoff_journal = self.journal_model.search([], limit=1) + self.sale_journal = self.journal_model.search([( + 'type', '=', 'sale')], limit=1) + # enable grouping on sale journal + self.sale_journal.group_invoice_lines = True + self.maint_product = self.env.ref( + 'account_invoice_start_end_dates.product_maintenance_contrat') + + def _date(self, date): + """ convert MM-DD to current year date YYYY-MM-DD """ + return time.strftime('%Y-' + date) + + def test_invoice_with_grouping(self): + invoice = self.inv_model.create({ + 'date_invoice': self._date('01-01'), + 'account_id': self.account_receivable.id, + 'partner_id': self.env.ref('base.res_partner_2').id, + 'journal_id': self.sale_journal.id, + 'type': 'out_invoice', + 'invoice_line_ids': [ + (0, 0, { + 'product_id': self.maint_product.id, + 'name': 'Maintenance IPBX 12 mois', + 'price_unit': 2400, + 'quantity': 1, + 'account_id': self.account_revenue.id, + 'start_date': self._date('01-01'), + 'end_date': self._date('12-31'), + }), + (0, 0, { + 'product_id': self.maint_product.id, + 'name': 'Maintenance téléphones 12 mois', + 'price_unit': 12, + 'quantity': 10, + 'account_id': self.account_revenue.id, + 'start_date': self._date('01-01'), + 'end_date': self._date('12-31'), + }), + (0, 0, { + 'product_id': self.maint_product.id, + 'name': 'Maintenance Fax 6 mois', + 'price_unit': 120.75, + 'quantity': 1, + 'account_id': self.account_revenue.id, + 'start_date': self._date('01-01'), + 'end_date': self._date('06-30'), + }), + (0, 0, { + 'product_id': + self.env.ref('product.product_product_17').id, + 'name': 'HD IPBX', + 'price_unit': 215.5, + 'quantity': 1, + 'account_id': self.account_revenue.id, + }), + ], + }) + invoice.signal_workflow('invoice_open') + self.assertTrue(invoice.move_id) + iline_res = { + (self._date('01-01'), self._date('12-31')): 2520, + (self._date('01-01'), self._date('06-30')): 120.75, + (False, False): 215.5, + } + precision = self.env['decimal.precision'].precision_get('Account') + for mline in invoice.move_id.line_ids: + if mline.account_id == self.account_revenue: + amount = iline_res.pop((mline.start_date, mline.end_date)) + self.assertEquals(float_compare( + amount, mline.credit, precision_digits=precision), 0) diff --git a/account_invoice_start_end_dates/views/account_invoice.xml b/account_invoice_start_end_dates/views/account_invoice.xml new file mode 100644 index 00000000000..c1d40bf71ec --- /dev/null +++ b/account_invoice_start_end_dates/views/account_invoice.xml @@ -0,0 +1,73 @@ + + + + + + + + prepaid.cutoff.invoice_form + account.invoice + + + + + + + + + + + + prepaid.cutoff.invoice_supplier_form + account.invoice + + + + + + + + + + + + prepaid.cutoff.invoice_line_form + account.invoice.line + + + + + + + + + + + + + + prepaid.cutoff.invoice_line_tree + account.invoice.line + + + + + + + + + + + + diff --git a/account_invoice_start_end_dates/views/account_move.xml b/account_invoice_start_end_dates/views/account_move.xml new file mode 100644 index 00000000000..ceeaa467136 --- /dev/null +++ b/account_invoice_start_end_dates/views/account_move.xml @@ -0,0 +1,47 @@ + + + + + + + + invoice.start.end.dates.view_move_line_form + account.move.line + + + + + + + + + + + invoice.start.end.dates.view_move_line_form2 + account.move.line + + + + + + + + + + + prepaid.cutoff.start.end.date.view_move_form + account.move + + + + + + + + + + + diff --git a/account_invoice_start_end_dates/views/product.xml b/account_invoice_start_end_dates/views/product.xml new file mode 100644 index 00000000000..5b14525146a --- /dev/null +++ b/account_invoice_start_end_dates/views/product.xml @@ -0,0 +1,24 @@ + + + + + + + + add.must.have.dates.on.product.template.form + product.template + + + + + + + + + + + + From a44dbc0f2b0a81e3a5299b78b779b47972397bd3 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Mon, 17 Oct 2016 11:49:44 +0200 Subject: [PATCH 02/37] Migration of account_cutoff modules to 10.0 --- account_invoice_start_end_dates/README.rst | 2 +- .../{__openerp__.py => __manifest__.py} | 2 +- account_invoice_start_end_dates/i18n/fr.po | 123 +++++++++++++++++ account_invoice_start_end_dates/i18n/hr.po | 125 +++++++++++++++++ account_invoice_start_end_dates/i18n/hr_HR.po | 126 ++++++++++++++++++ account_invoice_start_end_dates/i18n/it.po | 125 +++++++++++++++++ account_invoice_start_end_dates/i18n/nl_NL.po | 125 +++++++++++++++++ .../models/account_invoice.py | 4 +- .../models/account_move_line.py | 4 +- .../models/product.py | 2 +- .../tests/test_invoice_start_end_dates.py | 6 +- 11 files changed, 634 insertions(+), 10 deletions(-) rename account_invoice_start_end_dates/{__openerp__.py => __manifest__.py} (95%) create mode 100644 account_invoice_start_end_dates/i18n/fr.po create mode 100644 account_invoice_start_end_dates/i18n/hr.po create mode 100644 account_invoice_start_end_dates/i18n/hr_HR.po create mode 100644 account_invoice_start_end_dates/i18n/it.po create mode 100644 account_invoice_start_end_dates/i18n/nl_NL.po diff --git a/account_invoice_start_end_dates/README.rst b/account_invoice_start_end_dates/README.rst index a6b8d3c407a..59efcd48351 100644 --- a/account_invoice_start_end_dates/README.rst +++ b/account_invoice_start_end_dates/README.rst @@ -21,7 +21,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/89/9.0 + :target: https://runbot.odoo-community.org/runbot/89/10.0 Known issues / Roadmap diff --git a/account_invoice_start_end_dates/__openerp__.py b/account_invoice_start_end_dates/__manifest__.py similarity index 95% rename from account_invoice_start_end_dates/__openerp__.py rename to account_invoice_start_end_dates/__manifest__.py index 7414168afd2..5182b20884e 100644 --- a/account_invoice_start_end_dates/__openerp__.py +++ b/account_invoice_start_end_dates/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'Account Invoice Start End Dates', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Accounting & Finance', 'license': 'AGPL-3', 'summary': 'Adds start/end dates on invoice lines and move lines', diff --git a/account_invoice_start_end_dates/i18n/fr.po b/account_invoice_start_end_dates/i18n/fr.po new file mode 100644 index 00000000000..167839a9b69 --- /dev/null +++ b/account_invoice_start_end_dates/i18n/fr.po @@ -0,0 +1,123 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_start_end_dates +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-17 01:36+0000\n" +"PO-Revision-Date: 2016-11-17 01:36+0000\n" +"Last-Translator: OCA Transbot , 2016\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_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +msgid "Car Insurance" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +msgid "End Date" +msgstr "Fin" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice_line +msgid "Invoice Line" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +msgid "Maintenance contract" +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:23 +#, python-format +msgid "Missing End Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:21 +#, python-format +msgid "Missing End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:86 +#, python-format +msgid "" +"Missing Start Date and End Date for invoice line with Product '%s' which has" +" the property 'Must Have Start and End Dates'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:28 +#, python-format +msgid "Missing Start Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:25 +#, python-format +msgid "Missing Start Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_product_template +msgid "Product Template" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +msgid "Start Date" +msgstr "Début" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:29 +#, python-format +msgid "Start Date should be before End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for invoice line with" +" Description '%s'." +msgstr "" diff --git a/account_invoice_start_end_dates/i18n/hr.po b/account_invoice_start_end_dates/i18n/hr.po new file mode 100644 index 00000000000..be0426ae57d --- /dev/null +++ b/account_invoice_start_end_dates/i18n/hr.po @@ -0,0 +1,125 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_start_end_dates +# +# Translators: +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-30 22:21+0000\n" +"PO-Revision-Date: 2017-06-30 22:21+0000\n" +"Last-Translator: Bole , 2017\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_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +msgid "Car Insurance" +msgstr "Osiguranje automobila" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +msgid "End Date" +msgstr "Završni datum" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice +msgid "Invoice" +msgstr "Račun" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice_line +msgid "Invoice Line" +msgstr "Stavka računa" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_move_line +msgid "Journal Item" +msgstr "Stavka dnevnika" + +#. module: account_invoice_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +msgid "Maintenance contract" +msgstr "Ugovor o održavanju" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:23 +#, python-format +msgid "Missing End Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:21 +#, python-format +msgid "Missing End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:86 +#, python-format +msgid "" +"Missing Start Date and End Date for invoice line with Product '%s' which has" +" the property 'Must Have Start and End Dates'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:28 +#, python-format +msgid "Missing Start Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:25 +#, python-format +msgid "Missing Start Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "Must Have Start and End Dates" +msgstr "Mora imati početni i završni datum" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_product_template +msgid "Product Template" +msgstr "Predložak proizvoda" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +msgid "Start Date" +msgstr "Početni datum" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:29 +#, python-format +msgid "Start Date should be before End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for invoice line with" +" Description '%s'." +msgstr "" diff --git a/account_invoice_start_end_dates/i18n/hr_HR.po b/account_invoice_start_end_dates/i18n/hr_HR.po new file mode 100644 index 00000000000..ab6563c3575 --- /dev/null +++ b/account_invoice_start_end_dates/i18n/hr_HR.po @@ -0,0 +1,126 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_start_end_dates +# +# 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-04-29 10:40+0000\n" +"PO-Revision-Date: 2017-04-29 10:40+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_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +msgid "Car Insurance" +msgstr "Osiguranje vozila" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +msgid "End Date" +msgstr "Datum završetka" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice +msgid "Invoice" +msgstr "Račun" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice_line +msgid "Invoice Line" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +msgid "Maintenance contract" +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:23 +#, python-format +msgid "Missing End Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:21 +#, python-format +msgid "Missing End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:86 +#, python-format +msgid "" +"Missing Start Date and End Date for invoice line with Product '%s' which has" +" the property 'Must Have Start and End Dates'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:28 +#, python-format +msgid "Missing Start Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:25 +#, python-format +msgid "Missing Start Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_product_template +msgid "Product Template" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +msgid "Start Date" +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:29 +#, python-format +msgid "Start Date should be before End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for invoice line with" +" Description '%s'." +msgstr "" diff --git a/account_invoice_start_end_dates/i18n/it.po b/account_invoice_start_end_dates/i18n/it.po new file mode 100644 index 00000000000..5da264fc0e6 --- /dev/null +++ b/account_invoice_start_end_dates/i18n/it.po @@ -0,0 +1,125 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_start_end_dates +# +# Translators: +# Stefano , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-15 23:09+0000\n" +"PO-Revision-Date: 2017-12-15 23:09+0000\n" +"Last-Translator: Stefano , 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_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +msgid "Car Insurance" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +msgid "End Date" +msgstr "Data Fine" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice +msgid "Invoice" +msgstr "Fattura" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice_line +msgid "Invoice Line" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +msgid "Maintenance contract" +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:23 +#, python-format +msgid "Missing End Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:21 +#, python-format +msgid "Missing End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:86 +#, python-format +msgid "" +"Missing Start Date and End Date for invoice line with Product '%s' which has" +" the property 'Must Have Start and End Dates'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:28 +#, python-format +msgid "Missing Start Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:25 +#, python-format +msgid "Missing Start Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_product_template +msgid "Product Template" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +msgid "Start Date" +msgstr "Data Inizio" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:29 +#, python-format +msgid "Start Date should be before End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for invoice line with" +" Description '%s'." +msgstr "" diff --git a/account_invoice_start_end_dates/i18n/nl_NL.po b/account_invoice_start_end_dates/i18n/nl_NL.po new file mode 100644 index 00000000000..1f1e7a118ea --- /dev/null +++ b/account_invoice_start_end_dates/i18n/nl_NL.po @@ -0,0 +1,125 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_start_end_dates +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-19 22:06+0000\n" +"PO-Revision-Date: 2017-05-19 22:06+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_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +msgid "Car Insurance" +msgstr "Autoverzekering" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +msgid "End Date" +msgstr "Einddatum" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice +msgid "Invoice" +msgstr "Factuur" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice_line +msgid "Invoice Line" +msgstr "Factuurregel" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +msgid "Maintenance contract" +msgstr "Onderhoudscontract" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:23 +#, python-format +msgid "Missing End Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:21 +#, python-format +msgid "Missing End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:86 +#, python-format +msgid "" +"Missing Start Date and End Date for invoice line with Product '%s' which has" +" the property 'Must Have Start and End Dates'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:28 +#, python-format +msgid "Missing Start Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:25 +#, python-format +msgid "Missing Start Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_product_template +msgid "Product Template" +msgstr "Productsjabloon" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +msgid "Start Date" +msgstr "Startdatum" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:29 +#, python-format +msgid "Start Date should be before End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for invoice line with" +" Description '%s'." +msgstr "" diff --git a/account_invoice_start_end_dates/models/account_invoice.py b/account_invoice_start_end_dates/models/account_invoice.py index 514ca007938..55950396811 100644 --- a/account_invoice_start_end_dates/models/account_invoice.py +++ b/account_invoice_start_end_dates/models/account_invoice.py @@ -2,8 +2,8 @@ # © 2013-2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api, _ -from openerp.exceptions import ValidationError, UserError +from odoo import models, fields, api, _ +from odoo.exceptions import ValidationError, UserError class AccountInvoiceLine(models.Model): diff --git a/account_invoice_start_end_dates/models/account_move_line.py b/account_invoice_start_end_dates/models/account_move_line.py index d36cc49080b..e1e2164e9fe 100644 --- a/account_invoice_start_end_dates/models/account_move_line.py +++ b/account_invoice_start_end_dates/models/account_move_line.py @@ -2,8 +2,8 @@ # © 2013-2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields, api, _ -from openerp.exceptions import ValidationError +from odoo import models, fields, api, _ +from odoo.exceptions import ValidationError class AccountMoveLine(models.Model): diff --git a/account_invoice_start_end_dates/models/product.py b/account_invoice_start_end_dates/models/product.py index 4b329ed35be..46ad9f010f3 100644 --- a/account_invoice_start_end_dates/models/product.py +++ b/account_invoice_start_end_dates/models/product.py @@ -2,7 +2,7 @@ # © 2013-2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields +from odoo import models, fields class ProductTemplate(models.Model): diff --git a/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py b/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py index 83bc787be5e..194c5a68797 100644 --- a/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py +++ b/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py @@ -4,8 +4,8 @@ import time -from openerp.tools import float_compare -from openerp.tests.common import TransactionCase +from odoo.tools import float_compare +from odoo.tests.common import TransactionCase class TestInvoiceStartEndDates(TransactionCase): @@ -80,7 +80,7 @@ def test_invoice_with_grouping(self): }), ], }) - invoice.signal_workflow('invoice_open') + invoice.action_invoice_open() self.assertTrue(invoice.move_id) iline_res = { (self._date('01-01'), self._date('12-31')): 2520, From 3cc3842008a14972dfd6c0a7b8250382471694f1 Mon Sep 17 00:00:00 2001 From: oleksandrpaziuk Date: Wed, 3 Jan 2018 20:48:44 +0200 Subject: [PATCH 03/37] account_invoice_start_end_dates: Migration to 11.0 --- account_invoice_start_end_dates/README.rst | 2 +- account_invoice_start_end_dates/__init__.py | 2 - .../__manifest__.py | 10 +- .../demo/product_demo.xml | 42 ++++--- .../models/__init__.py | 2 - .../models/account_invoice.py | 17 +-- .../models/account_move_line.py | 1 - .../models/product.py | 1 - .../tests/__init__.py | 2 - .../tests/test_invoice_start_end_dates.py | 3 +- .../views/account_invoice.xml | 106 +++++++++--------- .../views/account_move.xml | 54 ++++----- .../views/product.xml | 24 ++-- 13 files changed, 120 insertions(+), 146 deletions(-) diff --git a/account_invoice_start_end_dates/README.rst b/account_invoice_start_end_dates/README.rst index 59efcd48351..c7808802d3d 100644 --- a/account_invoice_start_end_dates/README.rst +++ b/account_invoice_start_end_dates/README.rst @@ -21,7 +21,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/89/10.0 + :target: https://runbot.odoo-community.org/runbot/89/11.0 Known issues / Roadmap diff --git a/account_invoice_start_end_dates/__init__.py b/account_invoice_start_end_dates/__init__.py index cde864bae21..0650744f6bc 100644 --- a/account_invoice_start_end_dates/__init__.py +++ b/account_invoice_start_end_dates/__init__.py @@ -1,3 +1 @@ -# -*- coding: utf-8 -*- - from . import models diff --git a/account_invoice_start_end_dates/__manifest__.py b/account_invoice_start_end_dates/__manifest__.py index 5182b20884e..a152274df20 100644 --- a/account_invoice_start_end_dates/__manifest__.py +++ b/account_invoice_start_end_dates/__manifest__.py @@ -1,16 +1,18 @@ -# -*- coding: utf-8 -*- # © 2016 Akretion (Alexis de Lattre ) +# © 2018 CampToCamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Account Invoice Start End Dates', - 'version': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'category': 'Accounting & Finance', 'license': 'AGPL-3', 'summary': 'Adds start/end dates on invoice lines and move lines', 'author': 'Akretion,Odoo Community Association (OCA)', - 'website': 'http://www.akretion.com', - 'depends': ['account'], + 'website': 'https://github.com/OCA/account-closing', + 'depends': [ + 'account', + ], 'data': [ 'views/account_invoice.xml', 'views/account_move.xml', diff --git a/account_invoice_start_end_dates/demo/product_demo.xml b/account_invoice_start_end_dates/demo/product_demo.xml index 24df64c6850..def91d3b463 100644 --- a/account_invoice_start_end_dates/demo/product_demo.xml +++ b/account_invoice_start_end_dates/demo/product_demo.xml @@ -6,28 +6,26 @@ + + Car Insurance + CARINSUR + service + + + + + + - - Car Insurance - CARINSUR - service - - - - - - - - - Maintenance contract - MAINTENANCE - service - - - - - - - + + Maintenance contract + MAINTENANCE + service + + + + + + diff --git a/account_invoice_start_end_dates/models/__init__.py b/account_invoice_start_end_dates/models/__init__.py index bfb477db2c9..2df48371560 100644 --- a/account_invoice_start_end_dates/models/__init__.py +++ b/account_invoice_start_end_dates/models/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from . import product from . import account_invoice from . import account_move_line diff --git a/account_invoice_start_end_dates/models/account_invoice.py b/account_invoice_start_end_dates/models/account_invoice.py index 55950396811..9f1dd6e3f61 100644 --- a/account_invoice_start_end_dates/models/account_invoice.py +++ b/account_invoice_start_end_dates/models/account_invoice.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2013-2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -12,7 +11,8 @@ class AccountInvoiceLine(models.Model): start_date = fields.Date('Start Date') end_date = fields.Date('End Date') must_have_dates = fields.Boolean( - related='product_id.must_have_dates', readonly=True) + related='product_id.must_have_dates', readonly=True + ) @api.multi @api.constrains('start_date', 'end_date') @@ -47,19 +47,20 @@ class AccountInvoice(models.Model): def inv_line_characteristic_hashcode(self, invoice_line): """Add start and end dates to hashcode used when the option "Group Invoice Lines" is active on the Account Journal""" - code = super(AccountInvoice, self).inv_line_characteristic_hashcode( - invoice_line) + code = super().inv_line_characteristic_hashcode( + invoice_line + ) hashcode = '%s-%s-%s' % ( code, invoice_line.get('start_date', 'False'), invoice_line.get('end_date', 'False'), - ) + ) return hashcode @api.model def line_get_convert(self, line, part): """Copy from invoice to move lines""" - res = super(AccountInvoice, self).line_get_convert(line, part) + res = super().line_get_convert(line, part) res['start_date'] = line.get('start_date', False) res['end_date'] = line.get('end_date', False) return res @@ -67,7 +68,7 @@ def line_get_convert(self, line, part): @api.model def invoice_line_move_line_get(self): """Copy from invoice line to move lines""" - res = super(AccountInvoice, self).invoice_line_move_line_get() + res = super().invoice_line_move_line_get() ailo = self.env['account.invoice.line'] for move_line_dict in res: iline = ailo.browse(move_line_dict['invl_id']) @@ -88,4 +89,4 @@ def action_move_create(self): "line with Product '%s' which has the " "property 'Must Have Start and End Dates'.") % (iline.product_id.name)) - return super(AccountInvoice, self).action_move_create() + return super().action_move_create() diff --git a/account_invoice_start_end_dates/models/account_move_line.py b/account_invoice_start_end_dates/models/account_move_line.py index e1e2164e9fe..41568321fa6 100644 --- a/account_invoice_start_end_dates/models/account_move_line.py +++ b/account_invoice_start_end_dates/models/account_move_line.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2013-2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/account_invoice_start_end_dates/models/product.py b/account_invoice_start_end_dates/models/product.py index 46ad9f010f3..faed80e1431 100644 --- a/account_invoice_start_end_dates/models/product.py +++ b/account_invoice_start_end_dates/models/product.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2013-2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/account_invoice_start_end_dates/tests/__init__.py b/account_invoice_start_end_dates/tests/__init__.py index 85a30b83cdc..725dfa883d6 100644 --- a/account_invoice_start_end_dates/tests/__init__.py +++ b/account_invoice_start_end_dates/tests/__init__.py @@ -1,3 +1 @@ -# -*- coding: utf-8 -*- - from . import test_invoice_start_end_dates diff --git a/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py b/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py index 194c5a68797..a7356b99d48 100644 --- a/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py +++ b/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -11,7 +10,7 @@ class TestInvoiceStartEndDates(TransactionCase): def setUp(self): - super(TestInvoiceStartEndDates, self).setUp() + super().setUp() self.inv_model = self.env['account.invoice'] self.account_model = self.env['account.account'] self.journal_model = self.env['account.journal'] diff --git a/account_invoice_start_end_dates/views/account_invoice.xml b/account_invoice_start_end_dates/views/account_invoice.xml index c1d40bf71ec..91b5b50a208 100644 --- a/account_invoice_start_end_dates/views/account_invoice.xml +++ b/account_invoice_start_end_dates/views/account_invoice.xml @@ -6,68 +6,66 @@ + + prepaid.cutoff.invoice_form + account.invoice + + + + + + + + + - - prepaid.cutoff.invoice_form - account.invoice - - - - - - - - - - - - prepaid.cutoff.invoice_supplier_form - account.invoice - - - - - - - - - - - - prepaid.cutoff.invoice_line_form - account.invoice.line - - - - + + prepaid.cutoff.invoice_supplier_form + account.invoice + + + - - - - + + + - - prepaid.cutoff.invoice_line_tree - account.invoice.line - - - - - - + + prepaid.cutoff.invoice_line_form + account.invoice.line + + + + + + + + + - - + + + prepaid.cutoff.invoice_line_tree + account.invoice.line + + + + + + + + + diff --git a/account_invoice_start_end_dates/views/account_move.xml b/account_invoice_start_end_dates/views/account_move.xml index ceeaa467136..87688ade643 100644 --- a/account_invoice_start_end_dates/views/account_move.xml +++ b/account_invoice_start_end_dates/views/account_move.xml @@ -6,42 +6,28 @@ - - - invoice.start.end.dates.view_move_line_form - account.move.line - - - - - + + invoice.start.end.dates.view_move_line_form + account.move.line + + + + + + - - + - - invoice.start.end.dates.view_move_line_form2 - account.move.line - - - - - + + prepaid.cutoff.start.end.date.view_move_form + account.move + + + + + + - - - - - prepaid.cutoff.start.end.date.view_move_form - account.move - - - - - - - - - + diff --git a/account_invoice_start_end_dates/views/product.xml b/account_invoice_start_end_dates/views/product.xml index 5b14525146a..5f3a30975b2 100644 --- a/account_invoice_start_end_dates/views/product.xml +++ b/account_invoice_start_end_dates/views/product.xml @@ -6,19 +6,17 @@ - - - add.must.have.dates.on.product.template.form - product.template - - - - - + + add.must.have.dates.on.product.template.form + product.template + + + + + + - - - - + + From e5e17832a7e08cf804b60cea7ed69ebb66e1b113 Mon Sep 17 00:00:00 2001 From: mpanarin Date: Wed, 17 Jan 2018 20:26:44 +0200 Subject: [PATCH 04/37] Savepoint tests invoice_start --- .../__manifest__.py | 4 +-- .../demo/product_demo.xml | 2 +- .../models/account_invoice.py | 2 +- .../models/account_move_line.py | 2 +- .../models/product.py | 2 +- .../tests/test_invoice_start_end_dates.py | 33 ++++++++++--------- .../views/account_invoice.xml | 2 +- .../views/account_move.xml | 2 +- .../views/product.xml | 2 +- 9 files changed, 26 insertions(+), 25 deletions(-) diff --git a/account_invoice_start_end_dates/__manifest__.py b/account_invoice_start_end_dates/__manifest__.py index a152274df20..38d163bc9ef 100644 --- a/account_invoice_start_end_dates/__manifest__.py +++ b/account_invoice_start_end_dates/__manifest__.py @@ -1,5 +1,5 @@ -# © 2016 Akretion (Alexis de Lattre ) -# © 2018 CampToCamp SA +# Copyright 2016 Akretion, Alexis de Lattre +# Copyright 2018 Camptocamp # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { diff --git a/account_invoice_start_end_dates/demo/product_demo.xml b/account_invoice_start_end_dates/demo/product_demo.xml index def91d3b463..699511abce3 100644 --- a/account_invoice_start_end_dates/demo/product_demo.xml +++ b/account_invoice_start_end_dates/demo/product_demo.xml @@ -1,6 +1,6 @@ diff --git a/account_invoice_start_end_dates/models/account_invoice.py b/account_invoice_start_end_dates/models/account_invoice.py index 9f1dd6e3f61..4b50598b948 100644 --- a/account_invoice_start_end_dates/models/account_invoice.py +++ b/account_invoice_start_end_dates/models/account_invoice.py @@ -1,4 +1,4 @@ -# © 2013-2016 Akretion (Alexis de Lattre ) +# Copyright 2013-2016 Akretion, Alexis de Lattre # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models, fields, api, _ diff --git a/account_invoice_start_end_dates/models/account_move_line.py b/account_invoice_start_end_dates/models/account_move_line.py index 41568321fa6..903bb984c52 100644 --- a/account_invoice_start_end_dates/models/account_move_line.py +++ b/account_invoice_start_end_dates/models/account_move_line.py @@ -1,4 +1,4 @@ -# © 2013-2016 Akretion (Alexis de Lattre ) +# Copyright 2013-2016 Akretion, Alexis de Lattre # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models, fields, api, _ diff --git a/account_invoice_start_end_dates/models/product.py b/account_invoice_start_end_dates/models/product.py index faed80e1431..ef72ae7deac 100644 --- a/account_invoice_start_end_dates/models/product.py +++ b/account_invoice_start_end_dates/models/product.py @@ -1,4 +1,4 @@ -# © 2013-2016 Akretion (Alexis de Lattre ) +# Copyright 2013-2016 Akretion, Alexis de Lattre # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models, fields diff --git a/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py b/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py index a7356b99d48..9d9a5430531 100644 --- a/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py +++ b/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py @@ -1,33 +1,34 @@ -# © 2016 Akretion (Alexis de Lattre ) +# Copyright 2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). import time from odoo.tools import float_compare -from odoo.tests.common import TransactionCase +from odoo.tests.common import SavepointCase -class TestInvoiceStartEndDates(TransactionCase): +class TestInvoiceStartEndDates(SavepointCase): - def setUp(self): - super().setUp() - self.inv_model = self.env['account.invoice'] - self.account_model = self.env['account.account'] - self.journal_model = self.env['account.journal'] - self.account_revenue = self.account_model.search([( + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.inv_model = cls.env['account.invoice'] + cls.account_model = cls.env['account.account'] + cls.journal_model = cls.env['account.journal'] + cls.account_revenue = cls.account_model.search([( 'user_type_id', '=', - self.env.ref('account.data_account_type_revenue').id)], limit=1) - self.account_receivable = self.account_model.search([( + cls.env.ref('account.data_account_type_revenue').id)], limit=1) + cls.account_receivable = cls.account_model.search([( 'user_type_id', '=', - self.env.ref('account.data_account_type_receivable').id)], limit=1) - self.cutoff_journal = self.journal_model.search([], limit=1) - self.sale_journal = self.journal_model.search([( + cls.env.ref('account.data_account_type_receivable').id)], limit=1) + cls.cutoff_journal = cls.journal_model.search([], limit=1) + cls.sale_journal = cls.journal_model.search([( 'type', '=', 'sale')], limit=1) # enable grouping on sale journal - self.sale_journal.group_invoice_lines = True - self.maint_product = self.env.ref( + cls.sale_journal.group_invoice_lines = True + cls.maint_product = cls.env.ref( 'account_invoice_start_end_dates.product_maintenance_contrat') def _date(self, date): diff --git a/account_invoice_start_end_dates/views/account_invoice.xml b/account_invoice_start_end_dates/views/account_invoice.xml index 91b5b50a208..a0b7476403e 100644 --- a/account_invoice_start_end_dates/views/account_invoice.xml +++ b/account_invoice_start_end_dates/views/account_invoice.xml @@ -1,6 +1,6 @@ diff --git a/account_invoice_start_end_dates/views/account_move.xml b/account_invoice_start_end_dates/views/account_move.xml index 87688ade643..f400e1075b9 100644 --- a/account_invoice_start_end_dates/views/account_move.xml +++ b/account_invoice_start_end_dates/views/account_move.xml @@ -1,6 +1,6 @@ diff --git a/account_invoice_start_end_dates/views/product.xml b/account_invoice_start_end_dates/views/product.xml index 5f3a30975b2..27593686a4e 100644 --- a/account_invoice_start_end_dates/views/product.xml +++ b/account_invoice_start_end_dates/views/product.xml @@ -1,6 +1,6 @@ From acf044378bca4b8d2b8b8ee849dc92c8b063cbd3 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 3 Feb 2018 00:07:38 +0100 Subject: [PATCH 05/37] OCA Transbot updated translations from Transifex --- .../i18n/account_invoice_start_end_dates.pot | 115 +++++++++++++++ account_invoice_start_end_dates/i18n/fr.po | 63 +++++---- account_invoice_start_end_dates/i18n/hr.po | 23 +-- account_invoice_start_end_dates/i18n/hr_HR.po | 26 ++-- account_invoice_start_end_dates/i18n/it.po | 20 +-- account_invoice_start_end_dates/i18n/nl_NL.po | 23 +-- account_invoice_start_end_dates/i18n/pt.po | 133 ++++++++++++++++++ 7 files changed, 334 insertions(+), 69 deletions(-) create mode 100644 account_invoice_start_end_dates/i18n/account_invoice_start_end_dates.pot create mode 100644 account_invoice_start_end_dates/i18n/pt.po diff --git a/account_invoice_start_end_dates/i18n/account_invoice_start_end_dates.pot b/account_invoice_start_end_dates/i18n/account_invoice_start_end_dates.pot new file mode 100644 index 00000000000..1fab0678089 --- /dev/null +++ b/account_invoice_start_end_dates/i18n/account_invoice_start_end_dates.pot @@ -0,0 +1,115 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_start_end_dates +# +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_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +msgid "Car Insurance" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +msgid "End Date" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "If this option is active, the user will have to enter a Start Date and an End Date on the invoice lines that have this product." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice_line +msgid "Invoice Line" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +msgid "Maintenance contract" +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:23 +#, python-format +msgid "Missing End Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:20 +#, python-format +msgid "Missing End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:87 +#, python-format +msgid "Missing Start Date and End Date for invoice line with Product '%s' which has the property 'Must Have Start and End Dates'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:28 +#, python-format +msgid "Missing Start Date for invoice line with Description '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:24 +#, python-format +msgid "Missing Start Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "Must Have Start and End Dates" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_product_template +msgid "Product Template" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +msgid "Start Date" +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:28 +#, python-format +msgid "Start Date should be before End Date for move line with Name '%s'." +msgstr "" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 +#, python-format +msgid "Start Date should be before or be the same as End Date for invoice line with Description '%s'." +msgstr "" + diff --git a/account_invoice_start_end_dates/i18n/fr.po b/account_invoice_start_end_dates/i18n/fr.po index 167839a9b69..521cce63787 100644 --- a/account_invoice_start_end_dates/i18n/fr.po +++ b/account_invoice_start_end_dates/i18n/fr.po @@ -1,42 +1,46 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_start_end_dates -# +# # Translators: -# OCA Transbot , 2016 +# Quentin THEURET , 2018 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-17 01:36+0000\n" -"PO-Revision-Date: 2016-11-17 01:36+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2018-01-27 03:39+0000\n" +"PO-Revision-Date: 2018-01-27 03:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_start_end_dates #: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat #: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template msgid "Car Insurance" -msgstr "" +msgstr "Assurance voiture" #. module: account_invoice_start_end_dates #: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date #: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date msgid "End Date" -msgstr "Fin" +msgstr "Date de fin" #. module: account_invoice_start_end_dates #: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates #: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates msgid "" "If this option is active, the user will have to enter a Start Date and an " "End Date on the invoice lines that have this product." msgstr "" +"Si cette option est activée, l'utilisateur aura à entrer une date de " +"démarrage et une date de fin sur les lignes de facture qui ont ce produit." #. module: account_invoice_start_end_dates #: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice @@ -46,78 +50,87 @@ msgstr "Facture" #. module: account_invoice_start_end_dates #: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice_line msgid "Invoice Line" -msgstr "" +msgstr "Ligne de facture" #. module: account_invoice_start_end_dates #: model:ir.model,name:account_invoice_start_end_dates.model_account_move_line msgid "Journal Item" -msgstr "" +msgstr "Écritures comptables" #. module: account_invoice_start_end_dates #: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat #: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template msgid "Maintenance contract" -msgstr "" +msgstr "Contrat de maintenance" #. module: account_invoice_start_end_dates #: code:addons/account_invoice_start_end_dates/models/account_invoice.py:23 #, python-format msgid "Missing End Date for invoice line with Description '%s'." msgstr "" +"Date de fin manquante pour les lignes de facture avec la description '%s'." #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:21 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:20 #, python-format msgid "Missing End Date for move line with Name '%s'." -msgstr "" +msgstr "Date de fin manquante pour les écritures avec le nom '%s'." #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:86 +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:87 #, python-format msgid "" -"Missing Start Date and End Date for invoice line with Product '%s' which has" -" the property 'Must Have Start and End Dates'." +"Missing Start Date and End Date for invoice line with Product '%s' which has " +"the property 'Must Have Start and End Dates'." msgstr "" +"Date de début et de fin manquantes pour les lignes de facture avec le " +"produit '%s' qui ont la propriété 'Doit avoir des dates de début et de fin'." #. module: account_invoice_start_end_dates #: code:addons/account_invoice_start_end_dates/models/account_invoice.py:28 #, python-format msgid "Missing Start Date for invoice line with Description '%s'." msgstr "" +"Date de début manquante pour les lignes de facture avec la description '%s'." #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:25 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:24 #, python-format msgid "Missing Start Date for move line with Name '%s'." -msgstr "" +msgstr "Date de début manquante pour les écritures avec le nom '%s'." #. module: account_invoice_start_end_dates #: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates #: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates msgid "Must Have Start and End Dates" -msgstr "" +msgstr "Doit avoir des dates de début et de fin" #. module: account_invoice_start_end_dates #: model:ir.model,name:account_invoice_start_end_dates.model_product_template msgid "Product Template" -msgstr "" +msgstr "Modèle de produit" #. module: account_invoice_start_end_dates #: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date #: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date msgid "Start Date" -msgstr "Début" +msgstr "Date de début" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:29 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:28 #, python-format msgid "Start Date should be before End Date for move line with Name '%s'." msgstr "" +"La date de début doit être antérieure à la date de fin pour les écritures " +"avec le nom '%s'." #. module: account_invoice_start_end_dates #: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 #, python-format msgid "" -"Start Date should be before or be the same as End Date for invoice line with" -" Description '%s'." +"Start Date should be before or be the same as End Date for invoice line with " +"Description '%s'." msgstr "" +"La date de début doit être antérieure ou la même que la date de fin pour les " +"lignes de facture avec la description '%s'." diff --git a/account_invoice_start_end_dates/i18n/hr.po b/account_invoice_start_end_dates/i18n/hr.po index be0426ae57d..920e431231f 100644 --- a/account_invoice_start_end_dates/i18n/hr.po +++ b/account_invoice_start_end_dates/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_start_end_dates -# +# # Translators: # Bole , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-06-30 22:21+0000\n" "Last-Translator: Bole , 2017\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_start_end_dates #: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat @@ -67,17 +68,17 @@ msgid "Missing End Date for invoice line with Description '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:21 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:20 #, python-format msgid "Missing End Date for move line with Name '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:86 +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:87 #, python-format msgid "" -"Missing Start Date and End Date for invoice line with Product '%s' which has" -" the property 'Must Have Start and End Dates'." +"Missing Start Date and End Date for invoice line with Product '%s' which has " +"the property 'Must Have Start and End Dates'." msgstr "" #. module: account_invoice_start_end_dates @@ -87,7 +88,7 @@ msgid "Missing Start Date for invoice line with Description '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:25 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:24 #, python-format msgid "Missing Start Date for move line with Name '%s'." msgstr "" @@ -111,7 +112,7 @@ msgid "Start Date" msgstr "Početni datum" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:29 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:28 #, python-format msgid "Start Date should be before End Date for move line with Name '%s'." msgstr "" @@ -120,6 +121,6 @@ msgstr "" #: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 #, python-format msgid "" -"Start Date should be before or be the same as End Date for invoice line with" -" Description '%s'." +"Start Date should be before or be the same as End Date for invoice line with " +"Description '%s'." msgstr "" diff --git a/account_invoice_start_end_dates/i18n/hr_HR.po b/account_invoice_start_end_dates/i18n/hr_HR.po index ab6563c3575..1f2dd3f151e 100644 --- a/account_invoice_start_end_dates/i18n/hr_HR.po +++ b/account_invoice_start_end_dates/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_start_end_dates -# +# # Translators: # OCA Transbot , 2017 # Bole , 2017 @@ -12,12 +12,14 @@ msgstr "" "POT-Creation-Date: 2017-04-29 10:40+0000\n" "PO-Revision-Date: 2017-04-29 10:40+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_start_end_dates #: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat @@ -68,17 +70,17 @@ msgid "Missing End Date for invoice line with Description '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:21 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:20 #, python-format msgid "Missing End Date for move line with Name '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:86 +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:87 #, python-format msgid "" -"Missing Start Date and End Date for invoice line with Product '%s' which has" -" the property 'Must Have Start and End Dates'." +"Missing Start Date and End Date for invoice line with Product '%s' which has " +"the property 'Must Have Start and End Dates'." msgstr "" #. module: account_invoice_start_end_dates @@ -88,7 +90,7 @@ msgid "Missing Start Date for invoice line with Description '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:25 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:24 #, python-format msgid "Missing Start Date for move line with Name '%s'." msgstr "" @@ -112,7 +114,7 @@ msgid "Start Date" msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:29 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:28 #, python-format msgid "Start Date should be before End Date for move line with Name '%s'." msgstr "" @@ -121,6 +123,6 @@ msgstr "" #: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 #, python-format msgid "" -"Start Date should be before or be the same as End Date for invoice line with" -" Description '%s'." +"Start Date should be before or be the same as End Date for invoice line with " +"Description '%s'." msgstr "" diff --git a/account_invoice_start_end_dates/i18n/it.po b/account_invoice_start_end_dates/i18n/it.po index 5da264fc0e6..d9717d250ff 100644 --- a/account_invoice_start_end_dates/i18n/it.po +++ b/account_invoice_start_end_dates/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_start_end_dates -# +# # Translators: # Stefano , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-15 23:09+0000\n" "Last-Translator: Stefano , 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_start_end_dates @@ -67,17 +67,17 @@ msgid "Missing End Date for invoice line with Description '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:21 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:20 #, python-format msgid "Missing End Date for move line with Name '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:86 +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:87 #, python-format msgid "" -"Missing Start Date and End Date for invoice line with Product '%s' which has" -" the property 'Must Have Start and End Dates'." +"Missing Start Date and End Date for invoice line with Product '%s' which has " +"the property 'Must Have Start and End Dates'." msgstr "" #. module: account_invoice_start_end_dates @@ -87,7 +87,7 @@ msgid "Missing Start Date for invoice line with Description '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:25 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:24 #, python-format msgid "Missing Start Date for move line with Name '%s'." msgstr "" @@ -111,7 +111,7 @@ msgid "Start Date" msgstr "Data Inizio" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:29 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:28 #, python-format msgid "Start Date should be before End Date for move line with Name '%s'." msgstr "" @@ -120,6 +120,6 @@ msgstr "" #: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 #, python-format msgid "" -"Start Date should be before or be the same as End Date for invoice line with" -" Description '%s'." +"Start Date should be before or be the same as End Date for invoice line with " +"Description '%s'." msgstr "" diff --git a/account_invoice_start_end_dates/i18n/nl_NL.po b/account_invoice_start_end_dates/i18n/nl_NL.po index 1f1e7a118ea..07ac94cba70 100644 --- a/account_invoice_start_end_dates/i18n/nl_NL.po +++ b/account_invoice_start_end_dates/i18n/nl_NL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_start_end_dates -# +# # Translators: # Peter Hageman , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-19 22:06+0000\n" "PO-Revision-Date: 2017-05-19 22:06+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_start_end_dates @@ -67,17 +68,17 @@ msgid "Missing End Date for invoice line with Description '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:21 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:20 #, python-format msgid "Missing End Date for move line with Name '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:86 +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:87 #, python-format msgid "" -"Missing Start Date and End Date for invoice line with Product '%s' which has" -" the property 'Must Have Start and End Dates'." +"Missing Start Date and End Date for invoice line with Product '%s' which has " +"the property 'Must Have Start and End Dates'." msgstr "" #. module: account_invoice_start_end_dates @@ -87,7 +88,7 @@ msgid "Missing Start Date for invoice line with Description '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:25 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:24 #, python-format msgid "Missing Start Date for move line with Name '%s'." msgstr "" @@ -111,7 +112,7 @@ msgid "Start Date" msgstr "Startdatum" #. module: account_invoice_start_end_dates -#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:29 +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:28 #, python-format msgid "Start Date should be before End Date for move line with Name '%s'." msgstr "" @@ -120,6 +121,6 @@ msgstr "" #: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 #, python-format msgid "" -"Start Date should be before or be the same as End Date for invoice line with" -" Description '%s'." +"Start Date should be before or be the same as End Date for invoice line with " +"Description '%s'." msgstr "" diff --git a/account_invoice_start_end_dates/i18n/pt.po b/account_invoice_start_end_dates/i18n/pt.po new file mode 100644 index 00000000000..65463820207 --- /dev/null +++ b/account_invoice_start_end_dates/i18n/pt.po @@ -0,0 +1,133 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_start_end_dates +# +# Translators: +# Pedro Castro Silva , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-23 23:20+0000\n" +"PO-Revision-Date: 2018-03-23 23:20+0000\n" +"Last-Translator: Pedro Castro Silva , 2018\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +msgid "Car Insurance" +msgstr "Seguro automóvel" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +msgid "End Date" +msgstr "Data Final" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "" +"If this option is active, the user will have to enter a Start Date and an " +"End Date on the invoice lines that have this product." +msgstr "" +"Se esta opção está ativa, o utilizador terá que introduzir uma data inicial " +"e final nas linhas da fatura que contenham este produto." + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice +msgid "Invoice" +msgstr "Fatura" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_invoice_line +msgid "Invoice Line" +msgstr "Linha de Fatura" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_account_move_line +msgid "Journal Item" +msgstr "Item de Diário" + +#. module: account_invoice_start_end_dates +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +msgid "Maintenance contract" +msgstr "Contrato de manutenção" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:23 +#, python-format +msgid "Missing End Date for invoice line with Description '%s'." +msgstr "Falta de data de fim para a linha da fatura com a Descrição '%s'." + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:20 +#, python-format +msgid "Missing End Date for move line with Name '%s'." +msgstr "Falta de data de fim para a linha de diário com o Nome '%s'." + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:87 +#, python-format +msgid "" +"Missing Start Date and End Date for invoice line with Product '%s' which has " +"the property 'Must Have Start and End Dates'." +msgstr "" +"Falta de data de inicio e de fim para a linha da fatura com a Descrição '%s' " +"que tem a propriedade 'Deve ter data de início e fim' ativada." + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:28 +#, python-format +msgid "Missing Start Date for invoice line with Description '%s'." +msgstr "Falta de data de início para a linha de fatura com a Descrição '%s'." + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:24 +#, python-format +msgid "Missing Start Date for move line with Name '%s'." +msgstr "Falta de data de início para a linha de diário com o Nome '%s'." + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +msgid "Must Have Start and End Dates" +msgstr "Deve ter data de início e fim" + +#. module: account_invoice_start_end_dates +#: model:ir.model,name:account_invoice_start_end_dates.model_product_template +msgid "Product Template" +msgstr "Modelo de Produto" + +#. module: account_invoice_start_end_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +msgid "Start Date" +msgstr "Data de Início" + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:28 +#, python-format +msgid "Start Date should be before End Date for move line with Name '%s'." +msgstr "" +"Data de início deve ser anterior a da data de fim para a linha de diário com " +"o Nome '%s'." + +#. module: account_invoice_start_end_dates +#: code:addons/account_invoice_start_end_dates/models/account_invoice.py:34 +#, python-format +msgid "" +"Start Date should be before or be the same as End Date for invoice line with " +"Description '%s'." +msgstr "" +"Data de início deve ser anterior a da data de fim para a linha de fatura com " +"a Descrição '%s'." From 49094a781bd0a60737e809f76c59dbcc359300c9 Mon Sep 17 00:00:00 2001 From: Jeroen Evens Date: Thu, 6 Dec 2018 17:14:16 +0100 Subject: [PATCH 06/37] account_invoice_start_end_dates: Migration to 12.0 account_invoice_start_end_dates: fixing tests fixing product not found convert mline dates to string fixing flake8 account_invoice_start_end_dates: fixing tests fixing product not found convert mline dates to string fixing flake8 putting removed licences back fix tests fix flake8 fix pylint issues [12.0-mig-account] fix unit tests fixup! [12.0-mig-account] fix unit tests fixup! fixup! [12.0-mig-account] fix unit tests --- account_invoice_start_end_dates/README.rst | 74 +-- account_invoice_start_end_dates/__init__.py | 2 + .../__manifest__.py | 2 +- .../demo/product_demo.xml | 5 +- .../models/__init__.py | 2 + .../models/account_invoice.py | 8 +- .../models/account_move_line.py | 8 +- .../models/product.py | 2 +- .../readme/CONTRIBUTORS.rst | 2 + .../readme/DESCRIPTION.rst | 9 + .../static/description/index.html | 426 ++++++++++++++++++ .../tests/__init__.py | 2 + .../tests/test_invoice_start_end_dates.py | 16 +- .../views/account_invoice.xml | 3 - .../views/account_move.xml | 2 - .../views/product.xml | 3 - 16 files changed, 511 insertions(+), 55 deletions(-) create mode 100644 account_invoice_start_end_dates/readme/CONTRIBUTORS.rst create mode 100644 account_invoice_start_end_dates/readme/DESCRIPTION.rst create mode 100644 account_invoice_start_end_dates/static/description/index.html diff --git a/account_invoice_start_end_dates/README.rst b/account_invoice_start_end_dates/README.rst index c7808802d3d..a80f3634a4d 100644 --- a/account_invoice_start_end_dates/README.rst +++ b/account_invoice_start_end_dates/README.rst @@ -1,10 +1,26 @@ -.. 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 - -======================= -Invoice Start/End Dates -======================= +=============================== +Account Invoice Start End Dates +=============================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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--closing/-lightgray.png?logo=github + :target: https://github.com/OCA/account-closing//tree/12.0-migration-account_invoice_start_end_dates/account_invoice_start_end_dates + :alt: OCA/account-closing/ +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-closing/-12-0-migration-account_invoice_start_end_dates/account-closing/-12-0-migration-account_invoice_start_end_dates-account_invoice_start_end_dates + :alt: Translate me on Weblate + +|badge1| |badge2| |badge3| |badge4| This module adds the fields *Start Date* and *End Date* on invoice lines. When you validate the invoice, the information is copied from invoice lines to account move lines (if you enabled the grouping option on the related journal, Odoo will not group invoice lines that have different start/end dates). @@ -16,46 +32,48 @@ If you use this module, you may also be interested in 2 other modules: * the module *account_cutoff_prepaid* (same repository): this module allows easy computation of prepaid expenses and prepaid revenues. -Usage -===== - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/89/11.0 - +**Table of contents** -Known issues / Roadmap -====================== - -* Add the start/end date field on the Qweb invoice report. +.. contents:: + :local: Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. +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 +~~~~~~~ + +* Akretion + Contributors ------------- +~~~~~~~~~~~~ * Alexis de Lattre +* Jeroen Evens + +Maintainers +~~~~~~~~~~~ -Maintainer ----------- +This module is maintained by the OCA. .. 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. +This module is part of the `OCA/account-closing/ `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_invoice_start_end_dates/__init__.py b/account_invoice_start_end_dates/__init__.py index 0650744f6bc..06f92bdb6cb 100644 --- a/account_invoice_start_end_dates/__init__.py +++ b/account_invoice_start_end_dates/__init__.py @@ -1 +1,3 @@ +# Copyright 2013-2016 Akretion, Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models diff --git a/account_invoice_start_end_dates/__manifest__.py b/account_invoice_start_end_dates/__manifest__.py index 38d163bc9ef..f9def5e2f6c 100644 --- a/account_invoice_start_end_dates/__manifest__.py +++ b/account_invoice_start_end_dates/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'Account Invoice Start End Dates', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'category': 'Accounting & Finance', 'license': 'AGPL-3', 'summary': 'Adds start/end dates on invoice lines and move lines', diff --git a/account_invoice_start_end_dates/demo/product_demo.xml b/account_invoice_start_end_dates/demo/product_demo.xml index 699511abce3..1337dc811d6 100644 --- a/account_invoice_start_end_dates/demo/product_demo.xml +++ b/account_invoice_start_end_dates/demo/product_demo.xml @@ -3,10 +3,9 @@ Copyright 2013-2016 Akretion, Alexis de Lattre License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> - - + Car Insurance CARINSUR service @@ -17,7 +16,7 @@ - + Maintenance contract MAINTENANCE service diff --git a/account_invoice_start_end_dates/models/__init__.py b/account_invoice_start_end_dates/models/__init__.py index 2df48371560..faa37ec5bef 100644 --- a/account_invoice_start_end_dates/models/__init__.py +++ b/account_invoice_start_end_dates/models/__init__.py @@ -1,3 +1,5 @@ +# Copyright 2013-2016 Akretion, Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import product from . import account_invoice from . import account_move_line diff --git a/account_invoice_start_end_dates/models/account_invoice.py b/account_invoice_start_end_dates/models/account_invoice.py index 4b50598b948..393011d3547 100644 --- a/account_invoice_start_end_dates/models/account_invoice.py +++ b/account_invoice_start_end_dates/models/account_invoice.py @@ -1,15 +1,15 @@ # Copyright 2013-2016 Akretion, Alexis de Lattre # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import models, fields, api, _ -from odoo.exceptions import ValidationError, UserError +from odoo import _, api, fields, models +from odoo.exceptions import UserError, ValidationError class AccountInvoiceLine(models.Model): _inherit = 'account.invoice.line' - start_date = fields.Date('Start Date') - end_date = fields.Date('End Date') + start_date = fields.Date() + end_date = fields.Date() must_have_dates = fields.Boolean( related='product_id.must_have_dates', readonly=True ) diff --git a/account_invoice_start_end_dates/models/account_move_line.py b/account_invoice_start_end_dates/models/account_move_line.py index 903bb984c52..804531bcb45 100644 --- a/account_invoice_start_end_dates/models/account_move_line.py +++ b/account_invoice_start_end_dates/models/account_move_line.py @@ -1,15 +1,15 @@ # Copyright 2013-2016 Akretion, Alexis de Lattre # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import models, fields, api, _ +from odoo import _, api, fields, models from odoo.exceptions import ValidationError class AccountMoveLine(models.Model): _inherit = "account.move.line" - start_date = fields.Date('Start Date', index=True) - end_date = fields.Date('End Date', index=True) + start_date = fields.Date(index=True) + end_date = fields.Date(index=True) @api.multi @api.constrains('start_date', 'end_date') @@ -29,5 +29,3 @@ def _check_start_end_dates(self): "Start Date should be before End Date for move line " "with Name '%s'.") % (moveline.name)) - # should we check that it's related to an expense / revenue ? - # -> I don't think so diff --git a/account_invoice_start_end_dates/models/product.py b/account_invoice_start_end_dates/models/product.py index ef72ae7deac..1e035e2bb4a 100644 --- a/account_invoice_start_end_dates/models/product.py +++ b/account_invoice_start_end_dates/models/product.py @@ -1,7 +1,7 @@ # Copyright 2013-2016 Akretion, Alexis de Lattre # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import models, fields +from odoo import fields, models class ProductTemplate(models.Model): diff --git a/account_invoice_start_end_dates/readme/CONTRIBUTORS.rst b/account_invoice_start_end_dates/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..551dbe6c590 --- /dev/null +++ b/account_invoice_start_end_dates/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Alexis de Lattre +* Jeroen Evens diff --git a/account_invoice_start_end_dates/readme/DESCRIPTION.rst b/account_invoice_start_end_dates/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..3dc9083451c --- /dev/null +++ b/account_invoice_start_end_dates/readme/DESCRIPTION.rst @@ -0,0 +1,9 @@ +This module adds the fields *Start Date* and *End Date* on invoice lines. When you validate the invoice, the information is copied from invoice lines to account move lines (if you enabled the grouping option on the related journal, Odoo will not group invoice lines that have different start/end dates). + +It also adds an option *Must Have Start and End Dates* on the product form (in the *Accounting* tab) ; if you enable this option, you will get an error message if you try to validate an invoice that constains such a product on one of its lines and doesn't have start/end dates on that line. + +If you use this module, you may also be interested in 2 other modules: + +* the module *sale_start_end_dates* from the sale-workflow OCA project: this module adds the fields *Start Date* and *End Date* on sale order lines and copies the information from sale order lines to invoice lines. + +* the module *account_cutoff_prepaid* (same repository): this module allows easy computation of prepaid expenses and prepaid revenues. diff --git a/account_invoice_start_end_dates/static/description/index.html b/account_invoice_start_end_dates/static/description/index.html new file mode 100644 index 00000000000..4ada90d3fe4 --- /dev/null +++ b/account_invoice_start_end_dates/static/description/index.html @@ -0,0 +1,426 @@ + + + + + + +Account Invoice Start End Dates + + + +
+

Account Invoice Start End Dates

+ + +

Beta License: AGPL-3 OCA/account-closing/ Translate me on Weblate

+

This module adds the fields Start Date and End Date on invoice lines. When you validate the invoice, the information is copied from invoice lines to account move lines (if you enabled the grouping option on the related journal, Odoo will not group invoice lines that have different start/end dates).

+

It also adds an option Must Have Start and End Dates on the product form (in the Accounting tab) ; if you enable this option, you will get an error message if you try to validate an invoice that constains such a product on one of its lines and doesn’t have start/end dates on that line.

+

If you use this module, you may also be interested in 2 other modules:

+
    +
  • the module sale_start_end_dates from the sale-workflow OCA project: this module adds the fields Start Date and End Date on sale order lines and copies the information from sale order lines to invoice lines.
  • +
  • the module account_cutoff_prepaid (same repository): this module allows easy computation of prepaid expenses and prepaid revenues.
  • +
+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+
+

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-closing/ project on GitHub.

+

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

+
+
+
+ + diff --git a/account_invoice_start_end_dates/tests/__init__.py b/account_invoice_start_end_dates/tests/__init__.py index 725dfa883d6..b0bdb68db83 100644 --- a/account_invoice_start_end_dates/tests/__init__.py +++ b/account_invoice_start_end_dates/tests/__init__.py @@ -1 +1,3 @@ +# Copyright 2013-2016 Akretion, Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_invoice_start_end_dates diff --git a/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py b/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py index 9d9a5430531..55283e877b2 100644 --- a/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py +++ b/account_invoice_start_end_dates/tests/test_invoice_start_end_dates.py @@ -1,12 +1,15 @@ # Copyright 2016 Akretion (Alexis de Lattre ) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - import time -from odoo.tools import float_compare + +from odoo import fields +from odoo.tests import tagged from odoo.tests.common import SavepointCase +from odoo.tools import float_compare +@tagged('-at_install', 'post_install') class TestInvoiceStartEndDates(SavepointCase): @classmethod @@ -29,7 +32,8 @@ def setUpClass(cls): # enable grouping on sale journal cls.sale_journal.group_invoice_lines = True cls.maint_product = cls.env.ref( - 'account_invoice_start_end_dates.product_maintenance_contrat') + 'account_invoice_start_end_dates.' + 'product_maintenance_contract_demo') def _date(self, date): """ convert MM-DD to current year date YYYY-MM-DD """ @@ -72,7 +76,7 @@ def test_invoice_with_grouping(self): }), (0, 0, { 'product_id': - self.env.ref('product.product_product_17').id, + self.env.ref('product.product_product_5').id, 'name': 'HD IPBX', 'price_unit': 215.5, 'quantity': 1, @@ -90,6 +94,8 @@ def test_invoice_with_grouping(self): precision = self.env['decimal.precision'].precision_get('Account') for mline in invoice.move_id.line_ids: if mline.account_id == self.account_revenue: - amount = iline_res.pop((mline.start_date, mline.end_date)) + amount = iline_res.pop( + (fields.Date.to_string(mline.start_date), + fields.Date.to_string(mline.end_date))) self.assertEquals(float_compare( amount, mline.credit, precision_digits=precision), 0) diff --git a/account_invoice_start_end_dates/views/account_invoice.xml b/account_invoice_start_end_dates/views/account_invoice.xml index a0b7476403e..b4624981e6a 100644 --- a/account_invoice_start_end_dates/views/account_invoice.xml +++ b/account_invoice_start_end_dates/views/account_invoice.xml @@ -3,9 +3,7 @@ Copyright 2013-2016 Akretion, Alexis de Lattre License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> - - prepaid.cutoff.invoice_form account.invoice @@ -67,5 +65,4 @@ - diff --git a/account_invoice_start_end_dates/views/account_move.xml b/account_invoice_start_end_dates/views/account_move.xml index f400e1075b9..145992fd0a0 100644 --- a/account_invoice_start_end_dates/views/account_move.xml +++ b/account_invoice_start_end_dates/views/account_move.xml @@ -3,9 +3,7 @@ Copyright 2013-2016 Akretion, Alexis de Lattre License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> - - invoice.start.end.dates.view_move_line_form account.move.line diff --git a/account_invoice_start_end_dates/views/product.xml b/account_invoice_start_end_dates/views/product.xml index 27593686a4e..ac29cee95f8 100644 --- a/account_invoice_start_end_dates/views/product.xml +++ b/account_invoice_start_end_dates/views/product.xml @@ -3,9 +3,7 @@ Copyright 2013-2016 Akretion, Alexis de Lattre License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> - - add.must.have.dates.on.product.template.form product.template @@ -18,5 +16,4 @@ - From d591544efca2cae4631a4d902d5bf4f32d6ca9e5 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 26 Apr 2019 15:34:14 +0000 Subject: [PATCH 07/37] README.rst --- account_invoice_start_end_dates/README.rst | 19 +++++++++++-------- .../static/description/index.html | 8 ++++---- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/account_invoice_start_end_dates/README.rst b/account_invoice_start_end_dates/README.rst index a80f3634a4d..179a89305ce 100644 --- a/account_invoice_start_end_dates/README.rst +++ b/account_invoice_start_end_dates/README.rst @@ -13,14 +13,17 @@ Account Invoice Start End Dates .. |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--closing/-lightgray.png?logo=github - :target: https://github.com/OCA/account-closing//tree/12.0-migration-account_invoice_start_end_dates/account_invoice_start_end_dates - :alt: OCA/account-closing/ +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--closing-lightgray.png?logo=github + :target: https://github.com/OCA/account-closing/tree/12.0/account_invoice_start_end_dates + :alt: OCA/account-closing .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-closing/-12-0-migration-account_invoice_start_end_dates/account-closing/-12-0-migration-account_invoice_start_end_dates-account_invoice_start_end_dates + :target: https://translation.odoo-community.org/projects/account-closing-12-0/account-closing-12-0-account_invoice_start_end_dates :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/89/12.0 + :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| +|badge1| |badge2| |badge3| |badge4| |badge5| This module adds the fields *Start Date* and *End Date* on invoice lines. When you validate the invoice, the information is copied from invoice lines to account move lines (if you enabled the grouping option on the related journal, Odoo will not group invoice lines that have different start/end dates). @@ -40,10 +43,10 @@ If you use this module, you may also be interested in 2 other modules: Bug Tracker =========== -Bugs are tracked on `GitHub Issues `_. +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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -74,6 +77,6 @@ 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-closing/ `_ project on GitHub. +This module is part of the `OCA/account-closing `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_invoice_start_end_dates/static/description/index.html b/account_invoice_start_end_dates/static/description/index.html index 4ada90d3fe4..30f020d7e0d 100644 --- a/account_invoice_start_end_dates/static/description/index.html +++ b/account_invoice_start_end_dates/static/description/index.html @@ -367,7 +367,7 @@

Account Invoice Start End Dates

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/account-closing/ Translate me on Weblate

+

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

This module adds the fields Start Date and End Date on invoice lines. When you validate the invoice, the information is copied from invoice lines to account move lines (if you enabled the grouping option on the related journal, Odoo will not group invoice lines that have different start/end dates).

It also adds an option Must Have Start and End Dates on the product form (in the Accounting tab) ; if you enable this option, you will get an error message if you try to validate an invoice that constains such a product on one of its lines and doesn’t have start/end dates on that line.

If you use this module, you may also be interested in 2 other modules:

@@ -389,10 +389,10 @@

Account Invoice Start End Dates

Bug Tracker

-

Bugs are tracked on GitHub Issues. +

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.

+feedback.

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

@@ -417,7 +417,7 @@

Maintainers

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-closing/ project on GitHub.

+

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

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

From f4c5aa3c75cc65e70407033f716901c8aa7a4bc5 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 26 Apr 2019 15:34:15 +0000 Subject: [PATCH 08/37] icon.png --- .../static/description/icon.png | Bin 0 -> 9455 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 account_invoice_start_end_dates/static/description/icon.png diff --git a/account_invoice_start_end_dates/static/description/icon.png b/account_invoice_start_end_dates/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 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 z 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 Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 From 7836c4cf2e5f42f09c27dc3653536a7360509e7f Mon Sep 17 00:00:00 2001 From: oca-travis Date: Fri, 26 Apr 2019 15:45:16 +0000 Subject: [PATCH 09/37] Update account_invoice_start_end_dates.pot --- .../i18n/account_invoice_start_end_dates.pot | 46 +++++++++++++------ 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/account_invoice_start_end_dates/i18n/account_invoice_start_end_dates.pot b/account_invoice_start_end_dates/i18n/account_invoice_start_end_dates.pot index 1fab0678089..7b8c63e1894 100644 --- a/account_invoice_start_end_dates/i18n/account_invoice_start_end_dates.pot +++ b/account_invoice_start_end_dates/i18n/account_invoice_start_end_dates.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,21 +14,21 @@ msgstr "" "Plural-Forms: \n" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template msgid "Car Insurance" msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__end_date msgid "End Date" msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "If this option is active, the user will have to enter a Start Date and an End Date on the invoice lines that have this product." msgstr "" @@ -48,8 +48,8 @@ msgid "Journal Item" msgstr "" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template msgid "Maintenance contract" msgstr "" @@ -84,9 +84,9 @@ msgid "Missing Start Date for move line with Name '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "Must Have Start and End Dates" msgstr "" @@ -96,8 +96,8 @@ msgid "Product Template" msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__start_date msgid "Start Date" msgstr "" @@ -113,3 +113,19 @@ msgstr "" msgid "Start Date should be before or be the same as End Date for invoice line with Description '%s'." msgstr "" +#. module: account_invoice_start_end_dates +#: model:product.product,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "Unit(s)" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "kg" +msgstr "" + From 3cb344b58c7470f509b553c49aef937363942a46 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Mon, 20 May 2019 20:21:35 +0000 Subject: [PATCH 10/37] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-closing-12.0/account-closing-12.0-account_invoice_start_end_dates Translate-URL: https://translation.odoo-community.org/projects/account-closing-12-0/account-closing-12-0-account_invoice_start_end_dates/ --- account_invoice_start_end_dates/i18n/fr.po | 44 +++++++++++++------ account_invoice_start_end_dates/i18n/hr.po | 44 +++++++++++++------ account_invoice_start_end_dates/i18n/hr_HR.po | 44 +++++++++++++------ account_invoice_start_end_dates/i18n/it.po | 44 +++++++++++++------ account_invoice_start_end_dates/i18n/nl_NL.po | 44 +++++++++++++------ account_invoice_start_end_dates/i18n/pt.po | 44 +++++++++++++------ 6 files changed, 180 insertions(+), 84 deletions(-) diff --git a/account_invoice_start_end_dates/i18n/fr.po b/account_invoice_start_end_dates/i18n/fr.po index 521cce63787..49a9b63e3ef 100644 --- a/account_invoice_start_end_dates/i18n/fr.po +++ b/account_invoice_start_end_dates/i18n/fr.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template msgid "Car Insurance" msgstr "Assurance voiture" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__end_date msgid "End Date" msgstr "Date de fin" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "" "If this option is active, the user will have to enter a Start Date and an " "End Date on the invoice lines that have this product." @@ -58,8 +58,8 @@ msgid "Journal Item" msgstr "Écritures comptables" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template msgid "Maintenance contract" msgstr "Contrat de maintenance" @@ -100,9 +100,9 @@ msgid "Missing Start Date for move line with Name '%s'." msgstr "Date de début manquante pour les écritures avec le nom '%s'." #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "Must Have Start and End Dates" msgstr "Doit avoir des dates de début et de fin" @@ -112,8 +112,8 @@ msgid "Product Template" msgstr "Modèle de produit" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__start_date msgid "Start Date" msgstr "Date de début" @@ -134,3 +134,19 @@ msgid "" msgstr "" "La date de début doit être antérieure ou la même que la date de fin pour les " "lignes de facture avec la description '%s'." + +#. module: account_invoice_start_end_dates +#: model:product.product,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "Unit(s)" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "kg" +msgstr "" diff --git a/account_invoice_start_end_dates/i18n/hr.po b/account_invoice_start_end_dates/i18n/hr.po index 920e431231f..edf98321323 100644 --- a/account_invoice_start_end_dates/i18n/hr.po +++ b/account_invoice_start_end_dates/i18n/hr.po @@ -20,21 +20,21 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template msgid "Car Insurance" msgstr "Osiguranje automobila" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__end_date msgid "End Date" msgstr "Završni datum" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "" "If this option is active, the user will have to enter a Start Date and an " "End Date on the invoice lines that have this product." @@ -56,8 +56,8 @@ msgid "Journal Item" msgstr "Stavka dnevnika" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template msgid "Maintenance contract" msgstr "Ugovor o održavanju" @@ -94,9 +94,9 @@ msgid "Missing Start Date for move line with Name '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "Must Have Start and End Dates" msgstr "Mora imati početni i završni datum" @@ -106,8 +106,8 @@ msgid "Product Template" msgstr "Predložak proizvoda" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__start_date msgid "Start Date" msgstr "Početni datum" @@ -124,3 +124,19 @@ msgid "" "Start Date should be before or be the same as End Date for invoice line with " "Description '%s'." msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "Unit(s)" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "kg" +msgstr "" diff --git a/account_invoice_start_end_dates/i18n/hr_HR.po b/account_invoice_start_end_dates/i18n/hr_HR.po index 1f2dd3f151e..9275f5efc5b 100644 --- a/account_invoice_start_end_dates/i18n/hr_HR.po +++ b/account_invoice_start_end_dates/i18n/hr_HR.po @@ -22,21 +22,21 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template msgid "Car Insurance" msgstr "Osiguranje vozila" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__end_date msgid "End Date" msgstr "Datum završetka" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "" "If this option is active, the user will have to enter a Start Date and an " "End Date on the invoice lines that have this product." @@ -58,8 +58,8 @@ msgid "Journal Item" msgstr "" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template msgid "Maintenance contract" msgstr "" @@ -96,9 +96,9 @@ msgid "Missing Start Date for move line with Name '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "Must Have Start and End Dates" msgstr "" @@ -108,8 +108,8 @@ msgid "Product Template" msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__start_date msgid "Start Date" msgstr "" @@ -126,3 +126,19 @@ msgid "" "Start Date should be before or be the same as End Date for invoice line with " "Description '%s'." msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "Unit(s)" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "kg" +msgstr "" diff --git a/account_invoice_start_end_dates/i18n/it.po b/account_invoice_start_end_dates/i18n/it.po index d9717d250ff..f37740c1cbc 100644 --- a/account_invoice_start_end_dates/i18n/it.po +++ b/account_invoice_start_end_dates/i18n/it.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template msgid "Car Insurance" msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__end_date msgid "End Date" msgstr "Data Fine" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "" "If this option is active, the user will have to enter a Start Date and an " "End Date on the invoice lines that have this product." @@ -55,8 +55,8 @@ msgid "Journal Item" msgstr "" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template msgid "Maintenance contract" msgstr "" @@ -93,9 +93,9 @@ msgid "Missing Start Date for move line with Name '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "Must Have Start and End Dates" msgstr "" @@ -105,8 +105,8 @@ msgid "Product Template" msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__start_date msgid "Start Date" msgstr "Data Inizio" @@ -123,3 +123,19 @@ msgid "" "Start Date should be before or be the same as End Date for invoice line with " "Description '%s'." msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "Unit(s)" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "kg" +msgstr "" diff --git a/account_invoice_start_end_dates/i18n/nl_NL.po b/account_invoice_start_end_dates/i18n/nl_NL.po index 07ac94cba70..6fc7f1e51a8 100644 --- a/account_invoice_start_end_dates/i18n/nl_NL.po +++ b/account_invoice_start_end_dates/i18n/nl_NL.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template msgid "Car Insurance" msgstr "Autoverzekering" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__end_date msgid "End Date" msgstr "Einddatum" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "" "If this option is active, the user will have to enter a Start Date and an " "End Date on the invoice lines that have this product." @@ -56,8 +56,8 @@ msgid "Journal Item" msgstr "" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template msgid "Maintenance contract" msgstr "Onderhoudscontract" @@ -94,9 +94,9 @@ msgid "Missing Start Date for move line with Name '%s'." msgstr "" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "Must Have Start and End Dates" msgstr "" @@ -106,8 +106,8 @@ msgid "Product Template" msgstr "Productsjabloon" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__start_date msgid "Start Date" msgstr "Startdatum" @@ -124,3 +124,19 @@ msgid "" "Start Date should be before or be the same as End Date for invoice line with " "Description '%s'." msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "Unit(s)" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "kg" +msgstr "" diff --git a/account_invoice_start_end_dates/i18n/pt.po b/account_invoice_start_end_dates/i18n/pt.po index 65463820207..3514727fc2e 100644 --- a/account_invoice_start_end_dates/i18n/pt.po +++ b/account_invoice_start_end_dates/i18n/pt.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template msgid "Car Insurance" msgstr "Seguro automóvel" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_end_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__end_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__end_date msgid "End Date" msgstr "Data Final" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "" "If this option is active, the user will have to enter a Start Date and an " "End Date on the invoice lines that have this product." @@ -57,8 +57,8 @@ msgid "Journal Item" msgstr "Item de Diário" #. module: account_invoice_start_end_dates -#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contrat -#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contrat_product_template +#: model:product.product,name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template msgid "Maintenance contract" msgstr "Contrato de manutenção" @@ -97,9 +97,9 @@ msgid "Missing Start Date for move line with Name '%s'." msgstr "Falta de data de início para a linha de diário com o Nome '%s'." #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product_must_have_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template_must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product__must_have_dates +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template__must_have_dates msgid "Must Have Start and End Dates" msgstr "Deve ter data de início e fim" @@ -109,8 +109,8 @@ msgid "Product Template" msgstr "Modelo de Produto" #. module: account_invoice_start_end_dates -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line_start_date -#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line_start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_invoice_line__start_date +#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__start_date msgid "Start Date" msgstr "Data de Início" @@ -131,3 +131,19 @@ msgid "" msgstr "" "Data de início deve ser anterior a da data de fim para a linha de fatura com " "a Descrição '%s'." + +#. module: account_invoice_start_end_dates +#: model:product.product,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "Unit(s)" +msgstr "" + +#. module: account_invoice_start_end_dates +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo +#: model:product.product,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template +#: model:product.template,weight_uom_name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template +msgid "kg" +msgstr "" From c709dabf6c2790699b78aeabbe7240b2539f8869 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Jul 2019 02:32:48 +0000 Subject: [PATCH 11/37] README.rst --- account_invoice_start_end_dates/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_invoice_start_end_dates/static/description/index.html b/account_invoice_start_end_dates/static/description/index.html index 30f020d7e0d..bb610d3a8d1 100644 --- a/account_invoice_start_end_dates/static/description/index.html +++ b/account_invoice_start_end_dates/static/description/index.html @@ -3,7 +3,7 @@ - + Account Invoice Start End Dates