From c52963bf27f0c93a9b70b50d1615cb1274cd5e79 Mon Sep 17 00:00:00 2001 From: Adrien Peiffer Date: Thu, 7 Aug 2014 12:58:07 +0200 Subject: [PATCH 01/46] [ADD] Add account_invoice_constraint_chronology --- .../__init__.py | 31 ++++ .../__openerp__.py | 60 ++++++++ .../model/__init__.py | 31 ++++ .../model/account.py | 47 +++++++ .../model/account_invoice.py | 69 +++++++++ .../tests/__init__.py | 38 +++++ .../test_account_constraint_chronology.py | 133 ++++++++++++++++++ .../view/account_view.xml | 18 +++ 8 files changed, 427 insertions(+) create mode 100644 account_invoice_constraint_chronology/__init__.py create mode 100644 account_invoice_constraint_chronology/__openerp__.py create mode 100644 account_invoice_constraint_chronology/model/__init__.py create mode 100644 account_invoice_constraint_chronology/model/account.py create mode 100644 account_invoice_constraint_chronology/model/account_invoice.py create mode 100644 account_invoice_constraint_chronology/tests/__init__.py create mode 100644 account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py create mode 100644 account_invoice_constraint_chronology/view/account_view.xml diff --git a/account_invoice_constraint_chronology/__init__.py b/account_invoice_constraint_chronology/__init__.py new file mode 100644 index 000000000..dcf937772 --- /dev/null +++ b/account_invoice_constraint_chronology/__init__.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# +# +# Authors: Adrien Peiffer +# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) +# All Rights Reserved +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsibility of assessing all potential +# consequences resulting from its eventual inadequacies and bugs. +# End users who are looking for a ready-to-use solution with commercial +# guarantees and support are strongly advised to contact a Free Software +# Service Company. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# + +from . import model +from . import tests diff --git a/account_invoice_constraint_chronology/__openerp__.py b/account_invoice_constraint_chronology/__openerp__.py new file mode 100644 index 000000000..a69b5ee06 --- /dev/null +++ b/account_invoice_constraint_chronology/__openerp__.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +# +# +# Authors: Adrien Peiffer +# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) +# All Rights Reserved +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsibility of assessing all potential +# consequences resulting from its eventual inadequacies and bugs. +# End users who are looking for a ready-to-use solution with commercial +# guarantees and support are strongly advised to contact a Free Software +# Service Company. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# + +{ + "name": "Account Invoice Constraint Chronology", + "version": "1.0", + "author": "ACSONE SA/NV", + "maintainer": "ACSONE SA/NV", + "website": "http://www.acsone.eu", + "images": [], + "category": "Accounting", + "depends": [ + "account"], + "description": """ +Account Invoice Constraint Chronology +===================================== + +This module help ensuring the chronology of invoice numbers. + +It prevents the validation of invoices when: +* there are draft invoices with an anterior date +* there are validated invoices with a posterior date + +The check can be activated on a per-journal basis +(for sale and purchase journals). +""", + "data": ["view/account_view.xml"], + "demo": [], + "test": [], + "licence": "AGPL-3", + "installable": True, + "auto_install": False, + "application": True, +} diff --git a/account_invoice_constraint_chronology/model/__init__.py b/account_invoice_constraint_chronology/model/__init__.py new file mode 100644 index 000000000..d01496542 --- /dev/null +++ b/account_invoice_constraint_chronology/model/__init__.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# +# +# Authors: Adrien Peiffer +# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) +# All Rights Reserved +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsibility of assessing all potential +# consequences resulting from its eventual inadequacies and bugs. +# End users who are looking for a ready-to-use solution with commercial +# guarantees and support are strongly advised to contact a Free Software +# Service Company. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# + +from . import account_invoice +from . import account diff --git a/account_invoice_constraint_chronology/model/account.py b/account_invoice_constraint_chronology/model/account.py new file mode 100644 index 000000000..07cc781cd --- /dev/null +++ b/account_invoice_constraint_chronology/model/account.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +# +# +# Authors: Adrien Peiffer +# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) +# All Rights Reserved +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsibility of assessing all potential +# consequences resulting from its eventual inadequacies and bugs. +# End users who are looking for a ready-to-use solution with commercial +# guarantees and support are strongly advised to contact a Free Software +# Service Company. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# + +from openerp.osv import orm, fields + + +class account_jounrnal(orm.Model): + _inherit = "account.journal" + _columns = { + 'check_chronology': fields.boolean('Check Chronology'), + } + _defaults = { + 'check_chronology': False, + } + + def on_change_type(self, cr, uid, ids, type_journal, context=None): + value = {} + if type_journal not in ['sale', 'purchase', 'sale_refund', + 'purchase_refund']: + value.update({'check_chronology': False}) + return {'value': value} diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py new file mode 100644 index 000000000..63f9402c8 --- /dev/null +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +# +# +# Authors: Adrien Peiffer +# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) +# All Rights Reserved +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsibility of assessing all potential +# consequences resulting from its eventual inadequacies and bugs. +# End users who are looking for a ready-to-use solution with commercial +# guarantees and support are strongly advised to contact a Free Software +# Service Company. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# + +from openerp import models, api +from openerp.tools.translate import _ + + +class account_invoice(models.Model): + _inherit = "account.invoice" + + @api.multi + def action_move_create(self): + res = super(account_invoice, self).action_move_create() + for inv in self: + if inv.journal_id.check_chronology: + invoices = \ + self.search([('state', 'not in', + ['open', 'paid', 'cancel', 'proforma']), + ('date_invoice', '!=', False), + ('date_invoice', '<', inv.date_invoice), + ('journal_id', '=', inv.journal_id.id)]) + if len(invoices) > 0: + raise models.except_orm(_('Error !'), + _("Chronology Error!" + " Please confirm older draft" + " invoices before %s and" + " try again.") % + inv.date_invoice) + + if inv.internal_number is False: + invoices = self.search([('state', 'in', ['open', 'paid']), + ('date_invoice', '>', + inv.date_invoice), + ('journal_id', '=', + inv.journal_id.id)]) + if len(invoices) > 0: + raise models.except_orm(_('Error !'), + _("Chronology Error! There" + " exist at least one invoice" + " with a date posterior" + " to %s.") % + inv.date_invoice) + return res diff --git a/account_invoice_constraint_chronology/tests/__init__.py b/account_invoice_constraint_chronology/tests/__init__.py new file mode 100644 index 000000000..cd63538c6 --- /dev/null +++ b/account_invoice_constraint_chronology/tests/__init__.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +# +# +# Authors: Adrien Peiffer +# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) +# All Rights Reserved +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsibility of assessing all potential +# consequences resulting from its eventual inadequacies and bugs. +# End users who are looking for a ready-to-use solution with commercial +# guarantees and support are strongly advised to contact a Free Software +# Service Company. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# + +from . import test_account_constraint_chronology + +fast_suite = [ + test_account_constraint_chronology, +] + +checks = [ + test_account_constraint_chronology, +] diff --git a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py new file mode 100644 index 000000000..c51c4e6e7 --- /dev/null +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -0,0 +1,133 @@ +# -*- coding: utf-8 -*- +# +# +# Authors: Adrien Peiffer +# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) +# All Rights Reserved +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsibility of assessing all potential +# consequences resulting from its eventual inadequacies and bugs. +# End users who are looking for a ready-to-use solution with commercial +# guarantees and support are strongly advised to contact a Free Software +# Service Company. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +# + +import openerp.tests.common as common +from openerp import workflow +from openerp.osv import orm +from datetime import datetime, timedelta + +DB = common.DB +ADMIN_USER_ID = common.ADMIN_USER_ID + + +def get_simple_product_id(self): + return self.registry('product.product').create(self.cr, + self.uid, + {'name': 'product_test_01', + 'lst_price': 2000.00, + }, context={}) + + +def get_journal_check(self, value): + sale_journal_id = self.ref('account.sales_journal') + journal_id = self.registry('account.journal').copy(self.cr, + self.uid, + sale_journal_id, + {}, + context={}) + self.registry('account.journal').write(self.cr, + self.uid, + [journal_id], + {'check_chronology': value}, + context={}) + return journal_id + + +def get_simple_account_invoice_line_values(self, product_id): + return {'name': 'test', + 'account_id': self.ref('account.a_sale'), + 'price_unit': 2000.00, + 'quantity': 1, + 'product_id': product_id, + } + + +def create_simple_invoice(self, journal_id, date): + partner_id = self.ref('base.res_partner_2') + product_id = get_simple_product_id(self) + return self.env['account.invoice']\ + .create({'partner_id': partner_id, + 'account_id': + self.ref('account.a_recv'), + 'journal_id': + journal_id, + 'date_invoice': date, + 'invoice_line': [(0, 0, {'name': 'test', + 'account_id': + self.ref('account.a_sale'), + 'price_unit': 2000.00, + 'quantity': 1, + 'product_id': product_id, + } + ) + ], + }) + + +class TestAccountConstraintChronology(common.TransactionCase): + + def setUp(self): + super(TestAccountConstraintChronology, self).setUp() + + def test_invoice_draft(self): + journal_id = get_journal_check(self, True) + today = datetime.now() + yesterday = today - timedelta(days=1) + date = yesterday.strftime('%Y-%m-%d') + create_simple_invoice(self, journal_id, date) + date = today.strftime('%Y-%m-%d') + invoice_2 = create_simple_invoice(self, journal_id, date) + self.assertRaises(orm.except_orm, workflow.trg_validate, self.uid, + 'account.invoice', invoice_2.id, 'invoice_open', + self.cr) + + def test_invoice_validate(self): + journal_id = get_journal_check(self, True) + today = datetime.now() + tomorrow = today + timedelta(days=1) + date = tomorrow.strftime('%Y-%m-%d') + invoice = create_simple_invoice(self, journal_id, date) + workflow.trg_validate(self.uid, 'account.invoice', invoice.id, + 'invoice_open', self.cr) + date = today.strftime('%Y-%m-%d') + invoice_2 = create_simple_invoice(self, journal_id, date) + self.assertRaises(orm.except_orm, workflow.trg_validate, self.uid, + 'account.invoice', invoice_2.id, 'invoice_open', + self.cr) + + def test_invoice_without_date(self): + journal_id = get_journal_check(self, True) + today = datetime.now() + yesterday = today - timedelta(days=1) + date = yesterday.strftime('%Y-%m-%d') + create_simple_invoice(self, journal_id, date) + invoice_2 = create_simple_invoice(self, journal_id, False) + self.assertRaises(orm.except_orm, workflow.trg_validate, self.uid, + 'account.invoice', invoice_2.id, 'invoice_open', + self.cr) diff --git a/account_invoice_constraint_chronology/view/account_view.xml b/account_invoice_constraint_chronology/view/account_view.xml new file mode 100644 index 000000000..892ef81b9 --- /dev/null +++ b/account_invoice_constraint_chronology/view/account_view.xml @@ -0,0 +1,18 @@ + + + + + account.journal.form (account_constraint_chronology) + account.journal + + + + + + + on_change_type(type) + + + + + \ No newline at end of file From 2ceb475c80fc2bc6cb132f076b01ba6c94f06dd6 Mon Sep 17 00:00:00 2001 From: Adrien Peiffer Date: Thu, 14 Aug 2014 09:52:19 +0200 Subject: [PATCH 02/46] [IMP] Use new API on account_invoice_constraint_chronology for account.py --- .../model/account.py | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/account_invoice_constraint_chronology/model/account.py b/account_invoice_constraint_chronology/model/account.py index 07cc781cd..5a03f336d 100644 --- a/account_invoice_constraint_chronology/model/account.py +++ b/account_invoice_constraint_chronology/model/account.py @@ -27,19 +27,16 @@ # # -from openerp.osv import orm, fields +from openerp import models, fields, api -class account_jounrnal(orm.Model): - _inherit = "account.journal" - _columns = { - 'check_chronology': fields.boolean('Check Chronology'), - } - _defaults = { - 'check_chronology': False, - } +class account_jounrnal(models.Model): + _inherit = ['account.journal'] - def on_change_type(self, cr, uid, ids, type_journal, context=None): + check_chronology = fields.Boolean(string='Check Chronology', default=False) + + @api.multi + def on_change_type(self, type_journal, context=None): value = {} if type_journal not in ['sale', 'purchase', 'sale_refund', 'purchase_refund']: From 305ed382d8a1716843da15314d91878a41565229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Thu, 14 Aug 2014 13:22:55 +0200 Subject: [PATCH 03/46] [IMP] account_inv/account_invoice_constraint_chronology doc spelling --- account_invoice_constraint_chronology/__openerp__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/account_invoice_constraint_chronology/__openerp__.py b/account_invoice_constraint_chronology/__openerp__.py index a69b5ee06..46a44738b 100644 --- a/account_invoice_constraint_chronology/__openerp__.py +++ b/account_invoice_constraint_chronology/__openerp__.py @@ -35,13 +35,12 @@ "website": "http://www.acsone.eu", "images": [], "category": "Accounting", - "depends": [ - "account"], + "depends": ["account"], "description": """ Account Invoice Constraint Chronology ===================================== -This module help ensuring the chronology of invoice numbers. +This module helps ensuring the chronology of invoice numbers. It prevents the validation of invoices when: * there are draft invoices with an anterior date From 9a51a1c1cbf37b4e380e7da18bfbe6fb5c3727b0 Mon Sep 17 00:00:00 2001 From: Adrien Peiffer Date: Mon, 18 Aug 2014 11:06:23 +0200 Subject: [PATCH 04/46] [IMP] Exclude proforma2 state for draft invoice check on account_invoice_constraint_chronology [IMP] DEFAULT_SERVER_DATE_FORMAT [IMP] display formatted date with context timezone in exception popup for account_invoice_constraint_chronology addons [ADD] Add context in tests for account_invoice_constraint_chronology addons [IMP] Use exceptions.warning for account_invoice_constraint_chronology addons [IMP] Remove exclamation mark [ADD] Add .pot file for account_invoice_constraint_chronology [IMP] Use .env for account_invoice_constraint_chronology tests [IMP] Use onchange decorator, add white space at end of file, correct ypo mistake for account_invoice_constraint_chronology [IMP] Improve performance --- .../account_invoice_constraint_chronology.pot | 44 +++++++++++++ .../model/account.py | 16 ++--- .../model/account_invoice.py | 46 ++++++++----- .../test_account_constraint_chronology.py | 66 +++++++++---------- .../view/account_view.xml | 5 +- 5 files changed, 113 insertions(+), 64 deletions(-) create mode 100644 account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot diff --git a/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot new file mode 100644 index 000000000..c13b71e5f --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot @@ -0,0 +1,44 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0rc1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-08-20 14:51+0000\n" +"PO-Revision-Date: 2014-08-20 14:51+0000\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_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:58 +#, python-format +msgid "Chronology Error. Please confirm older draft invoices before %s and try again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:76 +#, python-format +msgid "Chronology Error. There exist at least one invoice with a date posterior to %s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" + diff --git a/account_invoice_constraint_chronology/model/account.py b/account_invoice_constraint_chronology/model/account.py index 5a03f336d..9a7d36337 100644 --- a/account_invoice_constraint_chronology/model/account.py +++ b/account_invoice_constraint_chronology/model/account.py @@ -30,15 +30,15 @@ from openerp import models, fields, api -class account_jounrnal(models.Model): +class account_journal(models.Model): _inherit = ['account.journal'] check_chronology = fields.Boolean(string='Check Chronology', default=False) - @api.multi - def on_change_type(self, type_journal, context=None): - value = {} - if type_journal not in ['sale', 'purchase', 'sale_refund', - 'purchase_refund']: - value.update({'check_chronology': False}) - return {'value': value} + @api.one + @api.onchange('type') + def on_change_type(self): + if self.type not in ['sale', 'purchase', 'sale_refund', + 'purchase_refund']: + self.check_chronology = False + return True diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index 63f9402c8..c9ac805f5 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -27,8 +27,11 @@ # # -from openerp import models, api +from openerp import models, api, fields from openerp.tools.translate import _ +from openerp.tools import DEFAULT_SERVER_DATE_FORMAT +from datetime import datetime +from openerp import exceptions class account_invoice(models.Model): @@ -41,29 +44,40 @@ class account_invoice(models.Model): if inv.journal_id.check_chronology: invoices = \ self.search([('state', 'not in', - ['open', 'paid', 'cancel', 'proforma']), + ['open', 'paid', 'cancel', 'proforma', + 'proforma2']), ('date_invoice', '!=', False), ('date_invoice', '<', inv.date_invoice), - ('journal_id', '=', inv.journal_id.id)]) + ('journal_id', '=', inv.journal_id.id)], + limit=1) if len(invoices) > 0: - raise models.except_orm(_('Error !'), - _("Chronology Error!" - " Please confirm older draft" - " invoices before %s and" - " try again.") % - inv.date_invoice) + date_invoice_format = datetime\ + .strptime(inv.date_invoice, + DEFAULT_SERVER_DATE_FORMAT) + date_invoice_tz = fields\ + .Date.context_today(self, date_invoice_format) + raise exceptions.Warning(_("Chronology Error." + " Please confirm older draft" + " invoices before %s and" + " try again.") % + date_invoice_tz) if inv.internal_number is False: invoices = self.search([('state', 'in', ['open', 'paid']), ('date_invoice', '>', inv.date_invoice), ('journal_id', '=', - inv.journal_id.id)]) + inv.journal_id.id)], + limit=1) if len(invoices) > 0: - raise models.except_orm(_('Error !'), - _("Chronology Error! There" - " exist at least one invoice" - " with a date posterior" - " to %s.") % - inv.date_invoice) + date_invoice_format = datetime\ + .strptime(inv.date_invoice, + DEFAULT_SERVER_DATE_FORMAT) + date_invoice_tz = fields\ + .Date.context_today(self, date_invoice_format) + raise exceptions.Warning(_("Chronology Error. There" + " exist at least one" + " invoice with a date" + " posterior to %s.") % + date_invoice_tz) return res diff --git a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py index c51c4e6e7..70895831e 100644 --- a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -29,34 +29,26 @@ import openerp.tests.common as common from openerp import workflow -from openerp.osv import orm +from openerp import exceptions from datetime import datetime, timedelta +from openerp.tools import DEFAULT_SERVER_DATE_FORMAT DB = common.DB ADMIN_USER_ID = common.ADMIN_USER_ID def get_simple_product_id(self): - return self.registry('product.product').create(self.cr, - self.uid, - {'name': 'product_test_01', - 'lst_price': 2000.00, - }, context={}) + return self.env['product.product'].create({'name': 'product_test_01', + 'lst_price': 2000.00, + }) def get_journal_check(self, value): sale_journal_id = self.ref('account.sales_journal') - journal_id = self.registry('account.journal').copy(self.cr, - self.uid, - sale_journal_id, - {}, - context={}) - self.registry('account.journal').write(self.cr, - self.uid, - [journal_id], - {'check_chronology': value}, - context={}) - return journal_id + sale_journal = self.env['account.journal'].browse([sale_journal_id]) + journal = sale_journal.copy() + journal.check_chronology = value + return journal def get_simple_account_invoice_line_values(self, product_id): @@ -70,7 +62,7 @@ def get_simple_account_invoice_line_values(self, product_id): def create_simple_invoice(self, journal_id, date): partner_id = self.ref('base.res_partner_2') - product_id = get_simple_product_id(self) + product = get_simple_product_id(self) return self.env['account.invoice']\ .create({'partner_id': partner_id, 'account_id': @@ -83,7 +75,7 @@ def create_simple_invoice(self, journal_id, date): self.ref('account.a_sale'), 'price_unit': 2000.00, 'quantity': 1, - 'product_id': product_id, + 'product_id': product.id, } ) ], @@ -94,40 +86,42 @@ class TestAccountConstraintChronology(common.TransactionCase): def setUp(self): super(TestAccountConstraintChronology, self).setUp() + self.context = self.registry("res.users").context_get(self.cr, + self.uid) def test_invoice_draft(self): - journal_id = get_journal_check(self, True) + journal = get_journal_check(self, True) today = datetime.now() yesterday = today - timedelta(days=1) - date = yesterday.strftime('%Y-%m-%d') - create_simple_invoice(self, journal_id, date) - date = today.strftime('%Y-%m-%d') - invoice_2 = create_simple_invoice(self, journal_id, date) - self.assertRaises(orm.except_orm, workflow.trg_validate, self.uid, + date = yesterday.strftime(DEFAULT_SERVER_DATE_FORMAT) + create_simple_invoice(self, journal.id, date) + date = today.strftime(DEFAULT_SERVER_DATE_FORMAT) + invoice_2 = create_simple_invoice(self, journal.id, date) + self.assertRaises(exceptions.Warning, workflow.trg_validate, self.uid, 'account.invoice', invoice_2.id, 'invoice_open', self.cr) def test_invoice_validate(self): - journal_id = get_journal_check(self, True) + journal = get_journal_check(self, True) today = datetime.now() tomorrow = today + timedelta(days=1) - date = tomorrow.strftime('%Y-%m-%d') - invoice = create_simple_invoice(self, journal_id, date) + date = tomorrow.strftime(DEFAULT_SERVER_DATE_FORMAT) + invoice = create_simple_invoice(self, journal.id, date) workflow.trg_validate(self.uid, 'account.invoice', invoice.id, 'invoice_open', self.cr) - date = today.strftime('%Y-%m-%d') - invoice_2 = create_simple_invoice(self, journal_id, date) - self.assertRaises(orm.except_orm, workflow.trg_validate, self.uid, + date = today.strftime(DEFAULT_SERVER_DATE_FORMAT) + invoice_2 = create_simple_invoice(self, journal.id, date) + self.assertRaises(exceptions.Warning, workflow.trg_validate, self.uid, 'account.invoice', invoice_2.id, 'invoice_open', self.cr) def test_invoice_without_date(self): - journal_id = get_journal_check(self, True) + journal = get_journal_check(self, True) today = datetime.now() yesterday = today - timedelta(days=1) - date = yesterday.strftime('%Y-%m-%d') - create_simple_invoice(self, journal_id, date) - invoice_2 = create_simple_invoice(self, journal_id, False) - self.assertRaises(orm.except_orm, workflow.trg_validate, self.uid, + date = yesterday.strftime(DEFAULT_SERVER_DATE_FORMAT) + create_simple_invoice(self, journal.id, date) + invoice_2 = create_simple_invoice(self, journal.id, False) + self.assertRaises(exceptions.Warning, workflow.trg_validate, self.uid, 'account.invoice', invoice_2.id, 'invoice_open', self.cr) diff --git a/account_invoice_constraint_chronology/view/account_view.xml b/account_invoice_constraint_chronology/view/account_view.xml index 892ef81b9..1fc86dfe7 100644 --- a/account_invoice_constraint_chronology/view/account_view.xml +++ b/account_invoice_constraint_chronology/view/account_view.xml @@ -9,10 +9,7 @@ - - on_change_type(type) - - \ No newline at end of file + From 215adb43fabaaf9fe6a636c5faabcd04d80c74e4 Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Fri, 6 Feb 2015 15:29:53 +0100 Subject: [PATCH 05/46] Add license key in __openerp__.py --- account_invoice_constraint_chronology/__openerp__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_invoice_constraint_chronology/__openerp__.py b/account_invoice_constraint_chronology/__openerp__.py index 46a44738b..e5b395040 100644 --- a/account_invoice_constraint_chronology/__openerp__.py +++ b/account_invoice_constraint_chronology/__openerp__.py @@ -33,6 +33,7 @@ "author": "ACSONE SA/NV", "maintainer": "ACSONE SA/NV", "website": "http://www.acsone.eu", + "license": "AGPL-3", "images": [], "category": "Accounting", "depends": ["account"], From 54b2db591472875645a82543c36b4ea8d61bbb3e Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Mon, 2 Mar 2015 17:22:41 +0100 Subject: [PATCH 06/46] Add OCA as author of OCA addons In order to get visibility on https://www.odoo.com/apps the OCA board has decided to add the OCA as author of all the addons maintained as part of the association. --- account_invoice_constraint_chronology/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_invoice_constraint_chronology/__openerp__.py b/account_invoice_constraint_chronology/__openerp__.py index e5b395040..d5cdf638d 100644 --- a/account_invoice_constraint_chronology/__openerp__.py +++ b/account_invoice_constraint_chronology/__openerp__.py @@ -30,7 +30,7 @@ { "name": "Account Invoice Constraint Chronology", "version": "1.0", - "author": "ACSONE SA/NV", + "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "maintainer": "ACSONE SA/NV", "website": "http://www.acsone.eu", "license": "AGPL-3", From 546eab938fe3f42f7cd6cdf42b9fec39f153a421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Fri, 12 Jun 2015 18:53:39 +0200 Subject: [PATCH 07/46] [FIX] common.DB does not exist anymore in stable 8.0 It was not used in these tests anyway. --- .../tests/test_account_constraint_chronology.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py index 70895831e..df5a2ed7a 100644 --- a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -33,9 +33,6 @@ from openerp import exceptions from datetime import datetime, timedelta from openerp.tools import DEFAULT_SERVER_DATE_FORMAT -DB = common.DB -ADMIN_USER_ID = common.ADMIN_USER_ID - def get_simple_product_id(self): return self.env['product.product'].create({'name': 'product_test_01', From 7129a2dfac253e38a1118f54feacdee3d466664d Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 18 Aug 2015 10:32:25 +0200 Subject: [PATCH 08/46] Add missing default oca icons --- .../static/description/icon.png | Bin 0 -> 9455 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 account_invoice_constraint_chronology/static/description/icon.png diff --git a/account_invoice_constraint_chronology/static/description/icon.png b/account_invoice_constraint_chronology/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH zG%WWW>3ml$Yez?i%)2pbKPI7?5o?hydokgQyZsNEr{a|mLdt;X2TX(#B1j35xPnPW z*bMSSOauW>o;*=kO8ojw91VX!qoOQb)zHJ!odWB}d+*K?#sY_jqPdg{Sm2HdYzdEx zOGVPhVRTGPtv0o}RfVP;Nd(|CB)I;*t&QO8h zFfekr30S!-LHmV_Su-W+rEwYXJ^;6&3|L$mMC8*bQptyOo9;>Qb9Q9`ySe3%V$A*9 zeKEe+b0{#KWGp$F+tga)0RtI)nhMa-K@JS}2krK~n8vJ=Ngm?R!9G<~RyuU0d?nz# z-5EK$o(!F?hmX*2Yt6+coY`6jGbb7tF#6nHA zuKk=GGJ;ZwON1iAfG$E#Y7MnZVmrY|j0eVI(DN_MNFJmyZ|;w4tf@=CCDZ#5N_0K= z$;R~bbk?}TpfDjfB&aiQ$VA}s?P}xPERJG{kxk5~R`iRS(SK5d+Xs9swCozZISbnS zk!)I0>t=A<-^z(cmSFz3=jZ23u13X><0b)P)^1T_))Kr`e!-pb#q&J*Q`p+B6la%C zuVl&0duN<;uOsB3%T9Fp8t{ED108<+W(nOZd?gDnfNBC3>M8WE61$So|P zVvqH0SNtDTcsUdzaMDpT=Ty0pDHHNL@Z0w$Y`XO z2M-_r1S+GaH%pz#Uy0*w$Vdl=X=rQXEzO}d6J^R6zjM1u&c9vYLvLp?W7w(?np9x1 zE_0JSAJCPB%i7p*Wvg)pn5T`8k3-uR?*NT|J`eS#_#54p>!p(mLDvmc-3o0mX*mp_ zN*AeS<>#^-{S%W<*mz^!X$w_2dHWpcJ6^j64qFBft-o}o_Vx80o0>}Du;>kLts;$8 zC`7q$QI(dKYG`Wa8#wl@V4jVWBRGQ@1dr-hstpQL)Tl+aqVpGpbSfN>5i&QMXfiZ> zaA?T1VGe?rpQ@;+pkrVdd{klI&jVS@I5_iz!=UMpTsa~mBga?1r}aRBm1WS;TT*s0f0lY=JBl66Upy)-k4J}lh=P^8(SXk~0xW=T9v*B|gzIhN z>qsO7dFd~mgxAy4V?&)=5ieYq?zi?ZEoj)&2o)RLy=@hbCRcfT5jigwtQGE{L*8<@Yd{zg;CsL5mvzfDY}P-wos_6PfprFVaeqNE%h zKZhLtcQld;ZD+>=nqN~>GvROfueSzJD&BE*}XfU|H&(FssBqY=hPCt`d zH?@s2>I(|;fcW&YM6#V#!kUIP8$Nkdh0A(bEVj``-AAyYgwY~jB zT|I7Bf@%;7aL7Wf4dZ%VqF$eiaC38OV6oy3Z#TER2G+fOCd9Iaoy6aLYbPTN{XRPz z;U!V|vBf%H!}52L2gH_+j;`bTcQRXB+y9onc^wLm5wi3-Be}U>k_u>2Eg$=k!(l@I zcCg+flakT2Nej3i0yn+g+}%NYb?ta;R?(g5SnwsQ49U8Wng8d|{B+lyRcEDvR3+`O{zfmrmvFrL6acVP%yG98X zo&+VBg@px@i)%o?dG(`T;n*$S5*rnyiR#=wW}}GsAcfyQpE|>a{=$Hjg=-*_K;UtD z#z-)AXwSRY?OPefw^iI+ z)AXz#PfEjlwTes|_{sB?4(O@fg0AJ^g8gP}ex9Ucf*@_^J(s_5jJV}c)s$`Myn|Kd z$6>}#q^n{4vN@+Os$m7KV+`}c%4)4pv@06af4-x5#wj!KKb%caK{A&Y#Rfs z-po?Dcb1({W=6FKIUirH&(yg=*6aLCekcKwyfK^JN5{wcA3nhO(o}SK#!CINhI`-I z1)6&n7O&ZmyFMuNwvEic#IiOAwNkR=u5it{B9n2sAJV5pNhar=j5`*N!Na;c7g!l$ z3aYBqUkqqTJ=Re-;)s!EOeij=7SQZ3Hq}ZRds%IM*PtM$wV z@;rlc*NRK7i3y5BETSKuumEN`Xu_8GP1Ri=OKQ$@I^ko8>H6)4rjiG5{VBM>B|%`&&s^)jS|-_95&yc=GqjNo{zFkw%%HHhS~e=s zD#sfS+-?*t|J!+ozP6KvtOl!R)@@-z24}`9{QaVLD^9VCSR2b`b!KC#o;Ki<+wXB6 zx3&O0LOWcg4&rv4QG0)4yb}7BFSEg~=IR5#ZRj8kg}dS7_V&^%#Do==#`u zpy6{ox?jWuR(;pg+f@mT>#HGWHAJRRDDDv~@(IDw&R>9643kK#HN`!1vBJHnC+RM&yIh8{gG2q zA%e*U3|N0XSRa~oX-3EAneep)@{h2vvd3Xvy$7og(sayr@95+e6~Xvi1tUqnIxoIH zVWo*OwYElb#uyW{Imam6f2rGbjR!Y3`#gPqkv57dB6K^wRGxc9B(t|aYDGS=m$&S!NmCtrMMaUg(c zc2qC=2Z`EEFMW-me5B)24AqF*bV5Dr-M5ig(l-WPS%CgaPzs6p_gnCIvTJ=Y<6!gT zVt@AfYCzjjsMEGi=rDQHo0yc;HqoRNnNFeWZgcm?f;cp(6CNylj36DoL(?TS7eU#+ z7&mfr#y))+CJOXQKUMZ7QIdS9@#-}7y2K1{8)cCt0~-X0O!O?Qx#E4Og+;A2SjalQ zs7r?qn0H044=sDN$SRG$arw~n=+T_DNdSrarmu)V6@|?1-ZB#hRn`uilTGPJ@fqEy zGt(f0B+^JDP&f=r{#Y_wi#AVDf-y!RIXU^0jXsFpf>=Ji*TeqSY!H~AMbJdCGLhC) zn7Rx+sXw6uYj;WRYrLd^5IZq@6JI1C^YkgnedZEYy<&4(z%Q$5yv#Boo{AH8n$a zhb4Y3PWdr269&?V%uI$xMcUrMzl=;w<_nm*qr=c3Rl@i5wWB;e-`t7D&c-mcQl7x! zZWB`UGcw=Y2=}~wzrfLx=uet<;m3~=8I~ZRuzvMQUQdr+yTV|ATf1Uuomr__nDf=X zZ3WYJtHp_ri(}SQAPjv+Y+0=fH4krOP@S&=zZ-t1jW1o@}z;xk8 z(Nz1co&El^HK^NrhVHa-_;&88vTU>_J33=%{if;BEY*J#1n59=07jrGQ#IP>@u#3A z;!q+E1Rj3ZJ+!4bq9F8PXJ@yMgZL;>&gYA0%_Kbi8?S=XGM~dnQZQ!yBSgcZhY96H zrWnU;k)qy`rX&&xlDyA%(a1Hhi5CWkmg(`Gb%m(HKi-7Z!LKGRP_B8@`7&hdDy5n= z`OIxqxiVfX@OX1p(mQu>0Ai*v_cTMiw4qRt3~NBvr9oBy0)r>w3p~V0SCm=An6@3n)>@z!|o-$HvDK z|3D2ZMJkLE5loMKl6R^ez@Zz%S$&mbeoqH5`Bb){Ei21q&VP)hWS2tjShfFtGE+$z zzCR$P#uktu+#!w)cX!lWN1XU%K-r=s{|j?)Akf@q#3b#{6cZCuJ~gCxuMXRmI$nGtnH+-h z+GEi!*X=AP<|fG`1>MBdTb?28JYc=fGvAi2I<$B(rs$;eoJCyR6_bc~p!XR@O-+sD z=eH`-ye})I5ic1eL~TDmtfJ|8`0VJ*Yr=hNCd)G1p2MMz4C3^Mj?7;!w|Ly%JqmuW zlIEW^Ft%z?*|fpXda>Jr^1noFZEwFgVV%|*XhH@acv8rdGxeEX{M$(vG{Zw+x(ei@ zmfXb22}8-?Fi`vo-YVrTH*C?a8%M=Hv9MqVH7H^J$KsD?>!SFZ;ZsvnHr_gn=7acz z#W?0eCdVhVMWN12VV^$>WlQ?f;P^{(&pYTops|btm6aj>_Uz+hqpGwB)vWp0Cf5y< zft8-je~nn?W11plq}N)4A{l8I7$!ks_x$PXW-2XaRFswX_BnF{R#6YIwMhAgd5F9X zGmwdadS6(a^fjHtXg8=l?Rc0Sm%hk6E9!5cLVloEy4eh(=FwgP`)~I^5~pBEWo+F6 zSf2ncyMurJN91#cJTy_u8Y}@%!bq1RkGC~-bV@SXRd4F{R-*V`bS+6;W5vZ(&+I<9$;-V|eNfLa5n-6% z2(}&uGRF;p92eS*sE*oR$@pexaqr*meB)VhmIg@h{uzkk$9~qh#cHhw#>O%)b@+(| z^IQgqzuj~Sk(J;swEM-3TrJAPCq9k^^^`q{IItKBRXYe}e0Tdr=Huf7da3$l4PdpwWDop%^}n;dD#K4s#DYA8SHZ z&1!riV4W4R7R#C))JH1~axJ)RYnM$$lIR%6fIVA@zV{XVyx}C+a-Dt8Y9M)^KU0+H zR4IUb2CJ{Hg>CuaXtD50jB(_Tcx=Z$^WYu2u5kubqmwp%drJ6 z?Fo40g!Qd<-l=TQxqHEOuPX0;^z7iX?Ke^a%XT<13TA^5`4Xcw6D@Ur&VT&CUe0d} z1GjOVF1^L@>O)l@?bD~$wzgf(nxX1OGD8fEV?TdJcZc2KoUe|oP1#=$$7ee|xbY)A zDZq+cuTpc(fFdj^=!;{k03C69lMQ(|>uhRfRu%+!k&YOi-3|1QKB z z?n?eq1XP>p-IM$Z^C;2L3itnbJZAip*Zo0aw2bs8@(s^~*8T9go!%dHcAz2lM;`yp zD=7&xjFV$S&5uDaiScyD?B-i1ze`+CoRtz`Wn+Zl&#s4&}MO{@N!ufrzjG$B79)Y2d3tBk&)TxUTw@QS0TEL_?njX|@vq?Uz(nBFK5Pq7*xj#u*R&i|?7+6# z+|r_n#SW&LXhtheZdah{ZVoqwyT{D>MC3nkFF#N)xLi{p7J1jXlmVeb;cP5?e(=f# zuT7fvjSbjS781v?7{)-X3*?>tq?)Yd)~|1{BDS(pqC zC}~H#WXlkUW*H5CDOo<)#x7%RY)A;ShGhI5s*#cRDA8YgqG(HeKDx+#(ZQ?386dv! zlXCO)w91~Vw4AmOcATuV653fa9R$fyK8ul%rG z-wfS zihugoZyr38Im?Zuh6@RcF~t1anQu7>#lPpb#}4cOA!EM11`%f*07RqOVkmX{p~KJ9 z^zP;K#|)$`^Rb{rnHGH{~>1(fawV0*Z#)}M`m8-?ZJV<+e}s9wE# z)l&az?w^5{)`S(%MRzxdNqrs1n*-=jS^_jqE*5XDrA0+VE`5^*p3CuM<&dZEeCjoz zR;uu_H9ZPZV|fQq`Cyw4nscrVwi!fE6ciMmX$!_hN7uF;jjKG)d2@aC4ropY)8etW=xJvni)8eHi`H$%#zn^WJ5NLc-rqk|u&&4Z6fD_m&JfSI1Bvb?b<*n&sfl0^t z=HnmRl`XrFvMKB%9}>PaA`m-fK6a0(8=qPkWS5bb4=v?XcWi&hRY?O5HdulRi4?fN zlsJ*N-0Qw+Yic@s0(2uy%F@ib;GjXt01Fmx5XbRo6+n|pP(&nodMoap^z{~q ziEeaUT@Mxe3vJSfI6?uLND(CNr=#^W<1b}jzW58bIfyWTDle$mmS(|x-0|2UlX+9k zQ^EX7Nw}?EzVoBfT(-LT|=9N@^hcn-_p&sqG z&*oVs2JSU+N4ZD`FhCAWaS;>|wH2G*Id|?pa#@>tyxX`+4HyIArWDvVrX)2WAOQff z0qyHu&-S@i^MS-+j--!pr4fPBj~_8({~e1bfcl0wI1kaoN>mJL6KUPQm5N7lB(ui1 zE-o%kq)&djzWJ}ob<-GfDlkB;F31j-VHKvQUGQ3sp`CwyGJk_i!y^sD0fqC@$9|jO zOqN!r!8-p==F@ZVP=U$qSpY(gQ0)59P1&t@y?5rvg<}E+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$ zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV( z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4 z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{ zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx} z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 From 6f9b06230575f9b6c226e309c6080fc16b26facc Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Thu, 27 Aug 2015 16:53:30 +0200 Subject: [PATCH 09/46] remove deprecated test suite declarations these cause Warnings during the tests --- .../i18n/ar.po | 49 ++++++++++++++++++ .../i18n/bs.po | 49 ++++++++++++++++++ .../i18n/ca.po | 49 ++++++++++++++++++ .../i18n/cs.po | 49 ++++++++++++++++++ .../i18n/de.po | 49 ++++++++++++++++++ .../i18n/en.po | 49 ++++++++++++++++++ .../i18n/en_GB.po | 49 ++++++++++++++++++ .../i18n/es.po | 49 ++++++++++++++++++ .../i18n/es_CR.po | 49 ++++++++++++++++++ .../i18n/es_EC.po | 49 ++++++++++++++++++ .../i18n/es_MX.po | 49 ++++++++++++++++++ .../i18n/es_VE.po | 49 ++++++++++++++++++ .../i18n/et.po | 49 ++++++++++++++++++ .../i18n/fr.po | 49 ++++++++++++++++++ .../i18n/hr.po | 49 ++++++++++++++++++ .../i18n/hu.po | 49 ++++++++++++++++++ .../i18n/id.po | 49 ++++++++++++++++++ .../i18n/it.po | 49 ++++++++++++++++++ .../i18n/ja.po | 49 ++++++++++++++++++ .../i18n/lt.po | 49 ++++++++++++++++++ .../i18n/mk.po | 49 ++++++++++++++++++ .../i18n/mn.po | 49 ++++++++++++++++++ .../i18n/nb.po | 49 ++++++++++++++++++ .../i18n/nl.po | 49 ++++++++++++++++++ .../i18n/nl_BE.po | 49 ++++++++++++++++++ .../i18n/pl.po | 49 ++++++++++++++++++ .../i18n/pt.po | 49 ++++++++++++++++++ .../i18n/pt_BR.po | 49 ++++++++++++++++++ .../i18n/ro.po | 49 ++++++++++++++++++ .../i18n/ru.po | 49 ++++++++++++++++++ .../i18n/sl.po | 50 +++++++++++++++++++ .../i18n/sr@latin.po | 49 ++++++++++++++++++ .../i18n/sv.po | 49 ++++++++++++++++++ .../i18n/th.po | 49 ++++++++++++++++++ .../i18n/tr.po | 49 ++++++++++++++++++ .../i18n/vi.po | 49 ++++++++++++++++++ .../i18n/zh_CN.po | 49 ++++++++++++++++++ .../i18n/zh_TW.po | 49 ++++++++++++++++++ .../tests/__init__.py | 8 --- 39 files changed, 1863 insertions(+), 8 deletions(-) create mode 100644 account_invoice_constraint_chronology/i18n/ar.po create mode 100644 account_invoice_constraint_chronology/i18n/bs.po create mode 100644 account_invoice_constraint_chronology/i18n/ca.po create mode 100644 account_invoice_constraint_chronology/i18n/cs.po create mode 100644 account_invoice_constraint_chronology/i18n/de.po create mode 100644 account_invoice_constraint_chronology/i18n/en.po create mode 100644 account_invoice_constraint_chronology/i18n/en_GB.po create mode 100644 account_invoice_constraint_chronology/i18n/es.po create mode 100644 account_invoice_constraint_chronology/i18n/es_CR.po create mode 100644 account_invoice_constraint_chronology/i18n/es_EC.po create mode 100644 account_invoice_constraint_chronology/i18n/es_MX.po create mode 100644 account_invoice_constraint_chronology/i18n/es_VE.po create mode 100644 account_invoice_constraint_chronology/i18n/et.po create mode 100644 account_invoice_constraint_chronology/i18n/fr.po create mode 100644 account_invoice_constraint_chronology/i18n/hr.po create mode 100644 account_invoice_constraint_chronology/i18n/hu.po create mode 100644 account_invoice_constraint_chronology/i18n/id.po create mode 100644 account_invoice_constraint_chronology/i18n/it.po create mode 100644 account_invoice_constraint_chronology/i18n/ja.po create mode 100644 account_invoice_constraint_chronology/i18n/lt.po create mode 100644 account_invoice_constraint_chronology/i18n/mk.po create mode 100644 account_invoice_constraint_chronology/i18n/mn.po create mode 100644 account_invoice_constraint_chronology/i18n/nb.po create mode 100644 account_invoice_constraint_chronology/i18n/nl.po create mode 100644 account_invoice_constraint_chronology/i18n/nl_BE.po create mode 100644 account_invoice_constraint_chronology/i18n/pl.po create mode 100644 account_invoice_constraint_chronology/i18n/pt.po create mode 100644 account_invoice_constraint_chronology/i18n/pt_BR.po create mode 100644 account_invoice_constraint_chronology/i18n/ro.po create mode 100644 account_invoice_constraint_chronology/i18n/ru.po create mode 100644 account_invoice_constraint_chronology/i18n/sl.po create mode 100644 account_invoice_constraint_chronology/i18n/sr@latin.po create mode 100644 account_invoice_constraint_chronology/i18n/sv.po create mode 100644 account_invoice_constraint_chronology/i18n/th.po create mode 100644 account_invoice_constraint_chronology/i18n/tr.po create mode 100644 account_invoice_constraint_chronology/i18n/vi.po create mode 100644 account_invoice_constraint_chronology/i18n/zh_CN.po create mode 100644 account_invoice_constraint_chronology/i18n/zh_TW.po diff --git a/account_invoice_constraint_chronology/i18n/ar.po b/account_invoice_constraint_chronology/i18n/ar.po new file mode 100644 index 000000000..860a90ddf --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/ar.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "فاتورة" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "السجل اليومي" diff --git a/account_invoice_constraint_chronology/i18n/bs.po b/account_invoice_constraint_chronology/i18n/bs.po new file mode 100644 index 000000000..3dd3968eb --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/bs.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/bs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bs\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Dnevnik" diff --git a/account_invoice_constraint_chronology/i18n/ca.po b/account_invoice_constraint_chronology/i18n/ca.po new file mode 100644 index 000000000..46bd4afeb --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/ca.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Catalan (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Diari" diff --git a/account_invoice_constraint_chronology/i18n/cs.po b/account_invoice_constraint_chronology/i18n/cs.po new file mode 100644 index 000000000..007685165 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/cs.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Czech (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: cs\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Deník" diff --git a/account_invoice_constraint_chronology/i18n/de.po b/account_invoice_constraint_chronology/i18n/de.po new file mode 100644 index 000000000..e517978e6 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/de.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: German (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Rechnung" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Journal" diff --git a/account_invoice_constraint_chronology/i18n/en.po b/account_invoice_constraint_chronology/i18n/en.po new file mode 100644 index 000000000..1457b91cd --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/en.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: English (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/en/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "Check Chronology" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "Chronology Error. Please confirm older draft invoices before %s and try again." + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "Chronology Error. There exist at least one invoice with a date posterior to %s." + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Invoice" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Journal" diff --git a/account_invoice_constraint_chronology/i18n/en_GB.po b/account_invoice_constraint_chronology/i18n/en_GB.po new file mode 100644 index 000000000..1cfaab217 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/en_GB.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/en_GB/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en_GB\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Invoice" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Journal" diff --git a/account_invoice_constraint_chronology/i18n/es.po b/account_invoice_constraint_chronology/i18n/es.po new file mode 100644 index 000000000..0d2e3c71c --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/es.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Diario" diff --git a/account_invoice_constraint_chronology/i18n/es_CR.po b/account_invoice_constraint_chronology/i18n/es_CR.po new file mode 100644 index 000000000..5f8b6a9d1 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/es_CR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_CR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_CR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Diario" diff --git a/account_invoice_constraint_chronology/i18n/es_EC.po b/account_invoice_constraint_chronology/i18n/es_EC.po new file mode 100644 index 000000000..212b04c57 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/es_EC.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_EC/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_EC\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Diario" diff --git a/account_invoice_constraint_chronology/i18n/es_MX.po b/account_invoice_constraint_chronology/i18n/es_MX.po new file mode 100644 index 000000000..0ea03a995 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/es_MX.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_MX/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_MX\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Diario" diff --git a/account_invoice_constraint_chronology/i18n/es_VE.po b/account_invoice_constraint_chronology/i18n/es_VE.po new file mode 100644 index 000000000..423c2c880 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/es_VE.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_VE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_VE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Diario" diff --git a/account_invoice_constraint_chronology/i18n/et.po b/account_invoice_constraint_chronology/i18n/et.po new file mode 100644 index 000000000..73f4c7d64 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/et.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Estonian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/et/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Arve" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Päevik" diff --git a/account_invoice_constraint_chronology/i18n/fr.po b/account_invoice_constraint_chronology/i18n/fr.po new file mode 100644 index 000000000..4e2b5dfd1 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/fr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/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_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Journal" diff --git a/account_invoice_constraint_chronology/i18n/hr.po b/account_invoice_constraint_chronology/i18n/hr.po new file mode 100644 index 000000000..a4d0ff93f --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/hr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Croatian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/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" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Račun" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Temeljnica" diff --git a/account_invoice_constraint_chronology/i18n/hu.po b/account_invoice_constraint_chronology/i18n/hu.po new file mode 100644 index 000000000..a617a5948 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/hu.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Számla" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Napló" diff --git a/account_invoice_constraint_chronology/i18n/id.po b/account_invoice_constraint_chronology/i18n/id.po new file mode 100644 index 000000000..25963505c --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/id.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Indonesian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/id/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Faktur" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Jurnal" diff --git a/account_invoice_constraint_chronology/i18n/it.po b/account_invoice_constraint_chronology/i18n/it.po new file mode 100644 index 000000000..0fe76523d --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/it.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/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_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Fattura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Sezionale" diff --git a/account_invoice_constraint_chronology/i18n/ja.po b/account_invoice_constraint_chronology/i18n/ja.po new file mode 100644 index 000000000..7743ac22a --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/ja.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Japanese (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "請求書" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "仕訳帳" diff --git a/account_invoice_constraint_chronology/i18n/lt.po b/account_invoice_constraint_chronology/i18n/lt.po new file mode 100644 index 000000000..feef3c9b4 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/lt.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lt\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Sąskaita-faktūra" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Žurnalas" diff --git a/account_invoice_constraint_chronology/i18n/mk.po b/account_invoice_constraint_chronology/i18n/mk.po new file mode 100644 index 000000000..fa988ed40 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/mk.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/mk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mk\n" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Фактура" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Дневник" diff --git a/account_invoice_constraint_chronology/i18n/mn.po b/account_invoice_constraint_chronology/i18n/mn.po new file mode 100644 index 000000000..b950ab3c5 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/mn.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/mn/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: mn\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Нэхэмжлэл" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Журнал" diff --git a/account_invoice_constraint_chronology/i18n/nb.po b/account_invoice_constraint_chronology/i18n/nb.po new file mode 100644 index 000000000..a5e783bef --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/nb.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nb/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Journal" diff --git a/account_invoice_constraint_chronology/i18n/nl.po b/account_invoice_constraint_chronology/i18n/nl.po new file mode 100644 index 000000000..b0c15bc69 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/nl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Dutch (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Factuur" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Dagboek" diff --git a/account_invoice_constraint_chronology/i18n/nl_BE.po b/account_invoice_constraint_chronology/i18n/nl_BE.po new file mode 100644 index 000000000..3c38f61ba --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/nl_BE.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nl_BE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_BE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Factuur" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Journaal" diff --git a/account_invoice_constraint_chronology/i18n/pl.po b/account_invoice_constraint_chronology/i18n/pl.po new file mode 100644 index 000000000..76ea7b868 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/pl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Polish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Dziennik" diff --git a/account_invoice_constraint_chronology/i18n/pt.po b/account_invoice_constraint_chronology/i18n/pt.po new file mode 100644 index 000000000..dc75e0924 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/pt.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Fatura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Diário" diff --git a/account_invoice_constraint_chronology/i18n/pt_BR.po b/account_invoice_constraint_chronology/i18n/pt_BR.po new file mode 100644 index 000000000..2c7e4cc28 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/pt_BR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Fatura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Diário" diff --git a/account_invoice_constraint_chronology/i18n/ro.po b/account_invoice_constraint_chronology/i18n/ro.po new file mode 100644 index 000000000..38feb1229 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/ro.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Romanian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ro/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Registru" diff --git a/account_invoice_constraint_chronology/i18n/ru.po b/account_invoice_constraint_chronology/i18n/ru.po new file mode 100644 index 000000000..18e50dc60 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/ru.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Russian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Счет" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Журнал" diff --git a/account_invoice_constraint_chronology/i18n/sl.po b/account_invoice_constraint_chronology/i18n/sl.po new file mode 100644 index 000000000..69739b1cd --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/sl.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# Matjaž Mozetič , 2015 +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-07-04 11:49+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "Preveri kronologijo" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "Kronološka napaka. Starejše osnutke računov potrdite pred %s in poskusite ponovno." + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "Kronološka napaka. Obstaja vsaj en račun z datumom za %s." + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Račun" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Dnevnik" diff --git a/account_invoice_constraint_chronology/i18n/sr@latin.po b/account_invoice_constraint_chronology/i18n/sr@latin.po new file mode 100644 index 000000000..dc1e642c3 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/sr@latin.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Serbian (Latin) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/sr@latin/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sr@latin\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_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Dnevnik" diff --git a/account_invoice_constraint_chronology/i18n/sv.po b/account_invoice_constraint_chronology/i18n/sv.po new file mode 100644 index 000000000..ad7d11742 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/sv.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Swedish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Journal" diff --git a/account_invoice_constraint_chronology/i18n/th.po b/account_invoice_constraint_chronology/i18n/th.po new file mode 100644 index 000000000..c3317de94 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/th.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Thai (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/th/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "ใบแจ้งหนี้" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/tr.po b/account_invoice_constraint_chronology/i18n/tr.po new file mode 100644 index 000000000..4975467e2 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/tr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Turkish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Fatura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Günlük" diff --git a/account_invoice_constraint_chronology/i18n/vi.po b/account_invoice_constraint_chronology/i18n/vi.po new file mode 100644 index 000000000..c5f0004e2 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/vi.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Vietnamese (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Sổ nhật ký" diff --git a/account_invoice_constraint_chronology/i18n/zh_CN.po b/account_invoice_constraint_chronology/i18n/zh_CN.po new file mode 100644 index 000000000..245a7c6aa --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/zh_CN.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "发票" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "凭证簿" diff --git a/account_invoice_constraint_chronology/i18n/zh_TW.po b/account_invoice_constraint_chronology/i18n/zh_TW.po new file mode 100644 index 000000000..c9d88f787 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/zh_TW.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: account-financial-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"PO-Revision-Date: 2015-06-03 15:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_constraint_chronology +#: field:account.journal,check_chronology:0 +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "發票" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "帳簿" diff --git a/account_invoice_constraint_chronology/tests/__init__.py b/account_invoice_constraint_chronology/tests/__init__.py index cd63538c6..3dd2ee2c0 100644 --- a/account_invoice_constraint_chronology/tests/__init__.py +++ b/account_invoice_constraint_chronology/tests/__init__.py @@ -28,11 +28,3 @@ # from . import test_account_constraint_chronology - -fast_suite = [ - test_account_constraint_chronology, -] - -checks = [ - test_account_constraint_chronology, -] From 5f414014d113f061c3d51502ff56f4b465c6c736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Fri, 9 Oct 2015 09:59:23 +0200 Subject: [PATCH 10/46] [UPD] prefix versions with 8.0 --- account_invoice_constraint_chronology/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_invoice_constraint_chronology/__openerp__.py b/account_invoice_constraint_chronology/__openerp__.py index d5cdf638d..c88114e35 100644 --- a/account_invoice_constraint_chronology/__openerp__.py +++ b/account_invoice_constraint_chronology/__openerp__.py @@ -29,7 +29,7 @@ { "name": "Account Invoice Constraint Chronology", - "version": "1.0", + "version": "8.0.1.0.0", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "maintainer": "ACSONE SA/NV", "website": "http://www.acsone.eu", From 925c47bf6f4d54d44b8614fe3c1b00bbd7f01c00 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 14 Oct 2015 02:52:55 +0200 Subject: [PATCH 11/46] [MIG] Make modules uninstallable --- account_invoice_constraint_chronology/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_invoice_constraint_chronology/__openerp__.py b/account_invoice_constraint_chronology/__openerp__.py index c88114e35..c6d311634 100644 --- a/account_invoice_constraint_chronology/__openerp__.py +++ b/account_invoice_constraint_chronology/__openerp__.py @@ -54,7 +54,7 @@ The check can be activated on a per-journal basis "demo": [], "test": [], "licence": "AGPL-3", - "installable": True, + 'installable': False, "auto_install": False, "application": True, } From b77c72e635a2b12ec9015d3ed97747fd698b1185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Mon, 15 Aug 2016 18:54:03 +0200 Subject: [PATCH 12/46] [FIX] remove en.po that was erroneously created by transbot --- .../i18n/en.po | 49 ------------------- 1 file changed, 49 deletions(-) delete mode 100644 account_invoice_constraint_chronology/i18n/en.po diff --git a/account_invoice_constraint_chronology/i18n/en.po b/account_invoice_constraint_chronology/i18n/en.po deleted file mode 100644 index 1457b91cd..000000000 --- a/account_invoice_constraint_chronology/i18n/en.po +++ /dev/null @@ -1,49 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_invoice_constraint_chronology -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: account-financial-tools (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" -"PO-Revision-Date: 2015-06-03 15:57+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: English (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/en/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: en\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 -msgid "Check Chronology" -msgstr "Check Chronology" - -#. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 -#, python-format -msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." -msgstr "Chronology Error. Please confirm older draft invoices before %s and try again." - -#. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 -#, python-format -msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." -msgstr "Chronology Error. There exist at least one invoice with a date posterior to %s." - -#. module: account_invoice_constraint_chronology -#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice -msgid "Invoice" -msgstr "Invoice" - -#. module: account_invoice_constraint_chronology -#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal -msgid "Journal" -msgstr "Journal" From daf9cd6a730710be33bfd2bdaa721ee8a836b639 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 14:46:03 +0200 Subject: [PATCH 13/46] [MIG] Rename manifest files --- .../{__openerp__.py => __manifest__.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename account_invoice_constraint_chronology/{__openerp__.py => __manifest__.py} (100%) diff --git a/account_invoice_constraint_chronology/__openerp__.py b/account_invoice_constraint_chronology/__manifest__.py similarity index 100% rename from account_invoice_constraint_chronology/__openerp__.py rename to account_invoice_constraint_chronology/__manifest__.py From cda5bc8b9c35acc82755f4b0ff10a208301f9fc9 Mon Sep 17 00:00:00 2001 From: gilles Date: Mon, 13 Mar 2017 14:18:36 +0100 Subject: [PATCH 14/46] [MIG] account_invoice_constraint_chronology --- .../README.rst | 58 +++++++ .../__init__.py | 29 ---- .../__manifest__.py | 59 ++------ .../model/__init__.py | 29 ---- .../model/account.py | 31 +--- .../model/account_invoice.py | 72 +++------ .../tests/__init__.py | 29 ---- .../test_account_constraint_chronology.py | 142 ++++++++---------- .../view/account_view.xml | 8 +- 9 files changed, 158 insertions(+), 299 deletions(-) create mode 100644 account_invoice_constraint_chronology/README.rst diff --git a/account_invoice_constraint_chronology/README.rst b/account_invoice_constraint_chronology/README.rst new file mode 100644 index 000000000..7ff9af8ec --- /dev/null +++ b/account_invoice_constraint_chronology/README.rst @@ -0,0 +1,58 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +===================================== +Account Invoice Constraint Chronology +===================================== + +This module helps ensuring the chronology of invoice numbers. + +It prevents the validation of invoices when: + +* there are draft invoices with an anterior date +* there are validated invoices with a posterior date + +Configuration +============= + +To configure this module, go to the menu *Accounting > Configuration > Journals > Journals* and activate the option *Check Chronology* on the relevant journals. After the installation of the module, this option will be active on *sale* and *sale refund* journals. + +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/92/8.0 + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed feedback. + +Credits +======= + +Contributors +------------ + +* Adrien Peiffer (`Acsone SA/NV `_) +* Gilles Gilles + +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_constraint_chronology/__init__.py b/account_invoice_constraint_chronology/__init__.py index dcf937772..d6af31449 100644 --- a/account_invoice_constraint_chronology/__init__.py +++ b/account_invoice_constraint_chronology/__init__.py @@ -1,31 +1,2 @@ -# -*- coding: utf-8 -*- -# -# -# Authors: Adrien Peiffer -# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) -# All Rights Reserved -# -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsibility of assessing all potential -# consequences resulting from its eventual inadequacies and bugs. -# End users who are looking for a ready-to-use solution with commercial -# guarantees and support are strongly advised to contact a Free Software -# Service Company. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -# - from . import model from . import tests diff --git a/account_invoice_constraint_chronology/__manifest__.py b/account_invoice_constraint_chronology/__manifest__.py index c6d311634..2a334a8a6 100644 --- a/account_invoice_constraint_chronology/__manifest__.py +++ b/account_invoice_constraint_chronology/__manifest__.py @@ -1,60 +1,23 @@ # -*- coding: utf-8 -*- -# -# -# Authors: Adrien Peiffer -# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) -# All Rights Reserved -# -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsibility of assessing all potential -# consequences resulting from its eventual inadequacies and bugs. -# End users who are looking for a ready-to-use solution with commercial -# guarantees and support are strongly advised to contact a Free Software -# Service Company. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -# - +# Copyright 2015-2017 ACSONE SA/NV () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Account Invoice Constraint Chronology", - "version": "8.0.1.0.0", + "version": "10.0.1.0.0", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "maintainer": "ACSONE SA/NV", "website": "http://www.acsone.eu", "license": "AGPL-3", - "images": [], "category": "Accounting", "depends": ["account"], "description": """ -Account Invoice Constraint Chronology -===================================== - -This module helps ensuring the chronology of invoice numbers. - -It prevents the validation of invoices when: -* there are draft invoices with an anterior date -* there are validated invoices with a posterior date - -The check can be activated on a per-journal basis -(for sale and purchase journals). -""", + Account Invoice Constraint Chronology + This module helps ensuring the chronology of invoice numbers. + It prevents the validation of invoices when: + * there are draft invoices with an anterior date + * there are validated invoices with a posterior date + """, + "test": ["../account/test/account_minimal_test.xml"], "data": ["view/account_view.xml"], - "demo": [], - "test": [], - "licence": "AGPL-3", - 'installable': False, - "auto_install": False, - "application": True, + 'installable': True, } diff --git a/account_invoice_constraint_chronology/model/__init__.py b/account_invoice_constraint_chronology/model/__init__.py index d01496542..97b1db6fd 100644 --- a/account_invoice_constraint_chronology/model/__init__.py +++ b/account_invoice_constraint_chronology/model/__init__.py @@ -1,31 +1,2 @@ -# -*- coding: utf-8 -*- -# -# -# Authors: Adrien Peiffer -# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) -# All Rights Reserved -# -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsibility of assessing all potential -# consequences resulting from its eventual inadequacies and bugs. -# End users who are looking for a ready-to-use solution with commercial -# guarantees and support are strongly advised to contact a Free Software -# Service Company. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -# - from . import account_invoice from . import account diff --git a/account_invoice_constraint_chronology/model/account.py b/account_invoice_constraint_chronology/model/account.py index 9a7d36337..3cf04a463 100644 --- a/account_invoice_constraint_chronology/model/account.py +++ b/account_invoice_constraint_chronology/model/account.py @@ -1,33 +1,8 @@ # -*- coding: utf-8 -*- -# -# -# Authors: Adrien Peiffer -# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) -# All Rights Reserved -# -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsibility of assessing all potential -# consequences resulting from its eventual inadequacies and bugs. -# End users who are looking for a ready-to-use solution with commercial -# guarantees and support are strongly advised to contact a Free Software -# Service Company. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -# +# Copyright 2015-2017 ACSONE SA/NV () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, fields, api +from odoo import models, fields, api class account_journal(models.Model): diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index c9ac805f5..4dd19daf3 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -1,42 +1,16 @@ # -*- coding: utf-8 -*- -# -# -# Authors: Adrien Peiffer -# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) -# All Rights Reserved -# -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsibility of assessing all potential -# consequences resulting from its eventual inadequacies and bugs. -# End users who are looking for a ready-to-use solution with commercial -# guarantees and support are strongly advised to contact a Free Software -# Service Company. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -# +# Copyright 2015-2017 ACSONE SA/NV () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, api, fields -from openerp.tools.translate import _ -from openerp.tools import DEFAULT_SERVER_DATE_FORMAT -from datetime import datetime -from openerp import exceptions +from odoo import models, api, fields, _ +from odoo.exceptions import UserError class account_invoice(models.Model): _inherit = "account.invoice" + already_validated = fields.Boolean(readonly=True, copy=False) + @api.multi def action_move_create(self): res = super(account_invoice, self).action_move_create() @@ -51,33 +25,31 @@ class account_invoice(models.Model): ('journal_id', '=', inv.journal_id.id)], limit=1) if len(invoices) > 0: - date_invoice_format = datetime\ - .strptime(inv.date_invoice, - DEFAULT_SERVER_DATE_FORMAT) + date_invoice_format = fields.Date.\ + from_string(inv.date_invoice) date_invoice_tz = fields\ .Date.context_today(self, date_invoice_format) - raise exceptions.Warning(_("Chronology Error." - " Please confirm older draft" - " invoices before %s and" - " try again.") % - date_invoice_tz) - - if inv.internal_number is False: + raise UserError(_("Chronology Error. " + "Please confirm older draft " + "invoices before %s and try again.") + % date_invoice_tz) + if not inv.already_validated: invoices = self.search([('state', 'in', ['open', 'paid']), ('date_invoice', '>', inv.date_invoice), ('journal_id', '=', inv.journal_id.id)], limit=1) + if len(invoices) > 0: - date_invoice_format = datetime\ - .strptime(inv.date_invoice, - DEFAULT_SERVER_DATE_FORMAT) + date_invoice_format = fields.Date.\ + from_string(inv.date_invoice) date_invoice_tz = fields\ .Date.context_today(self, date_invoice_format) - raise exceptions.Warning(_("Chronology Error. There" - " exist at least one" - " invoice with a date" - " posterior to %s.") % - date_invoice_tz) + raise UserError(_("Chronology Error. " + "There exist at least one invoice " + "with a date posterior to %s.") % + date_invoice_tz) + if not inv.already_validated: + inv.already_validated = True return res diff --git a/account_invoice_constraint_chronology/tests/__init__.py b/account_invoice_constraint_chronology/tests/__init__.py index 3dd2ee2c0..1f3c5398d 100644 --- a/account_invoice_constraint_chronology/tests/__init__.py +++ b/account_invoice_constraint_chronology/tests/__init__.py @@ -1,30 +1 @@ -# -*- coding: utf-8 -*- -# -# -# Authors: Adrien Peiffer -# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) -# All Rights Reserved -# -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsibility of assessing all potential -# consequences resulting from its eventual inadequacies and bugs. -# End users who are looking for a ready-to-use solution with commercial -# guarantees and support are strongly advised to contact a Free Software -# Service Company. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -# - from . import test_account_constraint_chronology diff --git a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py index df5a2ed7a..1781f6968 100644 --- a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -1,90 +1,62 @@ # -*- coding: utf-8 -*- -# -# -# Authors: Adrien Peiffer -# Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu) -# All Rights Reserved -# -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsibility of assessing all potential -# consequences resulting from its eventual inadequacies and bugs. -# End users who are looking for a ready-to-use solution with commercial -# guarantees and support are strongly advised to contact a Free Software -# Service Company. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -# +# Copyright 2015-2017 ACSONE SA/NV () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -import openerp.tests.common as common -from openerp import workflow -from openerp import exceptions +import odoo.tests.common as common +from odoo.exceptions import UserError from datetime import datetime, timedelta -from openerp.tools import DEFAULT_SERVER_DATE_FORMAT - - -def get_simple_product_id(self): - return self.env['product.product'].create({'name': 'product_test_01', - 'lst_price': 2000.00, - }) +from odoo.tools import DEFAULT_SERVER_DATE_FORMAT def get_journal_check(self, value): - sale_journal_id = self.ref('account.sales_journal') - sale_journal = self.env['account.journal'].browse([sale_journal_id]) - journal = sale_journal.copy() + sale_journal_obj = self.AccountJournal.env['account.journal'].\ + search([('type', '=', 'sale')], limit=1) + journal = sale_journal_obj.copy() journal.check_chronology = value return journal -def get_simple_account_invoice_line_values(self, product_id): - return {'name': 'test', - 'account_id': self.ref('account.a_sale'), - 'price_unit': 2000.00, - 'quantity': 1, - 'product_id': product_id, - } - - def create_simple_invoice(self, journal_id, date): - partner_id = self.ref('base.res_partner_2') - product = get_simple_product_id(self) - return self.env['account.invoice']\ - .create({'partner_id': partner_id, - 'account_id': - self.ref('account.a_recv'), - 'journal_id': - journal_id, - 'date_invoice': date, - 'invoice_line': [(0, 0, {'name': 'test', - 'account_id': - self.ref('account.a_sale'), - 'price_unit': 2000.00, - 'quantity': 1, - 'product_id': product.id, - } - ) - ], - }) + invoice_account = self.env['account.account'].\ + search([('user_type_id', '=', + self.env.ref( + 'account.data_account_type_receivable' + ).id)], limit=1).id + invoice_line_account = self.env['account.account'].\ + search([('user_type_id', '=', + self.env.ref( + 'account.data_account_type_expenses' + ).id)], limit=1).id + analytic_account = self.env['account.analytic.account'].\ + create({'name': 'test account'}) + + invoice = self.env['account.invoice'].create( + {'partner_id': self.env.ref('base.res_partner_2').id, + 'account_id': invoice_account, + 'type': 'in_invoice', + 'journal_id': journal_id, + 'date_invoice': date, + 'state': 'draft', + }) + # invoice.write({'internal_number': invoice.number}) + self.env['account.invoice.line'].create( + {'product_id': self.env.ref('product.product_product_4').id, + 'quantity': 1.0, + 'price_unit': 100.0, + 'invoice_id': invoice.id, + 'name': 'product that cost 100', + 'account_id': invoice_line_account, + 'account_analytic_id': analytic_account.id, + }) + return invoice class TestAccountConstraintChronology(common.TransactionCase): def setUp(self): super(TestAccountConstraintChronology, self).setUp() - self.context = self.registry("res.users").context_get(self.cr, - self.uid) + self.AccountJournal = self.env['account.journal'] + self.Account = self.env['account.account'] def test_invoice_draft(self): journal = get_journal_check(self, True) @@ -94,23 +66,26 @@ class TestAccountConstraintChronology(common.TransactionCase): create_simple_invoice(self, journal.id, date) date = today.strftime(DEFAULT_SERVER_DATE_FORMAT) invoice_2 = create_simple_invoice(self, journal.id, date) - self.assertRaises(exceptions.Warning, workflow.trg_validate, self.uid, - 'account.invoice', invoice_2.id, 'invoice_open', - self.cr) + self.assertTrue((invoice_2.state == 'draft'), + "Initial invoice state is not Draft") + with self.assertRaises(UserError): + invoice_2.action_invoice_open() def test_invoice_validate(self): journal = get_journal_check(self, True) today = datetime.now() tomorrow = today + timedelta(days=1) - date = tomorrow.strftime(DEFAULT_SERVER_DATE_FORMAT) - invoice = create_simple_invoice(self, journal.id, date) - workflow.trg_validate(self.uid, 'account.invoice', invoice.id, - 'invoice_open', self.cr) + date_tomorrow = tomorrow.strftime(DEFAULT_SERVER_DATE_FORMAT) + invoice_1 = create_simple_invoice(self, journal.id, date_tomorrow) + self.assertTrue((invoice_1.state == 'draft'), + "Initial invoice state is not Draft") + invoice_1.action_invoice_open() date = today.strftime(DEFAULT_SERVER_DATE_FORMAT) invoice_2 = create_simple_invoice(self, journal.id, date) - self.assertRaises(exceptions.Warning, workflow.trg_validate, self.uid, - 'account.invoice', invoice_2.id, 'invoice_open', - self.cr) + self.assertTrue((invoice_2.state == 'draft'), + "Initial invoice state is not Draft") + with self.assertRaises(UserError): + invoice_2.action_invoice_open() def test_invoice_without_date(self): journal = get_journal_check(self, True) @@ -119,6 +94,7 @@ class TestAccountConstraintChronology(common.TransactionCase): date = yesterday.strftime(DEFAULT_SERVER_DATE_FORMAT) create_simple_invoice(self, journal.id, date) invoice_2 = create_simple_invoice(self, journal.id, False) - self.assertRaises(exceptions.Warning, workflow.trg_validate, self.uid, - 'account.invoice', invoice_2.id, 'invoice_open', - self.cr) + self.assertTrue((invoice_2.state == 'draft'), + "Initial invoice state is not Draft") + with self.assertRaises(UserError): + invoice_2.action_invoice_open() diff --git a/account_invoice_constraint_chronology/view/account_view.xml b/account_invoice_constraint_chronology/view/account_view.xml index 1fc86dfe7..95baf1ee0 100644 --- a/account_invoice_constraint_chronology/view/account_view.xml +++ b/account_invoice_constraint_chronology/view/account_view.xml @@ -1,15 +1,17 @@ - + + account.journal.form (account_constraint_chronology) account.journal - + - + From d6efba2b6e9598d75efeecbd5bae0e906d5cec32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Tue, 14 Mar 2017 17:26:24 +0100 Subject: [PATCH 15/46] [IMP] a_i_c_chronology: better check for previously validated invoices --- .../model/account_invoice.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index 4dd19daf3..b93e14af4 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -9,10 +9,9 @@ from odoo.exceptions import UserError class account_invoice(models.Model): _inherit = "account.invoice" - already_validated = fields.Boolean(readonly=True, copy=False) - @api.multi def action_move_create(self): + previously_validated = self.filtered(lambda inv: inv.move_name) res = super(account_invoice, self).action_move_create() for inv in self: if inv.journal_id.check_chronology: @@ -33,7 +32,7 @@ class account_invoice(models.Model): "Please confirm older draft " "invoices before %s and try again.") % date_invoice_tz) - if not inv.already_validated: + if inv not in previously_validated: invoices = self.search([('state', 'in', ['open', 'paid']), ('date_invoice', '>', inv.date_invoice), @@ -50,6 +49,4 @@ class account_invoice(models.Model): "There exist at least one invoice " "with a date posterior to %s.") % date_invoice_tz) - if not inv.already_validated: - inv.already_validated = True return res From 383441d2300f00f7f306f210e29d35e64d667916 Mon Sep 17 00:00:00 2001 From: gilles Date: Tue, 14 Mar 2017 19:09:03 +0100 Subject: [PATCH 16/46] [FIX] cleanup --- .../README.rst | 2 +- .../__manifest__.py | 8 -- .../model/account.py | 12 +- .../model/account_invoice.py | 4 +- .../test_account_constraint_chronology.py | 123 ++++++++++-------- .../view/account_view.xml | 22 ++-- 6 files changed, 88 insertions(+), 83 deletions(-) diff --git a/account_invoice_constraint_chronology/README.rst b/account_invoice_constraint_chronology/README.rst index 7ff9af8ec..78fad5acc 100644 --- a/account_invoice_constraint_chronology/README.rst +++ b/account_invoice_constraint_chronology/README.rst @@ -23,7 +23,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/92/8.0 + :target: https://runbot.odoo-community.org/runbot/92/10.0 Bug Tracker =========== diff --git a/account_invoice_constraint_chronology/__manifest__.py b/account_invoice_constraint_chronology/__manifest__.py index 2a334a8a6..ebed7b86c 100644 --- a/account_invoice_constraint_chronology/__manifest__.py +++ b/account_invoice_constraint_chronology/__manifest__.py @@ -10,14 +10,6 @@ "license": "AGPL-3", "category": "Accounting", "depends": ["account"], - "description": """ - Account Invoice Constraint Chronology - This module helps ensuring the chronology of invoice numbers. - It prevents the validation of invoices when: - * there are draft invoices with an anterior date - * there are validated invoices with a posterior date - """, - "test": ["../account/test/account_minimal_test.xml"], "data": ["view/account_view.xml"], 'installable': True, } diff --git a/account_invoice_constraint_chronology/model/account.py b/account_invoice_constraint_chronology/model/account.py index 3cf04a463..04bbbd186 100644 --- a/account_invoice_constraint_chronology/model/account.py +++ b/account_invoice_constraint_chronology/model/account.py @@ -5,15 +5,15 @@ from odoo import models, fields, api -class account_journal(models.Model): +class AccountJournal(models.Model): _inherit = ['account.journal'] check_chronology = fields.Boolean(string='Check Chronology', default=False) - @api.one + @api.multi @api.onchange('type') def on_change_type(self): - if self.type not in ['sale', 'purchase', 'sale_refund', - 'purchase_refund']: - self.check_chronology = False - return True + for rec in self: + if rec.type not in ['sale', 'purchase']: + rec.check_chronology = False + return True diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index b93e14af4..b7bc0fd1f 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -6,13 +6,13 @@ from odoo import models, api, fields, _ from odoo.exceptions import UserError -class account_invoice(models.Model): +class AccountInvoice(models.Model): _inherit = "account.invoice" @api.multi def action_move_create(self): previously_validated = self.filtered(lambda inv: inv.move_name) - res = super(account_invoice, self).action_move_create() + res = super(AccountInvoice, self).action_move_create() for inv in self: if inv.journal_id.check_chronology: invoices = \ diff --git a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py index 1781f6968..9a88bbacb 100644 --- a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -8,92 +8,107 @@ from datetime import datetime, timedelta from odoo.tools import DEFAULT_SERVER_DATE_FORMAT -def get_journal_check(self, value): - sale_journal_obj = self.AccountJournal.env['account.journal'].\ - search([('type', '=', 'sale')], limit=1) - journal = sale_journal_obj.copy() - journal.check_chronology = value - return journal - - -def create_simple_invoice(self, journal_id, date): - invoice_account = self.env['account.account'].\ - search([('user_type_id', '=', - self.env.ref( - 'account.data_account_type_receivable' - ).id)], limit=1).id - invoice_line_account = self.env['account.account'].\ - search([('user_type_id', '=', - self.env.ref( - 'account.data_account_type_expenses' - ).id)], limit=1).id - analytic_account = self.env['account.analytic.account'].\ - create({'name': 'test account'}) - - invoice = self.env['account.invoice'].create( - {'partner_id': self.env.ref('base.res_partner_2').id, - 'account_id': invoice_account, - 'type': 'in_invoice', - 'journal_id': journal_id, - 'date_invoice': date, - 'state': 'draft', - }) - # invoice.write({'internal_number': invoice.number}) - self.env['account.invoice.line'].create( - {'product_id': self.env.ref('product.product_product_4').id, - 'quantity': 1.0, - 'price_unit': 100.0, - 'invoice_id': invoice.id, - 'name': 'product that cost 100', - 'account_id': invoice_line_account, - 'account_analytic_id': analytic_account.id, - }) - return invoice - - class TestAccountConstraintChronology(common.TransactionCase): def setUp(self): super(TestAccountConstraintChronology, self).setUp() - self.AccountJournal = self.env['account.journal'] - self.Account = self.env['account.account'] + + # Needed to create invoice + + self.account_type1 = self.env['account.account.type'].\ + create({'name': 'acc type test 1', + 'type': 'receivable', + 'include_initial_balance': True}) + self.account_type2 = self.env['account.account.type']. \ + create({'name': 'acc type test 2', + 'type': 'other', + 'include_initial_balance': True}) + self.account_account = self.env['account.account'].\ + create({'name': 'acc test', + 'code': 'X2020', + 'user_type_id': self.account_type1.id, + 'reconcile': True}) + self.account_account_line = self.env['account.account']. \ + create({'name': 'acc inv line test', + 'code': 'X2021', + 'user_type_id': self.account_type2.id, + 'reconcile': True}) + self.sequence = self.env['ir.sequence'].create( + {'name': 'Journal Sale', + 'prefix': 'SALE', 'padding': 6, + 'company_id': self.env.ref("base.main_company").id}) + self.account_journal_sale = self.env['account.journal']\ + .create({'name': 'Sale journal', + 'code': 'SALE', + 'type': 'sale', + 'sequence_id': self.sequence.id}) + self.product = self.env['product.product'].create( + {'name': 'product name'}) + self.analytic_account = self.env['account.analytic.account'].\ + create({'name': 'test account'}) + + def get_journal_check(self, value): + journal = self.account_journal_sale.copy() + journal.check_chronology = value + return journal + + def create_simple_invoice(self, journal_id, date): + invoice = self.env['account.invoice'].create( + {'partner_id': self.env.ref('base.res_partner_2').id, + 'account_id': self.account_account.id, + 'type': 'in_invoice', + 'journal_id': journal_id, + 'date_invoice': date, + 'state': 'draft', + }) + + self.env['account.invoice.line'].create( + {'product_id': self.product.id, + 'quantity': 1.0, + 'price_unit': 100.0, + 'invoice_id': invoice.id, + 'name': 'product that cost 100', + 'account_id': self.account_account_line.id, + 'account_analytic_id': self.analytic_account.id, + }) + return invoice def test_invoice_draft(self): - journal = get_journal_check(self, True) + journal = self.get_journal_check(True) today = datetime.now() yesterday = today - timedelta(days=1) date = yesterday.strftime(DEFAULT_SERVER_DATE_FORMAT) - create_simple_invoice(self, journal.id, date) + self.create_simple_invoice(journal.id, date) date = today.strftime(DEFAULT_SERVER_DATE_FORMAT) - invoice_2 = create_simple_invoice(self, journal.id, date) + invoice_2 = self.create_simple_invoice(journal.id, date) self.assertTrue((invoice_2.state == 'draft'), "Initial invoice state is not Draft") with self.assertRaises(UserError): invoice_2.action_invoice_open() def test_invoice_validate(self): - journal = get_journal_check(self, True) + journal = self.get_journal_check(True) today = datetime.now() tomorrow = today + timedelta(days=1) date_tomorrow = tomorrow.strftime(DEFAULT_SERVER_DATE_FORMAT) - invoice_1 = create_simple_invoice(self, journal.id, date_tomorrow) + invoice_1 = self.create_simple_invoice(journal.id, date_tomorrow) self.assertTrue((invoice_1.state == 'draft'), "Initial invoice state is not Draft") invoice_1.action_invoice_open() date = today.strftime(DEFAULT_SERVER_DATE_FORMAT) - invoice_2 = create_simple_invoice(self, journal.id, date) + invoice_2 = self.create_simple_invoice(journal.id, date) self.assertTrue((invoice_2.state == 'draft'), "Initial invoice state is not Draft") with self.assertRaises(UserError): invoice_2.action_invoice_open() def test_invoice_without_date(self): - journal = get_journal_check(self, True) + journal = self.get_journal_check(True) today = datetime.now() yesterday = today - timedelta(days=1) date = yesterday.strftime(DEFAULT_SERVER_DATE_FORMAT) - create_simple_invoice(self, journal.id, date) - invoice_2 = create_simple_invoice(self, journal.id, False) + self.create_simple_invoice(journal.id, date) + invoice_2 = self.create_simple_invoice(journal.id, False) self.assertTrue((invoice_2.state == 'draft'), "Initial invoice state is not Draft") with self.assertRaises(UserError): diff --git a/account_invoice_constraint_chronology/view/account_view.xml b/account_invoice_constraint_chronology/view/account_view.xml index 95baf1ee0..20a236ea6 100644 --- a/account_invoice_constraint_chronology/view/account_view.xml +++ b/account_invoice_constraint_chronology/view/account_view.xml @@ -2,16 +2,14 @@ - - - account.journal.form (account_constraint_chronology) - account.journal - - - - - - - - + + account.journal.form (account_constraint_chronology) + account.journal + + + + + + + From 1d7a9fe2d8287a2103b0d885d990a260f4318d6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Mon, 29 May 2017 13:21:20 +0200 Subject: [PATCH 17/46] [IMP] a_i_c_chronology: improve/fox onchange --- account_invoice_constraint_chronology/model/account.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/account_invoice_constraint_chronology/model/account.py b/account_invoice_constraint_chronology/model/account.py index 04bbbd186..81884b497 100644 --- a/account_invoice_constraint_chronology/model/account.py +++ b/account_invoice_constraint_chronology/model/account.py @@ -10,10 +10,7 @@ class AccountJournal(models.Model): check_chronology = fields.Boolean(string='Check Chronology', default=False) - @api.multi @api.onchange('type') - def on_change_type(self): - for rec in self: - if rec.type not in ['sale', 'purchase']: - rec.check_chronology = False - return True + def _onchange_type(self): + if self.type not in ['sale', 'purchase']: + self.check_chronology = False From 045616358d601bca38c6f01dfe7c913e195f06b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Mon, 29 May 2017 14:47:31 +0200 Subject: [PATCH 18/46] [IMP] a_i_c_chronology: simplify if statements --- .../model/account_invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index b7bc0fd1f..08af1b78d 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -23,7 +23,7 @@ class AccountInvoice(models.Model): ('date_invoice', '<', inv.date_invoice), ('journal_id', '=', inv.journal_id.id)], limit=1) - if len(invoices) > 0: + if invoices: date_invoice_format = fields.Date.\ from_string(inv.date_invoice) date_invoice_tz = fields\ @@ -40,7 +40,7 @@ class AccountInvoice(models.Model): inv.journal_id.id)], limit=1) - if len(invoices) > 0: + if invoices: date_invoice_format = fields.Date.\ from_string(inv.date_invoice) date_invoice_tz = fields\ From 8abfd3c145fe077134fa6db36ea74cf360f45665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Mon, 29 May 2017 16:25:41 +0200 Subject: [PATCH 19/46] [IMP] a_i_c_chronology: cosmetics, pylint --- .../i18n/hr.po | 22 ++++---- .../i18n/hr_HR.po | 50 +++++++++++++++++++ .../i18n/pt_PT.po | 50 +++++++++++++++++++ .../i18n/sl.po | 26 +++++----- .../i18n/tr_TR.po | 50 +++++++++++++++++++ .../model/account.py | 2 +- .../test_account_constraint_chronology.py | 37 +++++++------- 7 files changed, 196 insertions(+), 41 deletions(-) create mode 100644 account_invoice_constraint_chronology/i18n/hr_HR.po create mode 100644 account_invoice_constraint_chronology/i18n/pt_PT.po create mode 100644 account_invoice_constraint_chronology/i18n/tr_TR.po diff --git a/account_invoice_constraint_chronology/i18n/hr.po b/account_invoice_constraint_chronology/i18n/hr.po index a4d0ff93f..e9624ccbe 100644 --- a/account_invoice_constraint_chronology/i18n/hr.po +++ b/account_invoice_constraint_chronology/i18n/hr.po @@ -3,14 +3,16 @@ # * account_invoice_constraint_chronology # # Translators: +# OCA Transbot , 2017 +# Bole , 2017 msgid "" msgstr "" -"Project-Id-Version: account-financial-tools (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" -"PO-Revision-Date: 2015-06-03 15:57+0000\n" -"Last-Translator: <>\n" -"Language-Team: Croatian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/hr/)\n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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" @@ -18,12 +20,12 @@ msgstr "" "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_constraint_chronology -#: field:account.journal,check_chronology:0 -msgid "Check Chronology" -msgstr "" +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check chronology" +msgstr "Provjeri kronološki" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:31 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:48 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a date posterior to " diff --git a/account_invoice_constraint_chronology/i18n/hr_HR.po b/account_invoice_constraint_chronology/i18n/hr_HR.po new file mode 100644 index 000000000..3e6fd0c8e --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/hr_HR.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:31 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:48 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Račun" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/pt_PT.po b/account_invoice_constraint_chronology/i18n/pt_PT.po new file mode 100644 index 000000000..9973fe52e --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/pt_PT.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_PT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:31 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:48 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Diário" diff --git a/account_invoice_constraint_chronology/i18n/sl.po b/account_invoice_constraint_chronology/i18n/sl.po index 69739b1cd..f5d3fc9de 100644 --- a/account_invoice_constraint_chronology/i18n/sl.po +++ b/account_invoice_constraint_chronology/i18n/sl.po @@ -3,15 +3,15 @@ # * account_invoice_constraint_chronology # # Translators: -# Matjaž Mozetič , 2015 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: account-financial-tools (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" -"PO-Revision-Date: 2015-07-04 11:49+0000\n" -"Last-Translator: Matjaž Mozetič \n" -"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/sl/)\n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,20 +19,22 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 -msgid "Check Chronology" -msgstr "Preveri kronologijo" +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check chronology" +msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:31 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " "again." -msgstr "Kronološka napaka. Starejše osnutke računov potrdite pred %s in poskusite ponovno." +msgstr "" +"Kronološka napaka. Starejše osnutke računov potrdite pred %s in poskusite " +"ponovno." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:48 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a date posterior to " diff --git a/account_invoice_constraint_chronology/i18n/tr_TR.po b/account_invoice_constraint_chronology/i18n/tr_TR.po new file mode 100644 index 000000000..7a4e15f8f --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/tr_TR.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# Ediz Duman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: Ediz Duman , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr_TR\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:31 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:48 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a date posterior to " +"%s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "Yevmiye" diff --git a/account_invoice_constraint_chronology/model/account.py b/account_invoice_constraint_chronology/model/account.py index 81884b497..9af202948 100644 --- a/account_invoice_constraint_chronology/model/account.py +++ b/account_invoice_constraint_chronology/model/account.py @@ -8,7 +8,7 @@ from odoo import models, fields, api class AccountJournal(models.Model): _inherit = ['account.journal'] - check_chronology = fields.Boolean(string='Check Chronology', default=False) + check_chronology = fields.Boolean(default=False) @api.onchange('type') def _onchange_type(self): diff --git a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py index 9a88bbacb..7bbc94f6c 100644 --- a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -2,9 +2,10 @@ # Copyright 2015-2017 ACSONE SA/NV () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from datetime import datetime, timedelta + import odoo.tests.common as common from odoo.exceptions import UserError -from datetime import datetime, timedelta from odoo.tools import DEFAULT_SERVER_DATE_FORMAT @@ -53,24 +54,24 @@ class TestAccountConstraintChronology(common.TransactionCase): return journal def create_simple_invoice(self, journal_id, date): - invoice = self.env['account.invoice'].create( - {'partner_id': self.env.ref('base.res_partner_2').id, - 'account_id': self.account_account.id, - 'type': 'in_invoice', - 'journal_id': journal_id, - 'date_invoice': date, - 'state': 'draft', - }) + invoice = self.env['account.invoice'].create({ + 'partner_id': self.env.ref('base.res_partner_2').id, + 'account_id': self.account_account.id, + 'type': 'in_invoice', + 'journal_id': journal_id, + 'date_invoice': date, + 'state': 'draft', + }) - self.env['account.invoice.line'].create( - {'product_id': self.product.id, - 'quantity': 1.0, - 'price_unit': 100.0, - 'invoice_id': invoice.id, - 'name': 'product that cost 100', - 'account_id': self.account_account_line.id, - 'account_analytic_id': self.analytic_account.id, - }) + self.env['account.invoice.line'].create({ + 'product_id': self.product.id, + 'quantity': 1.0, + 'price_unit': 100.0, + 'invoice_id': invoice.id, + 'name': 'product that cost 100', + 'account_id': self.account_account_line.id, + 'account_analytic_id': self.analytic_account.id, + }) return invoice def test_invoice_draft(self): From 00b821da9c0ff2bcdc450b1ff8682dbd74ed6ea0 Mon Sep 17 00:00:00 2001 From: Francesco Apruzzese Date: Tue, 19 Dec 2017 17:28:44 +0100 Subject: [PATCH 20/46] [MIG] account_invoice_constraint_chronology: Migration to 11.0 --- account_invoice_constraint_chronology/README.rst | 3 ++- account_invoice_constraint_chronology/__manifest__.py | 5 ++--- account_invoice_constraint_chronology/model/account.py | 3 +-- .../model/account_invoice.py | 3 +-- .../tests/test_account_constraint_chronology.py | 3 +-- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/account_invoice_constraint_chronology/README.rst b/account_invoice_constraint_chronology/README.rst index 78fad5acc..2ada196ca 100644 --- a/account_invoice_constraint_chronology/README.rst +++ b/account_invoice_constraint_chronology/README.rst @@ -23,7 +23,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/92/10.0 + :target: https://runbot.odoo-community.org/runbot/92/11.0 Bug Tracker =========== @@ -41,6 +41,7 @@ Contributors * Adrien Peiffer (`Acsone SA/NV `_) * Gilles Gilles +* Francesco Apruzzese Maintainer ---------- diff --git a/account_invoice_constraint_chronology/__manifest__.py b/account_invoice_constraint_chronology/__manifest__.py index ebed7b86c..0c323f913 100644 --- a/account_invoice_constraint_chronology/__manifest__.py +++ b/account_invoice_constraint_chronology/__manifest__.py @@ -1,9 +1,8 @@ -# -*- coding: utf-8 -*- # Copyright 2015-2017 ACSONE SA/NV () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Account Invoice Constraint Chronology", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "maintainer": "ACSONE SA/NV", "website": "http://www.acsone.eu", diff --git a/account_invoice_constraint_chronology/model/account.py b/account_invoice_constraint_chronology/model/account.py index 9af202948..6be55f8c2 100644 --- a/account_invoice_constraint_chronology/model/account.py +++ b/account_invoice_constraint_chronology/model/account.py @@ -1,6 +1,5 @@ -# -*- coding: utf-8 -*- # Copyright 2015-2017 ACSONE SA/NV () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import models, fields, api diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index 08af1b78d..4a8547d4c 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -1,6 +1,5 @@ -# -*- coding: utf-8 -*- # Copyright 2015-2017 ACSONE SA/NV () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import models, api, fields, _ from odoo.exceptions import UserError diff --git a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py index 7bbc94f6c..7fb574108 100644 --- a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -1,6 +1,5 @@ -# -*- coding: utf-8 -*- # Copyright 2015-2017 ACSONE SA/NV () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from datetime import datetime, timedelta From f8c89442b6460e3988303fd6e48ad0aa4bf1e8f7 Mon Sep 17 00:00:00 2001 From: rgarnau Date: Fri, 12 Jan 2018 10:46:29 +0100 Subject: [PATCH 21/46] minor fixes --- .../README.rst | 8 +-- .../account_invoice_constraint_chronology.pot | 12 ++--- .../i18n/ar.po | 19 +++---- .../i18n/bg.po | 49 ++++++++++++++++++ .../i18n/bs.po | 19 +++---- .../i18n/ca.po | 16 +++--- .../i18n/cs.po | 16 +++--- .../i18n/de.po | 29 ++++++----- .../i18n/el_GR.po | 50 +++++++++++++++++++ .../i18n/en_GB.po | 16 +++--- .../i18n/es.po | 16 +++--- .../i18n/es_CR.po | 16 +++--- .../i18n/es_EC.po | 16 +++--- .../i18n/es_MX.po | 16 +++--- .../i18n/es_VE.po | 16 +++--- .../i18n/et.po | 16 +++--- .../i18n/fi.po | 49 ++++++++++++++++++ .../i18n/fr.po | 31 +++++++----- .../i18n/fr_CA.po | 50 +++++++++++++++++++ .../i18n/fr_CH.po | 50 +++++++++++++++++++ .../i18n/gl.po | 49 ++++++++++++++++++ .../i18n/hr.po | 29 ++++++----- .../i18n/hr_HR.po | 19 +++---- .../i18n/hu.po | 16 +++--- .../i18n/id.po | 16 +++--- .../i18n/it.po | 16 +++--- .../i18n/ja.po | 16 +++--- .../i18n/lt.po | 19 +++---- .../i18n/mk.po | 16 +++--- .../i18n/mn.po | 16 +++--- .../i18n/nb.po | 16 +++--- .../i18n/nb_NO.po | 50 +++++++++++++++++++ .../i18n/nl.po | 16 +++--- .../i18n/nl_BE.po | 16 +++--- .../i18n/nl_NL.po | 50 +++++++++++++++++++ .../i18n/pl.po | 19 +++---- .../i18n/pt.po | 16 +++--- .../i18n/pt_BR.po | 16 +++--- .../i18n/pt_PT.po | 28 +++++------ .../i18n/ro.po | 19 +++---- .../i18n/ru.po | 20 ++++---- .../i18n/sk_SK.po | 50 +++++++++++++++++++ .../i18n/sl.po | 28 +++++------ .../i18n/sr@latin.po | 19 +++---- .../i18n/sv.po | 16 +++--- .../i18n/th.po | 16 +++--- .../i18n/tr.po | 16 +++--- .../i18n/tr_TR.po | 30 +++++------ .../i18n/vi.po | 16 +++--- .../i18n/zh_CN.po | 16 +++--- .../i18n/zh_TW.po | 16 +++--- .../model/account_invoice.py | 2 +- 52 files changed, 837 insertions(+), 376 deletions(-) create mode 100644 account_invoice_constraint_chronology/i18n/bg.po create mode 100644 account_invoice_constraint_chronology/i18n/el_GR.po create mode 100644 account_invoice_constraint_chronology/i18n/fi.po create mode 100644 account_invoice_constraint_chronology/i18n/fr_CA.po create mode 100644 account_invoice_constraint_chronology/i18n/fr_CH.po create mode 100644 account_invoice_constraint_chronology/i18n/gl.po create mode 100644 account_invoice_constraint_chronology/i18n/nb_NO.po create mode 100644 account_invoice_constraint_chronology/i18n/nl_NL.po create mode 100644 account_invoice_constraint_chronology/i18n/sk_SK.po diff --git a/account_invoice_constraint_chronology/README.rst b/account_invoice_constraint_chronology/README.rst index 2ada196ca..dab49e14e 100644 --- a/account_invoice_constraint_chronology/README.rst +++ b/account_invoice_constraint_chronology/README.rst @@ -1,5 +1,5 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 ===================================== @@ -10,13 +10,13 @@ This module helps ensuring the chronology of invoice numbers. It prevents the validation of invoices when: -* there are draft invoices with an anterior date -* there are validated invoices with a posterior date +* there are draft invoices with a prior date +* there are validated invoices with a later date Configuration ============= -To configure this module, go to the menu *Accounting > Configuration > Journals > Journals* and activate the option *Check Chronology* on the relevant journals. After the installation of the module, this option will be active on *sale* and *sale refund* journals. +To configure this module, go to the menu *Accounting/Invoicing > Configuration > Accounting > Journals* and activate the option *Check Chronology* on the relevant journals. After the installation of the module, this option will be active on *sale* and *sale refund* journals. Usage ===== diff --git a/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot index c13b71e5f..b9e25c4fe 100644 --- a/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot +++ b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot @@ -4,10 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0rc1\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-20 14:51+0000\n" -"PO-Revision-Date: 2014-08-20 14:51+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -16,20 +14,20 @@ msgstr "" "Plural-Forms: \n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:58 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "Chronology Error. Please confirm older draft invoices before %s and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:76 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format -msgid "Chronology Error. There exist at least one invoice with a date posterior to %s." +msgid "Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ar.po b/account_invoice_constraint_chronology/i18n/ar.po index 860a90ddf..40fc43570 100644 --- a/account_invoice_constraint_chronology/i18n/ar.po +++ b/account_invoice_constraint_chronology/i18n/ar.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,22 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ar/)\n" +"Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/ar/)\n" +"Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +33,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/bg.po b/account_invoice_constraint_chronology/i18n/bg.po new file mode 100644 index 000000000..624901f79 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/bg.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Фактура" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/bs.po b/account_invoice_constraint_chronology/i18n/bs.po index 3dd3968eb..c5d15e60a 100644 --- a/account_invoice_constraint_chronology/i18n/bs.po +++ b/account_invoice_constraint_chronology/i18n/bs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,22 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/bs/)\n" +"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/bs/)\n" +"Language: bs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: bs\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +33,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ca.po b/account_invoice_constraint_chronology/i18n/ca.po index 46bd4afeb..a5b6b2729 100644 --- a/account_invoice_constraint_chronology/i18n/ca.po +++ b/account_invoice_constraint_chronology/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Catalan (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ca/)\n" +"Language-Team: Catalan (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/ca/)\n" +"Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ca\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/cs.po b/account_invoice_constraint_chronology/i18n/cs.po index 007685165..f53efe690 100644 --- a/account_invoice_constraint_chronology/i18n/cs.po +++ b/account_invoice_constraint_chronology/i18n/cs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Czech (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/cs/)\n" +"Language-Team: Czech (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/cs/)\n" +"Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: cs\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/de.po b/account_invoice_constraint_chronology/i18n/de.po index e517978e6..6a1349b77 100644 --- a/account_invoice_constraint_chronology/i18n/de.po +++ b/account_invoice_constraint_chronology/i18n/de.po @@ -1,42 +1,45 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-07-01 13:25+0000\n" -"PO-Revision-Date: 2015-06-03 15:57+0000\n" -"Last-Translator: <>\n" -"Language-Team: German (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/de/)\n" +"PO-Revision-Date: 2018-10-11 11:16+0000\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German (http://www.transifex.com/oca/" +"OCA-account-financial-tools-8-0/language/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.1.1\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" -msgstr "" +msgstr "Prüfe Chronologie" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " "again." msgstr "" +"Chronolgiefehler. Geben Sie Rechnungsentwürfe vor %s frei und versuchen es " +"erneut." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." -msgstr "" +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "Chronologiefehler. Es gibt mind. eine Rechnung mit Datum nach %s." #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice diff --git a/account_invoice_constraint_chronology/i18n/el_GR.po b/account_invoice_constraint_chronology/i18n/el_GR.po new file mode 100644 index 000000000..4d36995e7 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/el_GR.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Τιμολόγιο" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/en_GB.po b/account_invoice_constraint_chronology/i18n/en_GB.po index 1cfaab217..8b9192583 100644 --- a/account_invoice_constraint_chronology/i18n/en_GB.po +++ b/account_invoice_constraint_chronology/i18n/en_GB.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/en_GB/)\n" +"Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-" +"account-financial-tools-8-0/language/en_GB/)\n" +"Language: en_GB\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: en_GB\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es.po b/account_invoice_constraint_chronology/i18n/es.po index 0d2e3c71c..f36a90fdc 100644 --- a/account_invoice_constraint_chronology/i18n/es.po +++ b/account_invoice_constraint_chronology/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es/)\n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_CR.po b/account_invoice_constraint_chronology/i18n/es_CR.po index 5f8b6a9d1..d97b7141f 100644 --- a/account_invoice_constraint_chronology/i18n/es_CR.po +++ b/account_invoice_constraint_chronology/i18n/es_CR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_CR/)\n" +"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-" +"account-financial-tools-8-0/language/es_CR/)\n" +"Language: es_CR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_CR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_EC.po b/account_invoice_constraint_chronology/i18n/es_EC.po index 212b04c57..6030c5939 100644 --- a/account_invoice_constraint_chronology/i18n/es_EC.po +++ b/account_invoice_constraint_chronology/i18n/es_EC.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_EC/)\n" +"Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/es_EC/)\n" +"Language: es_EC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_EC\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_MX.po b/account_invoice_constraint_chronology/i18n/es_MX.po index 0ea03a995..3ec4ca2c3 100644 --- a/account_invoice_constraint_chronology/i18n/es_MX.po +++ b/account_invoice_constraint_chronology/i18n/es_MX.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_MX/)\n" +"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/es_MX/)\n" +"Language: es_MX\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_MX\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_VE.po b/account_invoice_constraint_chronology/i18n/es_VE.po index 423c2c880..a9137b4a2 100644 --- a/account_invoice_constraint_chronology/i18n/es_VE.po +++ b/account_invoice_constraint_chronology/i18n/es_VE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_VE/)\n" +"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/es_VE/)\n" +"Language: es_VE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_VE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/et.po b/account_invoice_constraint_chronology/i18n/et.po index 73f4c7d64..7a5a7db42 100644 --- a/account_invoice_constraint_chronology/i18n/et.po +++ b/account_invoice_constraint_chronology/i18n/et.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Estonian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/et/)\n" +"Language-Team: Estonian (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/et/)\n" +"Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: et\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/fi.po b/account_invoice_constraint_chronology/i18n/fi.po new file mode 100644 index 000000000..b2d001120 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/fi.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Lasku" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/fr.po b/account_invoice_constraint_chronology/i18n/fr.po index 4e2b5dfd1..a981c17a5 100644 --- a/account_invoice_constraint_chronology/i18n/fr.po +++ b/account_invoice_constraint_chronology/i18n/fr.po @@ -1,42 +1,47 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: +# OCA Transbot , 2018 +# Quentin THEURET , 2018 msgid "" msgstr "" -"Project-Id-Version: account-financial-tools (8.0)\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" -"PO-Revision-Date: 2015-06-03 15:57+0000\n" -"Last-Translator: <>\n" -"Language-Team: French (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/fr/)\n" +"POT-Creation-Date: 2018-01-15 13:09+0000\n" +"PO-Revision-Date: 2018-01-15 13:09+0000\n" +"Last-Translator: Quentin THEURET , 2018\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" -msgstr "" +msgstr "Vérifier la chronologie" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " "again." msgstr "" +"Erreur de chronologie. Veuillez confirmer les anciennes factures brouillon " +"avant %set réessayer." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" +"Erreur de chronologie. Il existe au moins une facture avec une date " +"ultérieure à %s." #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice diff --git a/account_invoice_constraint_chronology/i18n/fr_CA.po b/account_invoice_constraint_chronology/i18n/fr_CA.po new file mode 100644 index 000000000..5b214c51c --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/fr_CA.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/" +"fr_CA/)\n" +"Language: fr_CA\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/fr_CH.po b/account_invoice_constraint_chronology/i18n/fr_CH.po new file mode 100644 index 000000000..53212e050 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/fr_CH.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/" +"teams/23907/fr_CH/)\n" +"Language: fr_CH\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/gl.po b/account_invoice_constraint_chronology/i18n/gl.po new file mode 100644 index 000000000..351539b50 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/gl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/hr.po b/account_invoice_constraint_chronology/i18n/hr.po index e9624ccbe..18625c801 100644 --- a/account_invoice_constraint_chronology/i18n/hr.po +++ b/account_invoice_constraint_chronology/i18n/hr.po @@ -1,31 +1,31 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: -# OCA Transbot , 2017 -# Bole , 2017 +# 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: 2017-05-30 00:47+0000\n" -"PO-Revision-Date: 2017-05-30 00:47+0000\n" -"Last-Translator: Bole , 2017\n" +"POT-Creation-Date: 2018-01-15 03:39+0000\n" +"PO-Revision-Date: 2018-01-15 03:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"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_constraint_chronology #: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology -msgid "Check chronology" -msgstr "Provjeri kronološki" +msgid "Check Chronology" +msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:31 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -33,11 +33,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:48 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/hr_HR.po b/account_invoice_constraint_chronology/i18n/hr_HR.po index 3e6fd0c8e..1c44c5365 100644 --- a/account_invoice_constraint_chronology/i18n/hr_HR.po +++ b/account_invoice_constraint_chronology/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: # Bole , 2017 msgid "" @@ -11,20 +11,22 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+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_constraint_chronology #: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology -msgid "Check chronology" +msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:31 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -32,11 +34,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:48 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/hu.po b/account_invoice_constraint_chronology/i18n/hu.po index a617a5948..738863297 100644 --- a/account_invoice_constraint_chronology/i18n/hu.po +++ b/account_invoice_constraint_chronology/i18n/hu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/hu/)\n" +"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/hu/)\n" +"Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/id.po b/account_invoice_constraint_chronology/i18n/id.po index 25963505c..be3036e67 100644 --- a/account_invoice_constraint_chronology/i18n/id.po +++ b/account_invoice_constraint_chronology/i18n/id.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Indonesian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/id/)\n" +"Language-Team: Indonesian (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/id/)\n" +"Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: id\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/it.po b/account_invoice_constraint_chronology/i18n/it.po index 0fe76523d..856626b65 100644 --- a/account_invoice_constraint_chronology/i18n/it.po +++ b/account_invoice_constraint_chronology/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Italian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/it/)\n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/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_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ja.po b/account_invoice_constraint_chronology/i18n/ja.po index 7743ac22a..316454aa9 100644 --- a/account_invoice_constraint_chronology/i18n/ja.po +++ b/account_invoice_constraint_chronology/i18n/ja.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Japanese (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ja/)\n" +"Language-Team: Japanese (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/ja/)\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/lt.po b/account_invoice_constraint_chronology/i18n/lt.po index feef3c9b4..94c660d76 100644 --- a/account_invoice_constraint_chronology/i18n/lt.po +++ b/account_invoice_constraint_chronology/i18n/lt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,22 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/lt/)\n" +"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/lt/)\n" +"Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lt\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" +"%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +33,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/mk.po b/account_invoice_constraint_chronology/i18n/mk.po index fa988ed40..6b682f35f 100644 --- a/account_invoice_constraint_chronology/i18n/mk.po +++ b/account_invoice_constraint_chronology/i18n/mk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/mk/)\n" +"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/mk/)\n" +"Language: mk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: mk\n" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/mn.po b/account_invoice_constraint_chronology/i18n/mn.po index b950ab3c5..1298b4529 100644 --- a/account_invoice_constraint_chronology/i18n/mn.po +++ b/account_invoice_constraint_chronology/i18n/mn.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/mn/)\n" +"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/mn/)\n" +"Language: mn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: mn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nb.po b/account_invoice_constraint_chronology/i18n/nb.po index a5e783bef..419aa949c 100644 --- a/account_invoice_constraint_chronology/i18n/nb.po +++ b/account_invoice_constraint_chronology/i18n/nb.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nb/)\n" +"Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/nb/)\n" +"Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nb\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nb_NO.po b/account_invoice_constraint_chronology/i18n/nb_NO.po new file mode 100644 index 000000000..7290f6106 --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/nb_NO.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/" +"teams/23907/nb_NO/)\n" +"Language: nb_NO\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Innmelding" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/nl.po b/account_invoice_constraint_chronology/i18n/nl.po index b0c15bc69..8c35373d9 100644 --- a/account_invoice_constraint_chronology/i18n/nl.po +++ b/account_invoice_constraint_chronology/i18n/nl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Dutch (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nl/)\n" +"Language-Team: Dutch (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/nl/)\n" +"Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nl_BE.po b/account_invoice_constraint_chronology/i18n/nl_BE.po index 3c38f61ba..342a246cb 100644 --- a/account_invoice_constraint_chronology/i18n/nl_BE.po +++ b/account_invoice_constraint_chronology/i18n/nl_BE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nl_BE/)\n" +"Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/nl_BE/)\n" +"Language: nl_BE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl_BE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nl_NL.po b/account_invoice_constraint_chronology/i18n/nl_NL.po new file mode 100644 index 000000000..577d2506a --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/nl_NL.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-06 02:40+0000\n" +"PO-Revision-Date: 2018-04-06 02:40+0000\n" +"Last-Translator: OCA Transbot , 2018\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Factuur" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/pl.po b/account_invoice_constraint_chronology/i18n/pl.po index 76ea7b868..584b95ac4 100644 --- a/account_invoice_constraint_chronology/i18n/pl.po +++ b/account_invoice_constraint_chronology/i18n/pl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,22 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Polish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/pl/)\n" +"Language-Team: Polish (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/pl/)\n" +"Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pl\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +33,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pt.po b/account_invoice_constraint_chronology/i18n/pt.po index dc75e0924..f5a93941a 100644 --- a/account_invoice_constraint_chronology/i18n/pt.po +++ b/account_invoice_constraint_chronology/i18n/pt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/pt/)\n" +"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/pt/)\n" +"Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pt_BR.po b/account_invoice_constraint_chronology/i18n/pt_BR.po index 2c7e4cc28..e5d42c52d 100644 --- a/account_invoice_constraint_chronology/i18n/pt_BR.po +++ b/account_invoice_constraint_chronology/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pt_PT.po b/account_invoice_constraint_chronology/i18n/pt_PT.po index 9973fe52e..72f2f1098 100644 --- a/account_invoice_constraint_chronology/i18n/pt_PT.po +++ b/account_invoice_constraint_chronology/i18n/pt_PT.po @@ -1,30 +1,31 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: -# OCA Transbot , 2017 +# 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: 2017-05-30 00:47+0000\n" -"PO-Revision-Date: 2017-05-30 00:47+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_PT\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology #: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology -msgid "Check chronology" +msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:31 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -32,17 +33,16 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:48 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice msgid "Invoice" -msgstr "" +msgstr "Fatura" #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal diff --git a/account_invoice_constraint_chronology/i18n/ro.po b/account_invoice_constraint_chronology/i18n/ro.po index 38feb1229..72d6cca71 100644 --- a/account_invoice_constraint_chronology/i18n/ro.po +++ b/account_invoice_constraint_chronology/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,22 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Romanian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ro/)\n" +"Language-Team: Romanian (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/ro/)\n" +"Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +33,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ru.po b/account_invoice_constraint_chronology/i18n/ru.po index 18e50dc60..8960acacc 100644 --- a/account_invoice_constraint_chronology/i18n/ru.po +++ b/account_invoice_constraint_chronology/i18n/ru.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,23 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Russian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ru/)\n" +"Language-Team: Russian (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/ru/)\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ru\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" +"%100>=11 && n%100<=14)? 2 : 3);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +34,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/sk_SK.po b/account_invoice_constraint_chronology/i18n/sk_SK.po new file mode 100644 index 000000000..f9419aa3c --- /dev/null +++ b/account_invoice_constraint_chronology/i18n/sk_SK.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_constraint_chronology +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Slovak (Slovakia) (https://www.transifex.com/oca/teams/23907/" +"sk_SK/)\n" +"Language: sk_SK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: account_invoice_constraint_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +msgid "Check Chronology" +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#, python-format +msgid "" +"Chronology Error. Please confirm older draft invoices before %s and try " +"again." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#, python-format +msgid "" +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice +msgid "Invoice" +msgstr "Faktúra" + +#. module: account_invoice_constraint_chronology +#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal +msgid "Journal" +msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/sl.po b/account_invoice_constraint_chronology/i18n/sl.po index f5d3fc9de..5b6381486 100644 --- a/account_invoice_constraint_chronology/i18n/sl.po +++ b/account_invoice_constraint_chronology/i18n/sl.po @@ -1,30 +1,31 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: -# OCA Transbot , 2017 +# 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: 2017-05-30 00:47+0000\n" -"PO-Revision-Date: 2017-05-30 00:47+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"POT-Creation-Date: 2018-01-15 03:39+0000\n" +"PO-Revision-Date: 2018-01-15 03:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: account_invoice_constraint_chronology #: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology -msgid "Check chronology" +msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:31 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -34,12 +35,11 @@ msgstr "" "ponovno." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:48 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." -msgstr "Kronološka napaka. Obstaja vsaj en račun z datumom za %s." +"Chronology Error. There exist at least one invoice with a later date to %s." +msgstr "" #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice diff --git a/account_invoice_constraint_chronology/i18n/sr@latin.po b/account_invoice_constraint_chronology/i18n/sr@latin.po index dc1e642c3..77d3ff016 100644 --- a/account_invoice_constraint_chronology/i18n/sr@latin.po +++ b/account_invoice_constraint_chronology/i18n/sr@latin.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,22 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Serbian (Latin) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/sr@latin/)\n" +"Language-Team: Serbian (Latin) (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/sr@latin/)\n" +"Language: sr@latin\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sr@latin\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_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +33,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/sv.po b/account_invoice_constraint_chronology/i18n/sv.po index ad7d11742..cf7d59024 100644 --- a/account_invoice_constraint_chronology/i18n/sv.po +++ b/account_invoice_constraint_chronology/i18n/sv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Swedish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/sv/)\n" +"Language-Team: Swedish (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/sv/)\n" +"Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/th.po b/account_invoice_constraint_chronology/i18n/th.po index c3317de94..0ed586fe2 100644 --- a/account_invoice_constraint_chronology/i18n/th.po +++ b/account_invoice_constraint_chronology/i18n/th.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Thai (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/th/)\n" +"Language-Team: Thai (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/th/)\n" +"Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: th\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/tr.po b/account_invoice_constraint_chronology/i18n/tr.po index 4975467e2..1af8b349a 100644 --- a/account_invoice_constraint_chronology/i18n/tr.po +++ b/account_invoice_constraint_chronology/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Turkish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/tr/)\n" +"Language-Team: Turkish (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/tr/)\n" +"Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: tr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/tr_TR.po b/account_invoice_constraint_chronology/i18n/tr_TR.po index 7a4e15f8f..8320b9313 100644 --- a/account_invoice_constraint_chronology/i18n/tr_TR.po +++ b/account_invoice_constraint_chronology/i18n/tr_TR.po @@ -1,30 +1,31 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: -# Ediz Duman , 2017 +# 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: 2017-05-30 00:47+0000\n" -"PO-Revision-Date: 2017-05-30 00:47+0000\n" -"Last-Translator: Ediz Duman , 2017\n" -"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: tr_TR\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology #: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology -msgid "Check chronology" +msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:31 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -32,17 +33,16 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:48 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice msgid "Invoice" -msgstr "" +msgstr "Fatura" #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal diff --git a/account_invoice_constraint_chronology/i18n/vi.po b/account_invoice_constraint_chronology/i18n/vi.po index c5f0004e2..5c5779cb5 100644 --- a/account_invoice_constraint_chronology/i18n/vi.po +++ b/account_invoice_constraint_chronology/i18n/vi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Vietnamese (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/vi/)\n" +"Language-Team: Vietnamese (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/vi/)\n" +"Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: vi\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/zh_CN.po b/account_invoice_constraint_chronology/i18n/zh_CN.po index 245a7c6aa..8337d4a6e 100644 --- a/account_invoice_constraint_chronology/i18n/zh_CN.po +++ b/account_invoice_constraint_chronology/i18n/zh_CN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/zh_CN/)\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/zh_CN/)\n" +"Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/zh_TW.po b/account_invoice_constraint_chronology/i18n/zh_TW.po index c9d88f787..70c84aee1 100644 --- a/account_invoice_constraint_chronology/i18n/zh_TW.po +++ b/account_invoice_constraint_chronology/i18n/zh_TW.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_invoice_constraint_chronology -# +# # Translators: msgid "" msgstr "" @@ -10,20 +10,21 @@ msgstr "" "POT-Creation-Date: 2015-07-01 13:25+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/zh_TW/)\n" +"Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-account-" +"financial-tools-8-0/language/zh_TW/)\n" +"Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: zh_TW\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: field:account.journal,check_chronology:0 +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:59 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before %s and try " @@ -31,11 +32,10 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:78 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a date posterior to " -"%s." +"Chronology Error. There exist at least one invoice with a later date to %s." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index 4a8547d4c..4185fcc7a 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -46,6 +46,6 @@ class AccountInvoice(models.Model): .Date.context_today(self, date_invoice_format) raise UserError(_("Chronology Error. " "There exist at least one invoice " - "with a date posterior to %s.") % + "with a later date to %s.") % date_invoice_tz) return res From 507a99ce795c611adf8af780a01ef478a03c1823 Mon Sep 17 00:00:00 2001 From: Thomas Binsfeld Date: Wed, 30 Jan 2019 14:27:00 +0100 Subject: [PATCH 22/46] [MIG] Account Invoice Constraint Chronology to 12.0 --- .../README.rst | 70 ++- .../__manifest__.py | 10 +- .../account_invoice_constraint_chronology.pot | 14 +- .../i18n/ar.po | 15 +- .../i18n/bg.po | 15 +- .../i18n/bs.po | 15 +- .../i18n/ca.po | 15 +- .../i18n/cs.po | 15 +- .../i18n/de.po | 23 +- .../i18n/el_GR.po | 15 +- .../i18n/en_GB.po | 15 +- .../i18n/es.po | 15 +- .../i18n/es_CR.po | 15 +- .../i18n/es_EC.po | 15 +- .../i18n/es_MX.po | 15 +- .../i18n/es_VE.po | 15 +- .../i18n/et.po | 15 +- .../i18n/fi.po | 15 +- .../i18n/fr.po | 19 +- .../i18n/fr_CA.po | 15 +- .../i18n/fr_CH.po | 15 +- .../i18n/gl.po | 15 +- .../i18n/hr.po | 15 +- .../i18n/hr_HR.po | 15 +- .../i18n/hu.po | 15 +- .../i18n/id.po | 15 +- .../i18n/it.po | 15 +- .../i18n/ja.po | 15 +- .../i18n/lt.po | 15 +- .../i18n/mk.po | 15 +- .../i18n/mn.po | 15 +- .../i18n/nb.po | 15 +- .../i18n/nb_NO.po | 15 +- .../i18n/nl.po | 15 +- .../i18n/nl_BE.po | 15 +- .../i18n/nl_NL.po | 15 +- .../i18n/pl.po | 15 +- .../i18n/pt.po | 15 +- .../i18n/pt_BR.po | 15 +- .../i18n/pt_PT.po | 15 +- .../i18n/ro.po | 15 +- .../i18n/ru.po | 15 +- .../i18n/sk_SK.po | 15 +- .../i18n/sl.po | 17 +- .../i18n/sr@latin.po | 15 +- .../i18n/sv.po | 15 +- .../i18n/th.po | 15 +- .../i18n/tr.po | 15 +- .../i18n/tr_TR.po | 15 +- .../i18n/vi.po | 15 +- .../i18n/zh_CN.po | 15 +- .../i18n/zh_TW.po | 15 +- .../model/__init__.py | 2 +- .../model/account_invoice.py | 26 +- .../model/{account.py => account_journal.py} | 7 +- .../readme/CONFIGURATION.rst | 1 + .../readme/CONTRIBUTORS.rst | 4 + .../readme/DESCRIPTION.rst | 6 + .../static/description/index.html | 427 ++++++++++++++++++ .../test_account_constraint_chronology.py | 33 +- .../view/account_view.xml | 7 +- 61 files changed, 940 insertions(+), 416 deletions(-) rename account_invoice_constraint_chronology/model/{account.py => account_journal.py} (68%) create mode 100644 account_invoice_constraint_chronology/readme/CONFIGURATION.rst create mode 100644 account_invoice_constraint_chronology/readme/CONTRIBUTORS.rst create mode 100644 account_invoice_constraint_chronology/readme/DESCRIPTION.rst create mode 100644 account_invoice_constraint_chronology/static/description/index.html diff --git a/account_invoice_constraint_chronology/README.rst b/account_invoice_constraint_chronology/README.rst index dab49e14e..f9d6cb784 100644 --- a/account_invoice_constraint_chronology/README.rst +++ b/account_invoice_constraint_chronology/README.rst @@ -1,11 +1,30 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ===================================== Account Invoice Constraint Chronology ===================================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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--financial--tools-lightgray.png?logo=github + :target: https://github.com/OCA/account-financial-tools/tree/12.0/account_invoice_constraint_chronology + :alt: OCA/account-financial-tools +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/92/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module helps ensuring the chronology of invoice numbers. It prevents the validation of invoices when: @@ -13,47 +32,50 @@ It prevents the validation of invoices when: * there are draft invoices with a prior date * there are validated invoices with a later date -Configuration -============= +**Table of contents** -To configure this module, go to the menu *Accounting/Invoicing > Configuration > Accounting > Journals* and activate the option *Check Chronology* on the relevant journals. After the installation of the module, this option will be active on *sale* and *sale refund* journals. - -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/92/11.0 +.. 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 +~~~~~~~ + +* ACSONE SA/NV + Contributors ------------- +~~~~~~~~~~~~ * Adrien Peiffer (`Acsone SA/NV `_) * Gilles Gilles * Francesco Apruzzese +* Thomas Binsfeld -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +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-financial-tools `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_invoice_constraint_chronology/__manifest__.py b/account_invoice_constraint_chronology/__manifest__.py index 0c323f913..8adaf6851 100644 --- a/account_invoice_constraint_chronology/__manifest__.py +++ b/account_invoice_constraint_chronology/__manifest__.py @@ -1,14 +1,14 @@ -# Copyright 2015-2017 ACSONE SA/NV () +# Copyright 2015-2019 ACSONE SA/NV () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Account Invoice Constraint Chronology", - "version": "11.0.1.0.0", - "author": "ACSONE SA/NV,Odoo Community Association (OCA)", + "version": "12.0.1.0.0", + "author": "Odoo Community Association (OCA), ACSONE SA/NV", "maintainer": "ACSONE SA/NV", - "website": "http://www.acsone.eu", + "website": "https://github.com/OCA/account-financial-tools/tree/12.0/" + "account_invoice_constraint_chronology", "license": "AGPL-3", "category": "Accounting", "depends": ["account"], "data": ["view/account_view.xml"], - 'installable': True, } diff --git a/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot index b9e25c4fe..e13e41917 100644 --- a/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot +++ b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot @@ -4,8 +4,10 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" +"PO-Revision-Date: 2019-01-30 16:31+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -14,20 +16,20 @@ msgstr "" "Plural-Forms: \n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format -msgid "Chronology Error. Please confirm older draft invoices before %s and try again." +msgid "Chronology Error. Please confirm older draft invoices before {date_invoice} and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format -msgid "Chronology Error. There exist at least one invoice with a later date to %s." +msgid "Chronology Error. There exist at least one invoice with a later date to {date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ar.po b/account_invoice_constraint_chronology/i18n/ar.po index 40fc43570..0867786fc 100644 --- a/account_invoice_constraint_chronology/i18n/ar.po +++ b/account_invoice_constraint_chronology/i18n/ar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-" @@ -20,23 +20,24 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/bg.po b/account_invoice_constraint_chronology/i18n/bg.po index 624901f79..b52c94af6 100644 --- a/account_invoice_constraint_chronology/i18n/bg.po +++ b/account_invoice_constraint_chronology/i18n/bg.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/bs.po b/account_invoice_constraint_chronology/i18n/bs.po index c5d15e60a..013335877 100644 --- a/account_invoice_constraint_chronology/i18n/bs.po +++ b/account_invoice_constraint_chronology/i18n/bs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Bosnian (http://www.transifex.com/oca/OCA-account-financial-" @@ -20,23 +20,24 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ca.po b/account_invoice_constraint_chronology/i18n/ca.po index a5b6b2729..350b1c494 100644 --- a/account_invoice_constraint_chronology/i18n/ca.po +++ b/account_invoice_constraint_chronology/i18n/ca.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Catalan (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/cs.po b/account_invoice_constraint_chronology/i18n/cs.po index f53efe690..95d7e432f 100644 --- a/account_invoice_constraint_chronology/i18n/cs.po +++ b/account_invoice_constraint_chronology/i18n/cs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Czech (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/de.po b/account_invoice_constraint_chronology/i18n/de.po index 6a1349b77..4b0e26f15 100644 --- a/account_invoice_constraint_chronology/i18n/de.po +++ b/account_invoice_constraint_chronology/i18n/de.po @@ -7,11 +7,11 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-10-11 11:16+0000\n" "Last-Translator: Rudolf Schnapka \n" -"Language-Team: German (http://www.transifex.com/oca/" -"OCA-account-financial-tools-8-0/language/de/)\n" +"Language-Team: German (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/de/)\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,25 +20,26 @@ msgstr "" "X-Generator: Weblate 3.1.1\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "Prüfe Chronologie" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 -#, python-format +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#, fuzzy, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" "Chronolgiefehler. Geben Sie Rechnungsentwürfe vor %s frei und versuchen es " "erneut." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 -#, python-format +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#, fuzzy, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "Chronologiefehler. Es gibt mind. eine Rechnung mit Datum nach %s." #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/el_GR.po b/account_invoice_constraint_chronology/i18n/el_GR.po index 4d36995e7..cf264e0d3 100644 --- a/account_invoice_constraint_chronology/i18n/el_GR.po +++ b/account_invoice_constraint_chronology/i18n/el_GR.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/en_GB.po b/account_invoice_constraint_chronology/i18n/en_GB.po index 8b9192583..0bd894bfb 100644 --- a/account_invoice_constraint_chronology/i18n/en_GB.po +++ b/account_invoice_constraint_chronology/i18n/en_GB.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es.po b/account_invoice_constraint_chronology/i18n/es.po index f36a90fdc..49597821e 100644 --- a/account_invoice_constraint_chronology/i18n/es.po +++ b/account_invoice_constraint_chronology/i18n/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Spanish (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_CR.po b/account_invoice_constraint_chronology/i18n/es_CR.po index d97b7141f..83f195256 100644 --- a/account_invoice_constraint_chronology/i18n/es_CR.po +++ b/account_invoice_constraint_chronology/i18n/es_CR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_EC.po b/account_invoice_constraint_chronology/i18n/es_EC.po index 6030c5939..c41ab1864 100644 --- a/account_invoice_constraint_chronology/i18n/es_EC.po +++ b/account_invoice_constraint_chronology/i18n/es_EC.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_MX.po b/account_invoice_constraint_chronology/i18n/es_MX.po index 3ec4ca2c3..79f7e28a4 100644 --- a/account_invoice_constraint_chronology/i18n/es_MX.po +++ b/account_invoice_constraint_chronology/i18n/es_MX.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_VE.po b/account_invoice_constraint_chronology/i18n/es_VE.po index a9137b4a2..455cfd6d1 100644 --- a/account_invoice_constraint_chronology/i18n/es_VE.po +++ b/account_invoice_constraint_chronology/i18n/es_VE.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/et.po b/account_invoice_constraint_chronology/i18n/et.po index 7a5a7db42..bea6533d4 100644 --- a/account_invoice_constraint_chronology/i18n/et.po +++ b/account_invoice_constraint_chronology/i18n/et.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Estonian (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/fi.po b/account_invoice_constraint_chronology/i18n/fi.po index b2d001120..f88934c9a 100644 --- a/account_invoice_constraint_chronology/i18n/fi.po +++ b/account_invoice_constraint_chronology/i18n/fi.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/fr.po b/account_invoice_constraint_chronology/i18n/fr.po index a981c17a5..fc43c297e 100644 --- a/account_invoice_constraint_chronology/i18n/fr.po +++ b/account_invoice_constraint_chronology/i18n/fr.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-15 13:09+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-01-15 13:09+0000\n" "Last-Translator: Quentin THEURET , 2018\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" @@ -20,25 +20,26 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "Vérifier la chronologie" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 -#, python-format +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#, fuzzy, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" "Erreur de chronologie. Veuillez confirmer les anciennes factures brouillon " "avant %set réessayer." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 -#, python-format +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#, fuzzy, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" "Erreur de chronologie. Il existe au moins une facture avec une date " "ultérieure à %s." diff --git a/account_invoice_constraint_chronology/i18n/fr_CA.po b/account_invoice_constraint_chronology/i18n/fr_CA.po index 5b214c51c..72792a140 100644 --- a/account_invoice_constraint_chronology/i18n/fr_CA.po +++ b/account_invoice_constraint_chronology/i18n/fr_CA.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/fr_CH.po b/account_invoice_constraint_chronology/i18n/fr_CH.po index 53212e050..14cc67dc5 100644 --- a/account_invoice_constraint_chronology/i18n/fr_CH.po +++ b/account_invoice_constraint_chronology/i18n/fr_CH.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: French (Switzerland) (https://www.transifex.com/oca/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/gl.po b/account_invoice_constraint_chronology/i18n/gl.po index 351539b50..52d8c0d85 100644 --- a/account_invoice_constraint_chronology/i18n/gl.po +++ b/account_invoice_constraint_chronology/i18n/gl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/hr.po b/account_invoice_constraint_chronology/i18n/hr.po index 18625c801..c749f5141 100644 --- a/account_invoice_constraint_chronology/i18n/hr.po +++ b/account_invoice_constraint_chronology/i18n/hr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-15 03:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-01-15 03:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" @@ -20,23 +20,24 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/hr_HR.po b/account_invoice_constraint_chronology/i18n/hr_HR.po index 1c44c5365..7924b6544 100644 --- a/account_invoice_constraint_chronology/i18n/hr_HR.po +++ b/account_invoice_constraint_chronology/i18n/hr_HR.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: Bole , 2017\n" "Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" @@ -21,23 +21,24 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/hu.po b/account_invoice_constraint_chronology/i18n/hu.po index 738863297..c191186bd 100644 --- a/account_invoice_constraint_chronology/i18n/hu.po +++ b/account_invoice_constraint_chronology/i18n/hu.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Hungarian (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/id.po b/account_invoice_constraint_chronology/i18n/id.po index be3036e67..6327a9304 100644 --- a/account_invoice_constraint_chronology/i18n/id.po +++ b/account_invoice_constraint_chronology/i18n/id.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Indonesian (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/it.po b/account_invoice_constraint_chronology/i18n/it.po index 856626b65..360e233bc 100644 --- a/account_invoice_constraint_chronology/i18n/it.po +++ b/account_invoice_constraint_chronology/i18n/it.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Italian (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ja.po b/account_invoice_constraint_chronology/i18n/ja.po index 316454aa9..e32b9f485 100644 --- a/account_invoice_constraint_chronology/i18n/ja.po +++ b/account_invoice_constraint_chronology/i18n/ja.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Japanese (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/lt.po b/account_invoice_constraint_chronology/i18n/lt.po index 94c660d76..510796a47 100644 --- a/account_invoice_constraint_chronology/i18n/lt.po +++ b/account_invoice_constraint_chronology/i18n/lt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-account-" @@ -20,23 +20,24 @@ msgstr "" "%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/mk.po b/account_invoice_constraint_chronology/i18n/mk.po index 6b682f35f..3d5fc5b3e 100644 --- a/account_invoice_constraint_chronology/i18n/mk.po +++ b/account_invoice_constraint_chronology/i18n/mk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Macedonian (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/mn.po b/account_invoice_constraint_chronology/i18n/mn.po index 1298b4529..7b76367a0 100644 --- a/account_invoice_constraint_chronology/i18n/mn.po +++ b/account_invoice_constraint_chronology/i18n/mn.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Mongolian (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nb.po b/account_invoice_constraint_chronology/i18n/nb.po index 419aa949c..e2445d9ed 100644 --- a/account_invoice_constraint_chronology/i18n/nb.po +++ b/account_invoice_constraint_chronology/i18n/nb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nb_NO.po b/account_invoice_constraint_chronology/i18n/nb_NO.po index 7290f6106..d4894cb29 100644 --- a/account_invoice_constraint_chronology/i18n/nb_NO.po +++ b/account_invoice_constraint_chronology/i18n/nb_NO.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nl.po b/account_invoice_constraint_chronology/i18n/nl.po index 8c35373d9..c44678b72 100644 --- a/account_invoice_constraint_chronology/i18n/nl.po +++ b/account_invoice_constraint_chronology/i18n/nl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Dutch (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nl_BE.po b/account_invoice_constraint_chronology/i18n/nl_BE.po index 342a246cb..ac3c3aaac 100644 --- a/account_invoice_constraint_chronology/i18n/nl_BE.po +++ b/account_invoice_constraint_chronology/i18n/nl_BE.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nl_NL.po b/account_invoice_constraint_chronology/i18n/nl_NL.po index 577d2506a..72ae77267 100644 --- a/account_invoice_constraint_chronology/i18n/nl_NL.po +++ b/account_invoice_constraint_chronology/i18n/nl_NL.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-06 02:40+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-04-06 02:40+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pl.po b/account_invoice_constraint_chronology/i18n/pl.po index 584b95ac4..23599ef55 100644 --- a/account_invoice_constraint_chronology/i18n/pl.po +++ b/account_invoice_constraint_chronology/i18n/pl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Polish (http://www.transifex.com/oca/OCA-account-financial-" @@ -20,23 +20,24 @@ msgstr "" "|| n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pt.po b/account_invoice_constraint_chronology/i18n/pt.po index f5a93941a..ca73a5e0a 100644 --- a/account_invoice_constraint_chronology/i18n/pt.po +++ b/account_invoice_constraint_chronology/i18n/pt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Portuguese (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pt_BR.po b/account_invoice_constraint_chronology/i18n/pt_BR.po index e5d42c52d..269854e5d 100644 --- a/account_invoice_constraint_chronology/i18n/pt_BR.po +++ b/account_invoice_constraint_chronology/i18n/pt_BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pt_PT.po b/account_invoice_constraint_chronology/i18n/pt_PT.po index 72f2f1098..5dc3a3cfb 100644 --- a/account_invoice_constraint_chronology/i18n/pt_PT.po +++ b/account_invoice_constraint_chronology/i18n/pt_PT.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ro.po b/account_invoice_constraint_chronology/i18n/ro.po index 72d6cca71..69f4e3576 100644 --- a/account_invoice_constraint_chronology/i18n/ro.po +++ b/account_invoice_constraint_chronology/i18n/ro.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Romanian (http://www.transifex.com/oca/OCA-account-financial-" @@ -20,23 +20,24 @@ msgstr "" "2:1));\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ru.po b/account_invoice_constraint_chronology/i18n/ru.po index 8960acacc..a7265a275 100644 --- a/account_invoice_constraint_chronology/i18n/ru.po +++ b/account_invoice_constraint_chronology/i18n/ru.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Russian (http://www.transifex.com/oca/OCA-account-financial-" @@ -21,23 +21,24 @@ msgstr "" "%100>=11 && n%100<=14)? 2 : 3);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/sk_SK.po b/account_invoice_constraint_chronology/i18n/sk_SK.po index f9419aa3c..303ad9ede 100644 --- a/account_invoice_constraint_chronology/i18n/sk_SK.po +++ b/account_invoice_constraint_chronology/i18n/sk_SK.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Slovak (Slovakia) (https://www.transifex.com/oca/teams/23907/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/sl.po b/account_invoice_constraint_chronology/i18n/sl.po index 5b6381486..5a5a308eb 100644 --- a/account_invoice_constraint_chronology/i18n/sl.po +++ b/account_invoice_constraint_chronology/i18n/sl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-15 03:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-01-15 03:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" @@ -20,25 +20,26 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 -#, python-format +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#, fuzzy, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" "Kronološka napaka. Starejše osnutke računov potrdite pred %s in poskusite " "ponovno." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/sr@latin.po b/account_invoice_constraint_chronology/i18n/sr@latin.po index 77d3ff016..1f4f4b55a 100644 --- a/account_invoice_constraint_chronology/i18n/sr@latin.po +++ b/account_invoice_constraint_chronology/i18n/sr@latin.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Serbian (Latin) (http://www.transifex.com/oca/OCA-account-" @@ -20,23 +20,24 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/sv.po b/account_invoice_constraint_chronology/i18n/sv.po index cf7d59024..b9e5a29d4 100644 --- a/account_invoice_constraint_chronology/i18n/sv.po +++ b/account_invoice_constraint_chronology/i18n/sv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Swedish (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/th.po b/account_invoice_constraint_chronology/i18n/th.po index 0ed586fe2..dfba9240f 100644 --- a/account_invoice_constraint_chronology/i18n/th.po +++ b/account_invoice_constraint_chronology/i18n/th.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Thai (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/tr.po b/account_invoice_constraint_chronology/i18n/tr.po index 1af8b349a..912278db6 100644 --- a/account_invoice_constraint_chronology/i18n/tr.po +++ b/account_invoice_constraint_chronology/i18n/tr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Turkish (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/tr_TR.po b/account_invoice_constraint_chronology/i18n/tr_TR.po index 8320b9313..24175d33c 100644 --- a/account_invoice_constraint_chronology/i18n/tr_TR.po +++ b/account_invoice_constraint_chronology/i18n/tr_TR.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/vi.po b/account_invoice_constraint_chronology/i18n/vi.po index 5c5779cb5..cb67fc247 100644 --- a/account_invoice_constraint_chronology/i18n/vi.po +++ b/account_invoice_constraint_chronology/i18n/vi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Vietnamese (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/zh_CN.po b/account_invoice_constraint_chronology/i18n/zh_CN.po index 8337d4a6e..a356547d1 100644 --- a/account_invoice_constraint_chronology/i18n/zh_CN.po +++ b/account_invoice_constraint_chronology/i18n/zh_CN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/zh_TW.po b/account_invoice_constraint_chronology/i18n/zh_TW.po index 70c84aee1..09f92956a 100644 --- a/account_invoice_constraint_chronology/i18n/zh_TW.po +++ b/account_invoice_constraint_chronology/i18n/zh_TW.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/model/__init__.py b/account_invoice_constraint_chronology/model/__init__.py index 97b1db6fd..599c03ec3 100644 --- a/account_invoice_constraint_chronology/model/__init__.py +++ b/account_invoice_constraint_chronology/model/__init__.py @@ -1,2 +1,2 @@ +from . import account_journal from . import account_invoice -from . import account diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index 4185fcc7a..76a1d2d92 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -1,6 +1,8 @@ -# Copyright 2015-2017 ACSONE SA/NV () +# Copyright 2015-2019 ACSONE SA/NV () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +import datetime + from odoo import models, api, fields, _ from odoo.exceptions import UserError @@ -23,10 +25,13 @@ class AccountInvoice(models.Model): ('journal_id', '=', inv.journal_id.id)], limit=1) if invoices: - date_invoice_format = fields.Date.\ - from_string(inv.date_invoice) - date_invoice_tz = fields\ - .Date.context_today(self, date_invoice_format) + date_invoice_format = datetime.datetime( + year=inv.date_invoice.year, + month=inv.date_invoice.month, + day=inv.date_invoice.day, + ) + date_invoice_tz = fields.Date.context_today( + self, date_invoice_format) raise UserError(_("Chronology Error. " "Please confirm older draft " "invoices before %s and try again.") @@ -40,10 +45,13 @@ class AccountInvoice(models.Model): limit=1) if invoices: - date_invoice_format = fields.Date.\ - from_string(inv.date_invoice) - date_invoice_tz = fields\ - .Date.context_today(self, date_invoice_format) + date_invoice_format = datetime.datetime( + year=inv.date_invoice.year, + month=inv.date_invoice.month, + day=inv.date_invoice.day, + ) + date_invoice_tz = fields.Date.context_today( + self, date_invoice_format) raise UserError(_("Chronology Error. " "There exist at least one invoice " "with a later date to %s.") % diff --git a/account_invoice_constraint_chronology/model/account.py b/account_invoice_constraint_chronology/model/account_journal.py similarity index 68% rename from account_invoice_constraint_chronology/model/account.py rename to account_invoice_constraint_chronology/model/account_journal.py index 6be55f8c2..724c1d911 100644 --- a/account_invoice_constraint_chronology/model/account.py +++ b/account_invoice_constraint_chronology/model/account_journal.py @@ -1,4 +1,4 @@ -# Copyright 2015-2017 ACSONE SA/NV () +# Copyright 2015-2019 ACSONE SA/NV () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import models, fields, api @@ -7,9 +7,12 @@ from odoo import models, fields, api class AccountJournal(models.Model): _inherit = ['account.journal'] - check_chronology = fields.Boolean(default=False) + check_chronology = fields.Boolean( + default=False, + ) @api.onchange('type') def _onchange_type(self): + self.ensure_one() if self.type not in ['sale', 'purchase']: self.check_chronology = False diff --git a/account_invoice_constraint_chronology/readme/CONFIGURATION.rst b/account_invoice_constraint_chronology/readme/CONFIGURATION.rst new file mode 100644 index 000000000..27b8315e8 --- /dev/null +++ b/account_invoice_constraint_chronology/readme/CONFIGURATION.rst @@ -0,0 +1 @@ +To configure this module, go to the menu *Accounting/Invoicing > Configuration > Accounting > Journals* and activate the option *Check Chronology* on the relevant journals. After the installation of the module, this option will be active on *sale* and *sale refund* journals. diff --git a/account_invoice_constraint_chronology/readme/CONTRIBUTORS.rst b/account_invoice_constraint_chronology/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..ef64cb6e6 --- /dev/null +++ b/account_invoice_constraint_chronology/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Adrien Peiffer (`Acsone SA/NV `_) +* Gilles Gilles +* Francesco Apruzzese +* Thomas Binsfeld diff --git a/account_invoice_constraint_chronology/readme/DESCRIPTION.rst b/account_invoice_constraint_chronology/readme/DESCRIPTION.rst new file mode 100644 index 000000000..62f42dcec --- /dev/null +++ b/account_invoice_constraint_chronology/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +This module helps ensuring the chronology of invoice numbers. + +It prevents the validation of invoices when: + +* there are draft invoices with a prior date +* there are validated invoices with a later date diff --git a/account_invoice_constraint_chronology/static/description/index.html b/account_invoice_constraint_chronology/static/description/index.html new file mode 100644 index 000000000..cc74e0a62 --- /dev/null +++ b/account_invoice_constraint_chronology/static/description/index.html @@ -0,0 +1,427 @@ + + + + + + +Account Invoice Constraint Chronology + + + +
+

Account Invoice Constraint Chronology

+ + +

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

+

This module helps ensuring the chronology of invoice numbers.

+

It prevents the validation of invoices when:

+
    +
  • there are draft invoices with a prior date
  • +
  • there are validated invoices with a later date
  • +
+

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

+
    +
  • ACSONE SA/NV
  • +
+
+
+

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-financial-tools project on GitHub.

+

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

+
+
+
+ + diff --git a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py index 7fb574108..392e11a86 100644 --- a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -1,4 +1,4 @@ -# Copyright 2015-2017 ACSONE SA/NV () +# Copyright 2015-2019 ACSONE SA/NV () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from datetime import datetime, timedelta @@ -8,43 +8,44 @@ from odoo.exceptions import UserError from odoo.tools import DEFAULT_SERVER_DATE_FORMAT -class TestAccountConstraintChronology(common.TransactionCase): +class TestAccountConstraintChronology(common.SavepointCase): - def setUp(self): - super(TestAccountConstraintChronology, self).setUp() + @classmethod + def setUpClass(cls): + super(TestAccountConstraintChronology, cls).setUpClass() # Needed to create invoice - self.account_type1 = self.env['account.account.type'].\ + cls.account_type1 = cls.env['account.account.type'].\ create({'name': 'acc type test 1', 'type': 'receivable', 'include_initial_balance': True}) - self.account_type2 = self.env['account.account.type']. \ + cls.account_type2 = cls.env['account.account.type']. \ create({'name': 'acc type test 2', 'type': 'other', 'include_initial_balance': True}) - self.account_account = self.env['account.account'].\ + cls.account_account = cls.env['account.account'].\ create({'name': 'acc test', 'code': 'X2020', - 'user_type_id': self.account_type1.id, + 'user_type_id': cls.account_type1.id, 'reconcile': True}) - self.account_account_line = self.env['account.account']. \ + cls.account_account_line = cls.env['account.account']. \ create({'name': 'acc inv line test', 'code': 'X2021', - 'user_type_id': self.account_type2.id, + 'user_type_id': cls.account_type2.id, 'reconcile': True}) - self.sequence = self.env['ir.sequence'].create( + cls.sequence = cls.env['ir.sequence'].create( {'name': 'Journal Sale', 'prefix': 'SALE', 'padding': 6, - 'company_id': self.env.ref("base.main_company").id}) - self.account_journal_sale = self.env['account.journal']\ + 'company_id': cls.env.ref("base.main_company").id}) + cls.account_journal_sale = cls.env['account.journal']\ .create({'name': 'Sale journal', 'code': 'SALE', 'type': 'sale', - 'sequence_id': self.sequence.id}) - self.product = self.env['product.product'].create( + 'sequence_id': cls.sequence.id}) + cls.product = cls.env['product.product'].create( {'name': 'product name'}) - self.analytic_account = self.env['account.analytic.account'].\ + cls.analytic_account = cls.env['account.analytic.account'].\ create({'name': 'test account'}) def get_journal_check(self, value): diff --git a/account_invoice_constraint_chronology/view/account_view.xml b/account_invoice_constraint_chronology/view/account_view.xml index 20a236ea6..142302b98 100644 --- a/account_invoice_constraint_chronology/view/account_view.xml +++ b/account_invoice_constraint_chronology/view/account_view.xml @@ -1,5 +1,5 @@ - @@ -8,8 +8,9 @@ - + - + From 25d91cda4e9050c5f3713f66dc960a74336cf0a8 Mon Sep 17 00:00:00 2001 From: Thomas Binsfeld Date: Wed, 30 Jan 2019 15:41:24 +0100 Subject: [PATCH 23/46] [REF] Account Invoice Constraint Chronology: prepare methods for domains --- .../model/account_invoice.py | 77 +++++++++++-------- 1 file changed, 44 insertions(+), 33 deletions(-) diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index 76a1d2d92..0b167acb7 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -10,20 +10,51 @@ from odoo.exceptions import UserError class AccountInvoice(models.Model): _inherit = "account.invoice" + @api.model + def _prepare_previous_invoices_domain(self, invoice): + return [ + ('state', 'not in', ['open', + 'paid', + 'cancel', + 'proforma', + 'proforma2']), + ('date_invoice', '!=', False), + ('date_invoice', '<', invoice.date_invoice), + ('journal_id', '=', invoice.journal_id.id), + ] + + @api.model + def _prepare_later_invoices_domain(self, invoice): + return [ + ('state', 'in', ['open', 'paid']), + ('date_invoice', '>', invoice.date_invoice), + ('journal_id', '=', invoice.journal_id.id), + ] + @api.multi def action_move_create(self): previously_validated = self.filtered(lambda inv: inv.move_name) res = super(AccountInvoice, self).action_move_create() for inv in self: - if inv.journal_id.check_chronology: - invoices = \ - self.search([('state', 'not in', - ['open', 'paid', 'cancel', 'proforma', - 'proforma2']), - ('date_invoice', '!=', False), - ('date_invoice', '<', inv.date_invoice), - ('journal_id', '=', inv.journal_id.id)], - limit=1) + if not inv.journal_id.check_chronology: + continue + invoices = self.search( + self._prepare_previous_invoices_domain(inv), limit=1) + if invoices: + date_invoice_format = datetime.datetime( + year=inv.date_invoice.year, + month=inv.date_invoice.month, + day=inv.date_invoice.day, + ) + date_invoice_tz = fields.Date.context_today( + self, date_invoice_format) + raise UserError(_( + "Chronology Error. Please confirm older draft invoices " + "before {date_invoice} and try again.").format( + date_invoice=date_invoice_tz)) + if inv not in previously_validated: + invoices = self.search( + self._prepare_later_invoices_domain(inv), limit=1) if invoices: date_invoice_format = datetime.datetime( year=inv.date_invoice.year, @@ -32,28 +63,8 @@ class AccountInvoice(models.Model): ) date_invoice_tz = fields.Date.context_today( self, date_invoice_format) - raise UserError(_("Chronology Error. " - "Please confirm older draft " - "invoices before %s and try again.") - % date_invoice_tz) - if inv not in previously_validated: - invoices = self.search([('state', 'in', ['open', 'paid']), - ('date_invoice', '>', - inv.date_invoice), - ('journal_id', '=', - inv.journal_id.id)], - limit=1) - - if invoices: - date_invoice_format = datetime.datetime( - year=inv.date_invoice.year, - month=inv.date_invoice.month, - day=inv.date_invoice.day, - ) - date_invoice_tz = fields.Date.context_today( - self, date_invoice_format) - raise UserError(_("Chronology Error. " - "There exist at least one invoice " - "with a later date to %s.") % - date_invoice_tz) + raise UserError(_( + "Chronology Error. There exist at least one invoice " + "with a later date to {date_invoice}.").format( + date_invoice=date_invoice_tz)) return res From 2571215d3d911deaed91883c4dadbc0c4d6a19cd Mon Sep 17 00:00:00 2001 From: Thomas Binsfeld Date: Mon, 25 Feb 2019 10:26:06 +0100 Subject: [PATCH 24/46] [REF] Account Invoice Constraint Chronology: better messages --- account_invoice_constraint_chronology/i18n/fr.po | 4 ++-- .../model/account_invoice.py | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/account_invoice_constraint_chronology/i18n/fr.po b/account_invoice_constraint_chronology/i18n/fr.po index fc43c297e..78608f30b 100644 --- a/account_invoice_constraint_chronology/i18n/fr.po +++ b/account_invoice_constraint_chronology/i18n/fr.po @@ -32,7 +32,7 @@ msgid "" "and try again." msgstr "" "Erreur de chronologie. Veuillez confirmer les anciennes factures brouillon " -"avant %set réessayer." +"avant le {date_invoice} et réessayer." #. module: account_invoice_constraint_chronology #: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 @@ -42,7 +42,7 @@ msgid "" "{date_invoice}." msgstr "" "Erreur de chronologie. Il existe au moins une facture avec une date " -"ultérieure à %s." +"ultérieure au {date_invoice}." #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index 0b167acb7..1eab68a64 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -5,6 +5,7 @@ import datetime from odoo import models, api, fields, _ from odoo.exceptions import UserError +from odoo.tools.misc import format_date class AccountInvoice(models.Model): @@ -46,8 +47,9 @@ class AccountInvoice(models.Model): month=inv.date_invoice.month, day=inv.date_invoice.day, ) - date_invoice_tz = fields.Date.context_today( - self, date_invoice_format) + date_invoice_tz = format_date( + self.env, fields.Date.context_today( + self, date_invoice_format)) raise UserError(_( "Chronology Error. Please confirm older draft invoices " "before {date_invoice} and try again.").format( @@ -61,8 +63,9 @@ class AccountInvoice(models.Model): month=inv.date_invoice.month, day=inv.date_invoice.day, ) - date_invoice_tz = fields.Date.context_today( - self, date_invoice_format) + date_invoice_tz = format_date( + self.env, fields.Date.context_today( + self, date_invoice_format)) raise UserError(_( "Chronology Error. There exist at least one invoice " "with a later date to {date_invoice}.").format( From 434a81e13d3e3754d822bdefd81a659c9939cc26 Mon Sep 17 00:00:00 2001 From: Thomas Binsfeld Date: Wed, 10 Apr 2019 16:37:31 +0200 Subject: [PATCH 25/46] [REF] Account Invoice Constraint Chronology: improve code coverage --- .../account_invoice_constraint_chronology.pot | 6 ++---- .../i18n/ar.po | 4 ++-- .../i18n/bg.po | 4 ++-- .../i18n/bs.po | 4 ++-- .../i18n/ca.po | 4 ++-- .../i18n/cs.po | 4 ++-- .../i18n/de.po | 4 ++-- .../i18n/el_GR.po | 4 ++-- .../i18n/en_GB.po | 4 ++-- .../i18n/es.po | 4 ++-- .../i18n/es_CR.po | 4 ++-- .../i18n/es_EC.po | 4 ++-- .../i18n/es_MX.po | 4 ++-- .../i18n/es_VE.po | 4 ++-- .../i18n/et.po | 4 ++-- .../i18n/fi.po | 4 ++-- .../i18n/fr.po | 4 ++-- .../i18n/fr_CA.po | 4 ++-- .../i18n/fr_CH.po | 4 ++-- .../i18n/gl.po | 4 ++-- .../i18n/hr.po | 4 ++-- .../i18n/hr_HR.po | 4 ++-- .../i18n/hu.po | 4 ++-- .../i18n/id.po | 4 ++-- .../i18n/it.po | 4 ++-- .../i18n/ja.po | 4 ++-- .../i18n/lt.po | 4 ++-- .../i18n/mk.po | 4 ++-- .../i18n/mn.po | 4 ++-- .../i18n/nb.po | 4 ++-- .../i18n/nb_NO.po | 4 ++-- .../i18n/nl.po | 4 ++-- .../i18n/nl_BE.po | 4 ++-- .../i18n/nl_NL.po | 4 ++-- .../i18n/pl.po | 4 ++-- .../i18n/pt.po | 4 ++-- .../i18n/pt_BR.po | 4 ++-- .../i18n/pt_PT.po | 4 ++-- .../i18n/ro.po | 4 ++-- .../i18n/ru.po | 4 ++-- .../i18n/sk_SK.po | 4 ++-- .../i18n/sl.po | 4 ++-- .../i18n/sr@latin.po | 4 ++-- .../i18n/sv.po | 4 ++-- .../i18n/th.po | 4 ++-- .../i18n/tr.po | 4 ++-- .../i18n/tr_TR.po | 4 ++-- .../i18n/vi.po | 4 ++-- .../i18n/zh_CN.po | 4 ++-- .../i18n/zh_TW.po | 4 ++-- .../test_account_constraint_chronology.py | 19 +++++++++++++++++++ 51 files changed, 119 insertions(+), 102 deletions(-) diff --git a/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot index e13e41917..763825547 100644 --- a/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot +++ b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot @@ -6,8 +6,6 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-30 16:31+0000\n" -"PO-Revision-Date: 2019-01-30 16:31+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -21,13 +19,13 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "Chronology Error. Please confirm older draft invoices before {date_invoice} and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "Chronology Error. There exist at least one invoice with a later date to {date_invoice}." msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/ar.po b/account_invoice_constraint_chronology/i18n/ar.po index 0867786fc..36f734e1a 100644 --- a/account_invoice_constraint_chronology/i18n/ar.po +++ b/account_invoice_constraint_chronology/i18n/ar.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/bg.po b/account_invoice_constraint_chronology/i18n/bg.po index b52c94af6..0dd5e9e64 100644 --- a/account_invoice_constraint_chronology/i18n/bg.po +++ b/account_invoice_constraint_chronology/i18n/bg.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/bs.po b/account_invoice_constraint_chronology/i18n/bs.po index 013335877..3b6dc4f70 100644 --- a/account_invoice_constraint_chronology/i18n/bs.po +++ b/account_invoice_constraint_chronology/i18n/bs.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/ca.po b/account_invoice_constraint_chronology/i18n/ca.po index 350b1c494..c391ea84d 100644 --- a/account_invoice_constraint_chronology/i18n/ca.po +++ b/account_invoice_constraint_chronology/i18n/ca.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/cs.po b/account_invoice_constraint_chronology/i18n/cs.po index 95d7e432f..6aaf2ae5e 100644 --- a/account_invoice_constraint_chronology/i18n/cs.po +++ b/account_invoice_constraint_chronology/i18n/cs.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/de.po b/account_invoice_constraint_chronology/i18n/de.po index 4b0e26f15..c7d0a1efa 100644 --- a/account_invoice_constraint_chronology/i18n/de.po +++ b/account_invoice_constraint_chronology/i18n/de.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "Prüfe Chronologie" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, fuzzy, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -35,7 +35,7 @@ msgstr "" "erneut." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, fuzzy, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/el_GR.po b/account_invoice_constraint_chronology/i18n/el_GR.po index cf264e0d3..22035e5c5 100644 --- a/account_invoice_constraint_chronology/i18n/el_GR.po +++ b/account_invoice_constraint_chronology/i18n/el_GR.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/en_GB.po b/account_invoice_constraint_chronology/i18n/en_GB.po index 0bd894bfb..bd5fccab9 100644 --- a/account_invoice_constraint_chronology/i18n/en_GB.po +++ b/account_invoice_constraint_chronology/i18n/en_GB.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/es.po b/account_invoice_constraint_chronology/i18n/es.po index 49597821e..36c945372 100644 --- a/account_invoice_constraint_chronology/i18n/es.po +++ b/account_invoice_constraint_chronology/i18n/es.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/es_CR.po b/account_invoice_constraint_chronology/i18n/es_CR.po index 83f195256..4ce9eb94a 100644 --- a/account_invoice_constraint_chronology/i18n/es_CR.po +++ b/account_invoice_constraint_chronology/i18n/es_CR.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/es_EC.po b/account_invoice_constraint_chronology/i18n/es_EC.po index c41ab1864..9d11fb6f8 100644 --- a/account_invoice_constraint_chronology/i18n/es_EC.po +++ b/account_invoice_constraint_chronology/i18n/es_EC.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/es_MX.po b/account_invoice_constraint_chronology/i18n/es_MX.po index 79f7e28a4..90cda6c53 100644 --- a/account_invoice_constraint_chronology/i18n/es_MX.po +++ b/account_invoice_constraint_chronology/i18n/es_MX.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/es_VE.po b/account_invoice_constraint_chronology/i18n/es_VE.po index 455cfd6d1..fb6efc7e3 100644 --- a/account_invoice_constraint_chronology/i18n/es_VE.po +++ b/account_invoice_constraint_chronology/i18n/es_VE.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/et.po b/account_invoice_constraint_chronology/i18n/et.po index bea6533d4..123fbfaaa 100644 --- a/account_invoice_constraint_chronology/i18n/et.po +++ b/account_invoice_constraint_chronology/i18n/et.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/fi.po b/account_invoice_constraint_chronology/i18n/fi.po index f88934c9a..aab186a09 100644 --- a/account_invoice_constraint_chronology/i18n/fi.po +++ b/account_invoice_constraint_chronology/i18n/fi.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/fr.po b/account_invoice_constraint_chronology/i18n/fr.po index 78608f30b..aaeae1fc6 100644 --- a/account_invoice_constraint_chronology/i18n/fr.po +++ b/account_invoice_constraint_chronology/i18n/fr.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "Vérifier la chronologie" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, fuzzy, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -35,7 +35,7 @@ msgstr "" "avant le {date_invoice} et réessayer." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, fuzzy, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/fr_CA.po b/account_invoice_constraint_chronology/i18n/fr_CA.po index 72792a140..d481bd78c 100644 --- a/account_invoice_constraint_chronology/i18n/fr_CA.po +++ b/account_invoice_constraint_chronology/i18n/fr_CA.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/fr_CH.po b/account_invoice_constraint_chronology/i18n/fr_CH.po index 14cc67dc5..43f6cb820 100644 --- a/account_invoice_constraint_chronology/i18n/fr_CH.po +++ b/account_invoice_constraint_chronology/i18n/fr_CH.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/gl.po b/account_invoice_constraint_chronology/i18n/gl.po index 52d8c0d85..8e9686083 100644 --- a/account_invoice_constraint_chronology/i18n/gl.po +++ b/account_invoice_constraint_chronology/i18n/gl.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/hr.po b/account_invoice_constraint_chronology/i18n/hr.po index c749f5141..84c62958e 100644 --- a/account_invoice_constraint_chronology/i18n/hr.po +++ b/account_invoice_constraint_chronology/i18n/hr.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/hr_HR.po b/account_invoice_constraint_chronology/i18n/hr_HR.po index 7924b6544..b8ca11dd5 100644 --- a/account_invoice_constraint_chronology/i18n/hr_HR.po +++ b/account_invoice_constraint_chronology/i18n/hr_HR.po @@ -26,7 +26,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -34,7 +34,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/hu.po b/account_invoice_constraint_chronology/i18n/hu.po index c191186bd..ff8fae968 100644 --- a/account_invoice_constraint_chronology/i18n/hu.po +++ b/account_invoice_constraint_chronology/i18n/hu.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/id.po b/account_invoice_constraint_chronology/i18n/id.po index 6327a9304..ab7c87c45 100644 --- a/account_invoice_constraint_chronology/i18n/id.po +++ b/account_invoice_constraint_chronology/i18n/id.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/it.po b/account_invoice_constraint_chronology/i18n/it.po index 360e233bc..abe99f1e7 100644 --- a/account_invoice_constraint_chronology/i18n/it.po +++ b/account_invoice_constraint_chronology/i18n/it.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/ja.po b/account_invoice_constraint_chronology/i18n/ja.po index e32b9f485..85aaeb9f1 100644 --- a/account_invoice_constraint_chronology/i18n/ja.po +++ b/account_invoice_constraint_chronology/i18n/ja.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/lt.po b/account_invoice_constraint_chronology/i18n/lt.po index 510796a47..d44fa4c1d 100644 --- a/account_invoice_constraint_chronology/i18n/lt.po +++ b/account_invoice_constraint_chronology/i18n/lt.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/mk.po b/account_invoice_constraint_chronology/i18n/mk.po index 3d5fc5b3e..4b2bfafdf 100644 --- a/account_invoice_constraint_chronology/i18n/mk.po +++ b/account_invoice_constraint_chronology/i18n/mk.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/mn.po b/account_invoice_constraint_chronology/i18n/mn.po index 7b76367a0..8a3a03af7 100644 --- a/account_invoice_constraint_chronology/i18n/mn.po +++ b/account_invoice_constraint_chronology/i18n/mn.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/nb.po b/account_invoice_constraint_chronology/i18n/nb.po index e2445d9ed..edd474235 100644 --- a/account_invoice_constraint_chronology/i18n/nb.po +++ b/account_invoice_constraint_chronology/i18n/nb.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/nb_NO.po b/account_invoice_constraint_chronology/i18n/nb_NO.po index d4894cb29..3da45dab4 100644 --- a/account_invoice_constraint_chronology/i18n/nb_NO.po +++ b/account_invoice_constraint_chronology/i18n/nb_NO.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/nl.po b/account_invoice_constraint_chronology/i18n/nl.po index c44678b72..fc23e4d56 100644 --- a/account_invoice_constraint_chronology/i18n/nl.po +++ b/account_invoice_constraint_chronology/i18n/nl.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/nl_BE.po b/account_invoice_constraint_chronology/i18n/nl_BE.po index ac3c3aaac..feb4c5446 100644 --- a/account_invoice_constraint_chronology/i18n/nl_BE.po +++ b/account_invoice_constraint_chronology/i18n/nl_BE.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/nl_NL.po b/account_invoice_constraint_chronology/i18n/nl_NL.po index 72ae77267..c161b154e 100644 --- a/account_invoice_constraint_chronology/i18n/nl_NL.po +++ b/account_invoice_constraint_chronology/i18n/nl_NL.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/pl.po b/account_invoice_constraint_chronology/i18n/pl.po index 23599ef55..3477cec68 100644 --- a/account_invoice_constraint_chronology/i18n/pl.po +++ b/account_invoice_constraint_chronology/i18n/pl.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/pt.po b/account_invoice_constraint_chronology/i18n/pt.po index ca73a5e0a..5a50d8c80 100644 --- a/account_invoice_constraint_chronology/i18n/pt.po +++ b/account_invoice_constraint_chronology/i18n/pt.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/pt_BR.po b/account_invoice_constraint_chronology/i18n/pt_BR.po index 269854e5d..fd9ed53f1 100644 --- a/account_invoice_constraint_chronology/i18n/pt_BR.po +++ b/account_invoice_constraint_chronology/i18n/pt_BR.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/pt_PT.po b/account_invoice_constraint_chronology/i18n/pt_PT.po index 5dc3a3cfb..a861e6281 100644 --- a/account_invoice_constraint_chronology/i18n/pt_PT.po +++ b/account_invoice_constraint_chronology/i18n/pt_PT.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/ro.po b/account_invoice_constraint_chronology/i18n/ro.po index 69f4e3576..26a4f773a 100644 --- a/account_invoice_constraint_chronology/i18n/ro.po +++ b/account_invoice_constraint_chronology/i18n/ro.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/ru.po b/account_invoice_constraint_chronology/i18n/ru.po index a7265a275..680b14d00 100644 --- a/account_invoice_constraint_chronology/i18n/ru.po +++ b/account_invoice_constraint_chronology/i18n/ru.po @@ -26,7 +26,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -34,7 +34,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/sk_SK.po b/account_invoice_constraint_chronology/i18n/sk_SK.po index 303ad9ede..7b1551890 100644 --- a/account_invoice_constraint_chronology/i18n/sk_SK.po +++ b/account_invoice_constraint_chronology/i18n/sk_SK.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/sl.po b/account_invoice_constraint_chronology/i18n/sl.po index 5a5a308eb..58d448cac 100644 --- a/account_invoice_constraint_chronology/i18n/sl.po +++ b/account_invoice_constraint_chronology/i18n/sl.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, fuzzy, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -35,7 +35,7 @@ msgstr "" "ponovno." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/sr@latin.po b/account_invoice_constraint_chronology/i18n/sr@latin.po index 1f4f4b55a..ab00d40e6 100644 --- a/account_invoice_constraint_chronology/i18n/sr@latin.po +++ b/account_invoice_constraint_chronology/i18n/sr@latin.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/sv.po b/account_invoice_constraint_chronology/i18n/sv.po index b9e5a29d4..b81a17ee9 100644 --- a/account_invoice_constraint_chronology/i18n/sv.po +++ b/account_invoice_constraint_chronology/i18n/sv.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/th.po b/account_invoice_constraint_chronology/i18n/th.po index dfba9240f..d19dff3d9 100644 --- a/account_invoice_constraint_chronology/i18n/th.po +++ b/account_invoice_constraint_chronology/i18n/th.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/tr.po b/account_invoice_constraint_chronology/i18n/tr.po index 912278db6..8a2170e23 100644 --- a/account_invoice_constraint_chronology/i18n/tr.po +++ b/account_invoice_constraint_chronology/i18n/tr.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/tr_TR.po b/account_invoice_constraint_chronology/i18n/tr_TR.po index 24175d33c..632aec2d1 100644 --- a/account_invoice_constraint_chronology/i18n/tr_TR.po +++ b/account_invoice_constraint_chronology/i18n/tr_TR.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/vi.po b/account_invoice_constraint_chronology/i18n/vi.po index cb67fc247..cc4d6e4bc 100644 --- a/account_invoice_constraint_chronology/i18n/vi.po +++ b/account_invoice_constraint_chronology/i18n/vi.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/zh_CN.po b/account_invoice_constraint_chronology/i18n/zh_CN.po index a356547d1..1291ff2ab 100644 --- a/account_invoice_constraint_chronology/i18n/zh_CN.po +++ b/account_invoice_constraint_chronology/i18n/zh_CN.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/zh_TW.po b/account_invoice_constraint_chronology/i18n/zh_TW.po index 09f92956a..c44dbee2f 100644 --- a/account_invoice_constraint_chronology/i18n/zh_TW.po +++ b/account_invoice_constraint_chronology/i18n/zh_TW.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py index 392e11a86..6392c80ad 100644 --- a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -87,6 +87,18 @@ class TestAccountConstraintChronology(common.SavepointCase): with self.assertRaises(UserError): invoice_2.action_invoice_open() + def test_invoice_draft_no_check(self): + journal = self.get_journal_check(False) + today = datetime.now() + yesterday = today - timedelta(days=1) + date = yesterday.strftime(DEFAULT_SERVER_DATE_FORMAT) + self.create_simple_invoice(journal.id, date) + date = today.strftime(DEFAULT_SERVER_DATE_FORMAT) + invoice_2 = self.create_simple_invoice(journal.id, date) + self.assertTrue((invoice_2.state == 'draft'), + "Initial invoice state is not Draft") + self.assertTrue(invoice_2.action_invoice_open()) + def test_invoice_validate(self): journal = self.get_journal_check(True) today = datetime.now() @@ -114,3 +126,10 @@ class TestAccountConstraintChronology(common.SavepointCase): "Initial invoice state is not Draft") with self.assertRaises(UserError): invoice_2.action_invoice_open() + + def test_journal_change_type(self): + self.account_journal_sale.check_chronology = True + self.assertTrue(self.account_journal_sale.check_chronology) + self.account_journal_sale.type = 'bank' + self.account_journal_sale._onchange_type() + self.assertFalse(self.account_journal_sale.check_chronology) From 31e33fed96b9e5bb787788ca2973cb490bf2fecd Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Jul 2019 02:35:39 +0000 Subject: [PATCH 26/46] [UPD] README.rst --- .../i18n/hr.po | 14 +++++++++----- .../i18n/pt.po | 15 ++++++++++----- .../i18n/pt_BR.po | 17 +++++++++++------ .../static/description/index.html | 2 +- 4 files changed, 31 insertions(+), 17 deletions(-) diff --git a/account_invoice_constraint_chronology/i18n/hr.po b/account_invoice_constraint_chronology/i18n/hr.po index 84c62958e..b5ae1143f 100644 --- a/account_invoice_constraint_chronology/i18n/hr.po +++ b/account_invoice_constraint_chronology/i18n/hr.po @@ -9,20 +9,21 @@ msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-01-30 16:31+0000\n" -"PO-Revision-Date: 2018-01-15 03:39+0000\n" -"Last-Translator: OCA Transbot , 2018\n" +"PO-Revision-Date: 2019-11-12 15:34+0000\n" +"Last-Translator: Bole \n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" "Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"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" +"X-Generator: Weblate 3.8\n" #. module: account_invoice_constraint_chronology #: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" -msgstr "" +msgstr "Provjeri kronologiju" #. module: account_invoice_constraint_chronology #: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 @@ -31,6 +32,8 @@ msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " "and try again." msgstr "" +"Greška kronologije: Molimo potvrdite starije račune prije {date_invoice} i " +"pokušajte ponovo." #. module: account_invoice_constraint_chronology #: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 @@ -39,6 +42,7 @@ msgid "" "Chronology Error. There exist at least one invoice with a later date to " "{date_invoice}." msgstr "" +"Kronološka greška. Postoji najmanje jedan račun sa datum iza {date_invoice}." #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice diff --git a/account_invoice_constraint_chronology/i18n/pt.po b/account_invoice_constraint_chronology/i18n/pt.po index 5a50d8c80..ac2a72ca0 100644 --- a/account_invoice_constraint_chronology/i18n/pt.po +++ b/account_invoice_constraint_chronology/i18n/pt.po @@ -8,20 +8,21 @@ msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-01-30 16:31+0000\n" -"PO-Revision-Date: 2015-06-03 15:57+0000\n" -"Last-Translator: <>\n" -"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-account-" -"financial-tools-8-0/language/pt/)\n" +"PO-Revision-Date: 2020-02-26 21:13+0000\n" +"Last-Translator: alvarorib \n" +"Language-Team: Portuguese (http://www.transifex.com/oca/" +"OCA-account-financial-tools-8-0/language/pt/)\n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Weblate 3.10\n" #. module: account_invoice_constraint_chronology #: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" -msgstr "" +msgstr "Verificar Cronologia" #. module: account_invoice_constraint_chronology #: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 @@ -30,6 +31,8 @@ msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " "and try again." msgstr "" +"Erro de Cronologia. Por favor confirme antes as faturas em rascunho mais " +"antigas antes da {date_invoice} e tente novamente." #. module: account_invoice_constraint_chronology #: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 @@ -38,6 +41,8 @@ msgid "" "Chronology Error. There exist at least one invoice with a later date to " "{date_invoice}." msgstr "" +"Erro de Cronologia. Existe pelo menos uma fatura com uma data maior que " +"{date_invoice}." #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice diff --git a/account_invoice_constraint_chronology/i18n/pt_BR.po b/account_invoice_constraint_chronology/i18n/pt_BR.po index fd9ed53f1..d9bace3b5 100644 --- a/account_invoice_constraint_chronology/i18n/pt_BR.po +++ b/account_invoice_constraint_chronology/i18n/pt_BR.po @@ -8,20 +8,21 @@ msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-01-30 16:31+0000\n" -"PO-Revision-Date: 2015-06-03 15:57+0000\n" -"Last-Translator: <>\n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-" -"financial-tools-8-0/language/pt_BR/)\n" +"PO-Revision-Date: 2019-09-17 17:24+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/" +"OCA-account-financial-tools-8-0/language/pt_BR/)\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.8\n" #. module: account_invoice_constraint_chronology #: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" -msgstr "" +msgstr "Verificar Cronologia" #. module: account_invoice_constraint_chronology #: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 @@ -30,6 +31,8 @@ msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " "and try again." msgstr "" +"Erro cronológico. Confirme as faturas de rascunho mais antigas antes de " +"{date_invoice} e tente novamente." #. module: account_invoice_constraint_chronology #: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 @@ -38,6 +41,8 @@ msgid "" "Chronology Error. There exist at least one invoice with a later date to " "{date_invoice}." msgstr "" +"Erro cronológico. Existe pelo menos uma fatura com uma data posterior para " +"{date_invoice}." #. module: account_invoice_constraint_chronology #: model:ir.model,name:account_invoice_constraint_chronology.model_account_invoice diff --git a/account_invoice_constraint_chronology/static/description/index.html b/account_invoice_constraint_chronology/static/description/index.html index cc74e0a62..5a412abbe 100644 --- a/account_invoice_constraint_chronology/static/description/index.html +++ b/account_invoice_constraint_chronology/static/description/index.html @@ -3,7 +3,7 @@ - + Account Invoice Constraint Chronology