From 1493a01b5df1339765360a059a466ecfd2a10494 Mon Sep 17 00:00:00 2001 From: william Date: Tue, 14 Jul 2020 13:41:07 +0000 Subject: [PATCH] [IMP] account: get default payment ref format with country Task 2297165 Set the payment reference standard to the one of the country of the company by default. The module l10n_be_invoice_bba has been merged into l10n_be as it was auto_installed, it will not be problematic not being able to uninstall it, and the order of installation of modules made it so that the journals were created before l10n_be_invoice_bba was installed. This caused the value to be set to 'odoo' on a fresh database instead of 'be' --- addons/account/models/account_journal.py | 12 +- addons/l10n_be/models/__init__.py | 2 + .../models/account_journal.py | 0 .../models/account_move.py} | 0 addons/l10n_be_invoice_bba/__init__.py | 6 - addons/l10n_be_invoice_bba/__manifest__.py | 29 ---- addons/l10n_be_invoice_bba/i18n/fr.po | 131 ------------------ addons/l10n_be_invoice_bba/i18n/fr_BE.po | 115 --------------- addons/l10n_be_invoice_bba/i18n/fr_CA.po | 115 --------------- .../i18n/l10n_be_invoice_bba.pot | 43 ------ addons/l10n_be_invoice_bba/i18n/nl.po | 131 ------------------ addons/l10n_be_invoice_bba/i18n/nl_BE.po | 130 ----------------- addons/l10n_be_invoice_bba/models/__init__.py | 7 - 13 files changed, 13 insertions(+), 708 deletions(-) rename addons/{l10n_be_invoice_bba => l10n_be}/models/account_journal.py (100%) rename addons/{l10n_be_invoice_bba/models/account_invoice.py => l10n_be/models/account_move.py} (100%) delete mode 100644 addons/l10n_be_invoice_bba/__init__.py delete mode 100644 addons/l10n_be_invoice_bba/__manifest__.py delete mode 100644 addons/l10n_be_invoice_bba/i18n/fr.po delete mode 100644 addons/l10n_be_invoice_bba/i18n/fr_BE.po delete mode 100644 addons/l10n_be_invoice_bba/i18n/fr_CA.po delete mode 100644 addons/l10n_be_invoice_bba/i18n/l10n_be_invoice_bba.pot delete mode 100644 addons/l10n_be_invoice_bba/i18n/nl.po delete mode 100644 addons/l10n_be_invoice_bba/i18n/nl_BE.po delete mode 100644 addons/l10n_be_invoice_bba/models/__init__.py diff --git a/addons/account/models/account_journal.py b/addons/account/models/account_journal.py index 98493af3e8e..dcaac32a951 100644 --- a/addons/account/models/account_journal.py +++ b/addons/account/models/account_journal.py @@ -40,6 +40,16 @@ class AccountJournal(models.Model): def _default_alias_domain(self): return self.env["ir.config_parameter"].sudo().get_param("mail.catchall.domain") + def _default_invoice_reference_model(self): + """Get the invoice reference model according to the company's country.""" + country_code = self.env.company.country_id.code + country_code = country_code and country_code.lower() + if country_code: + for model in self._fields['invoice_reference_model'].get_values(self.env): + if model.startswith(country_code): + return model + return 'odoo' + name = fields.Char(string='Journal Name', required=True) code = fields.Char(string='Short Code', size=5, required=True, help="Shorter name used for display. The journal entries of this journal will also be named using this prefix by default.") active = fields.Boolean(default=True, help="Set active to false to hide the Journal without removing it.") @@ -96,7 +106,7 @@ class AccountJournal(models.Model): sequence = fields.Integer(help='Used to order Journals in the dashboard view', default=10) invoice_reference_type = fields.Selection(string='Communication Type', required=True, selection=[('none', 'Free'), ('partner', 'Based on Customer'), ('invoice', 'Based on Invoice')], default='invoice', help='You can set here the default communication that will appear on customer invoices, once validated, to help the customer to refer to that particular invoice when making the payment.') - invoice_reference_model = fields.Selection(string='Communication Standard', required=True, selection=[('odoo', 'Odoo'),('euro', 'European')], default='odoo', help="You can choose different models for each type of reference. The default one is the Odoo reference.") + invoice_reference_model = fields.Selection(string='Communication Standard', required=True, selection=[('odoo', 'Odoo'), ('euro', 'European')], default=_default_invoice_reference_model, help="You can choose different models for each type of reference. The default one is the Odoo reference.") #groups_id = fields.Many2many('res.groups', 'account_journal_group_rel', 'journal_id', 'group_id', string='Groups') currency_id = fields.Many2one('res.currency', help='The currency used to enter statement', string="Currency") diff --git a/addons/l10n_be/models/__init__.py b/addons/l10n_be/models/__init__.py index afe2e684616..6ad2218aca8 100644 --- a/addons/l10n_be/models/__init__.py +++ b/addons/l10n_be/models/__init__.py @@ -2,3 +2,5 @@ # Part of Odoo. See LICENSE file for full copyright and licensing details. from . import account_chart_template +from . import account_journal +from . import account_move diff --git a/addons/l10n_be_invoice_bba/models/account_journal.py b/addons/l10n_be/models/account_journal.py similarity index 100% rename from addons/l10n_be_invoice_bba/models/account_journal.py rename to addons/l10n_be/models/account_journal.py diff --git a/addons/l10n_be_invoice_bba/models/account_invoice.py b/addons/l10n_be/models/account_move.py similarity index 100% rename from addons/l10n_be_invoice_bba/models/account_invoice.py rename to addons/l10n_be/models/account_move.py diff --git a/addons/l10n_be_invoice_bba/__init__.py b/addons/l10n_be_invoice_bba/__init__.py deleted file mode 100644 index f5bc480ccb8..00000000000 --- a/addons/l10n_be_invoice_bba/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -# Copyright (c) 2011 Noviat nv/sa (www.noviat.be). All rights reserved. - -from . import models diff --git a/addons/l10n_be_invoice_bba/__manifest__.py b/addons/l10n_be_invoice_bba/__manifest__.py deleted file mode 100644 index 96aa38ea70d..00000000000 --- a/addons/l10n_be_invoice_bba/__manifest__.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -# Copyright (c) 2011 Noviat nv/sa (www.noviat.be). All rights reserved. - -{ - 'name': 'Belgium - Structured Communication', - 'version': '1.2', - 'author': 'Noviat', - 'category': 'Accounting/Localizations', - 'description': """ - -Add Structured Communication to customer invoices. --------------------------------------------------- - -Using BBA structured communication simplifies the reconciliation between invoices and payments. -You can select the structured communication as payment communication in Invoicing/Accounting settings. -Two algorithms are suggested: - - 1) Invoice Number +++RRR/RRRR/RRRDD+++ - **R..R =** Invoice Number, **DD =** Check Digits - 2) Customer Reference +++RRR/RRRR/SSSDD+++ - **R..R =** Customer Reference without non-numeric characters, **SSS =** Sequence Number, **DD =** Check Digits - """, - 'depends': ['account', 'l10n_be'], - 'data': [ - ], - 'auto_install': True, -} diff --git a/addons/l10n_be_invoice_bba/i18n/fr.po b/addons/l10n_be_invoice_bba/i18n/fr.po deleted file mode 100644 index 096c66550dc..00000000000 --- a/addons/l10n_be_invoice_bba/i18n/fr.po +++ /dev/null @@ -1,131 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * l10n_be_invoice_bba -# -# Translators: -# Fabien Pinckaers , 2015 -# Maxime Chambreuil , 2015 -msgid "" -msgstr "" -"Project-Id-Version: Odoo 9.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-07 14:56+0000\n" -"PO-Revision-Date: 2015-11-18 18:13+0000\n" -"Last-Translator: Maxime Chambreuil \n" -"Language-Team: French (http://www.transifex.com/odoo/odoo-9/language/fr/)\n" -"Language: fr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm -msgid "Communication Algorithm" -msgstr "Type de communication" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_type -msgid "Communication Type" -msgstr "Type de communication" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Customer Reference" -msgstr "Référence client" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Date" -msgstr "Date" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:149 -#, python-format -msgid "" -"Empty BBA Structured Communication!\n" -"Please fill in a unique BBA Structured Communication." -msgstr "" -"Communication structurée vide!\n" -"Merci d'indiquer une communication structurée unique." - -#. module: l10n_be_invoice_bba -#: constraint:account.invoice:0 -msgid "Invalid BBA Structured Communication !" -msgstr "Communication structurée incorrecte!" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_account_invoice -msgid "Invoice" -msgstr "Facture" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_res_partner -msgid "Partner" -msgstr "Partenaire" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Random" -msgstr "Aléatoire" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm -msgid "" -"Select Algorithm to generate the Structured Communication on Outgoing " -"Invoices." -msgstr "" -"Sélectionnez le mode de génération de la communication structurée pour les " -"factures sortantes." - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_res_partner_out_inv_comm_type -msgid "Select Default Communication Type for Outgoing Invoices." -msgstr "" -"Sélectionnez le type de communication par défaut pour les factures clients." - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:158 -#: code:addons/l10n_be_invoice_bba/invoice.py:179 -#, python-format -msgid "" -"The BBA Structured Communication has already been used!\n" -"Please create manually a unique BBA Structured Communication." -msgstr "" -"Cette communication structurée a déjà été utilisée!\n" -"Merci de créer manuellement un numéro unique." - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:102 -#, python-format -msgid "" -"The Partner should have a 3-7 digit Reference Number for the generation of " -"BBA Structured Communications!\n" -"Please correct the Partner record." -msgstr "" -"Le partenaire devrait avoir une référence de 3-7 chiffres pour la " -"communication structurée.\n" -"Merci de corriger l'enregistrement du partenaire." - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:91 -#: code:addons/l10n_be_invoice_bba/invoice.py:115 -#, python-format -msgid "" -"The daily maximum of outgoing invoices with an automatically generated BBA " -"Structured Communications has been exceeded!\n" -"Please create manually a unique BBA Structured Communication." -msgstr "" -"Le nombre maximum de factures par jour ayant une communication structurée a " -"été dépassé!\n" -"Merci de créer une communication structurée unique manuellement." - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:130 -#, python-format -msgid "" -"Unsupported Structured Communication Type Algorithm '%s' !\n" -"Please contact your Odoo support channel." -msgstr "" -"Mode de communication structurée non supporté '%s'!\n" -"Merci de contacter le service support." diff --git a/addons/l10n_be_invoice_bba/i18n/fr_BE.po b/addons/l10n_be_invoice_bba/i18n/fr_BE.po deleted file mode 100644 index 9e9d5c7e4ab..00000000000 --- a/addons/l10n_be_invoice_bba/i18n/fr_BE.po +++ /dev/null @@ -1,115 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * l10n_be_invoice_bba -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Odoo 9.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-07 14:56+0000\n" -"PO-Revision-Date: 2015-09-08 05:26+0000\n" -"Last-Translator: Martin Trigaux\n" -"Language-Team: French (Belgium) (http://www.transifex.com/odoo/odoo-9/" -"language/fr_BE/)\n" -"Language: fr_BE\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: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm -msgid "Communication Algorithm" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_type -msgid "Communication Type" -msgstr "" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Customer Reference" -msgstr "" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Date" -msgstr "Date" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:149 -#, python-format -msgid "" -"Empty BBA Structured Communication!\n" -"Please fill in a unique BBA Structured Communication." -msgstr "" - -#. module: l10n_be_invoice_bba -#: constraint:account.invoice:0 -msgid "Invalid BBA Structured Communication !" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_account_invoice -msgid "Invoice" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_res_partner -msgid "Partner" -msgstr "Partenaire" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Random" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm -msgid "" -"Select Algorithm to generate the Structured Communication on Outgoing " -"Invoices." -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_res_partner_out_inv_comm_type -msgid "Select Default Communication Type for Outgoing Invoices." -msgstr "" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:158 -#: code:addons/l10n_be_invoice_bba/invoice.py:179 -#, python-format -msgid "" -"The BBA Structured Communication has already been used!\n" -"Please create manually a unique BBA Structured Communication." -msgstr "" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:102 -#, python-format -msgid "" -"The Partner should have a 3-7 digit Reference Number for the generation of " -"BBA Structured Communications!\n" -"Please correct the Partner record." -msgstr "" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:91 -#: code:addons/l10n_be_invoice_bba/invoice.py:115 -#, python-format -msgid "" -"The daily maximum of outgoing invoices with an automatically generated BBA " -"Structured Communications has been exceeded!\n" -"Please create manually a unique BBA Structured Communication." -msgstr "" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:130 -#, python-format -msgid "" -"Unsupported Structured Communication Type Algorithm '%s' !\n" -"Please contact your Odoo support channel." -msgstr "" diff --git a/addons/l10n_be_invoice_bba/i18n/fr_CA.po b/addons/l10n_be_invoice_bba/i18n/fr_CA.po deleted file mode 100644 index db2aad23870..00000000000 --- a/addons/l10n_be_invoice_bba/i18n/fr_CA.po +++ /dev/null @@ -1,115 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * l10n_be_invoice_bba -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Odoo 9.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-07 14:56+0000\n" -"PO-Revision-Date: 2016-02-23 06:16+0000\n" -"Last-Translator: Martin Trigaux\n" -"Language-Team: French (Canada) (http://www.transifex.com/odoo/odoo-9/" -"language/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: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm -msgid "Communication Algorithm" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_type -msgid "Communication Type" -msgstr "" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Customer Reference" -msgstr "" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Date" -msgstr "Date" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:149 -#, python-format -msgid "" -"Empty BBA Structured Communication!\n" -"Please fill in a unique BBA Structured Communication." -msgstr "" - -#. module: l10n_be_invoice_bba -#: constraint:account.invoice:0 -msgid "Invalid BBA Structured Communication !" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_account_invoice -msgid "Invoice" -msgstr "Facture" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_res_partner -msgid "Partner" -msgstr "Partenaire" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Random" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm -msgid "" -"Select Algorithm to generate the Structured Communication on Outgoing " -"Invoices." -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_res_partner_out_inv_comm_type -msgid "Select Default Communication Type for Outgoing Invoices." -msgstr "" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:158 -#: code:addons/l10n_be_invoice_bba/invoice.py:179 -#, python-format -msgid "" -"The BBA Structured Communication has already been used!\n" -"Please create manually a unique BBA Structured Communication." -msgstr "" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:102 -#, python-format -msgid "" -"The Partner should have a 3-7 digit Reference Number for the generation of " -"BBA Structured Communications!\n" -"Please correct the Partner record." -msgstr "" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:91 -#: code:addons/l10n_be_invoice_bba/invoice.py:115 -#, python-format -msgid "" -"The daily maximum of outgoing invoices with an automatically generated BBA " -"Structured Communications has been exceeded!\n" -"Please create manually a unique BBA Structured Communication." -msgstr "" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:130 -#, python-format -msgid "" -"Unsupported Structured Communication Type Algorithm '%s' !\n" -"Please contact your Odoo support channel." -msgstr "" diff --git a/addons/l10n_be_invoice_bba/i18n/l10n_be_invoice_bba.pot b/addons/l10n_be_invoice_bba/i18n/l10n_be_invoice_bba.pot deleted file mode 100644 index 9aa40adacad..00000000000 --- a/addons/l10n_be_invoice_bba/i18n/l10n_be_invoice_bba.pot +++ /dev/null @@ -1,43 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * l10n_be_invoice_bba -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-01-29 15:05+0000\n" -"PO-Revision-Date: 2020-01-29 15:05+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: l10n_be_invoice_bba -#: model:ir.model.fields.selection,name:l10n_be_invoice_bba.selection__account_journal__invoice_reference_model__be -msgid "Belgium" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_account_journal__invoice_reference_model -msgid "Communication Standard" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_account_journal -msgid "Journal" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_account_move -msgid "Journal Entries" -msgstr "" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_account_journal__invoice_reference_model -msgid "" -"You can choose different models for each type of reference. The default one " -"is the Odoo reference." -msgstr "" diff --git a/addons/l10n_be_invoice_bba/i18n/nl.po b/addons/l10n_be_invoice_bba/i18n/nl.po deleted file mode 100644 index 8e3a46a448e..00000000000 --- a/addons/l10n_be_invoice_bba/i18n/nl.po +++ /dev/null @@ -1,131 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * l10n_be_invoice_bba -# -# Translators: -# Eric Geens , 2015 -# Yenthe Van Ginneken , 2015 -msgid "" -msgstr "" -"Project-Id-Version: Odoo 9.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-07 14:56+0000\n" -"PO-Revision-Date: 2015-09-10 07:27+0000\n" -"Last-Translator: Yenthe Van Ginneken \n" -"Language-Team: Dutch (http://www.transifex.com/odoo/odoo-9/language/nl/)\n" -"Language: nl\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm -msgid "Communication Algorithm" -msgstr "Communicatie algoritme" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_type -msgid "Communication Type" -msgstr "Type mededeling" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Customer Reference" -msgstr "Referentie klant" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Date" -msgstr "Datum" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:149 -#, python-format -msgid "" -"Empty BBA Structured Communication!\n" -"Please fill in a unique BBA Structured Communication." -msgstr "" -"Lege BBA gestructureerde communicatie!\n" -"Vul aub een unieke BBA gestructureerde communicatie in." - -#. module: l10n_be_invoice_bba -#: constraint:account.invoice:0 -msgid "Invalid BBA Structured Communication !" -msgstr "Ongeldige BBA gestructureerde communicatie!" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_account_invoice -msgid "Invoice" -msgstr "Factuuradres" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_res_partner -msgid "Partner" -msgstr "Relatie" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Random" -msgstr "Willekeurig" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm -msgid "" -"Select Algorithm to generate the Structured Communication on Outgoing " -"Invoices." -msgstr "" -"Selecteer algoritme om gestructureerde mededeling te genereren voor " -"uitgaande facturen." - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_res_partner_out_inv_comm_type -msgid "Select Default Communication Type for Outgoing Invoices." -msgstr "Selecteer standaard type communicatie voor uitgaande facturen" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:158 -#: code:addons/l10n_be_invoice_bba/invoice.py:179 -#, python-format -msgid "" -"The BBA Structured Communication has already been used!\n" -"Please create manually a unique BBA Structured Communication." -msgstr "" -"De BBA gestructureerde communicatie is al gebruikt!\n" -"Maak aub een unieke manuele BBA gestructureerde communicatie aan." - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:102 -#, python-format -msgid "" -"The Partner should have a 3-7 digit Reference Number for the generation of " -"BBA Structured Communications!\n" -"Please correct the Partner record." -msgstr "" -"De partner moet een 3-7 cijfers lange referentienummer hebben voor het " -"genereren van BBA gestructureerde communicatie(s)!\n" -"Corrigeer aub de partner zijn fiche." - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:91 -#: code:addons/l10n_be_invoice_bba/invoice.py:115 -#, python-format -msgid "" -"The daily maximum of outgoing invoices with an automatically generated BBA " -"Structured Communications has been exceeded!\n" -"Please create manually a unique BBA Structured Communication." -msgstr "" -"Het dagelijkse maximum van uitgaande facturen met een automatisch " -"gegenereerde BBA gestructureerde communicatie is overschreden!\n" -"Creëer handmatig een unieke BBA gestructureerde communicatie aub." - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:130 -#, python-format -msgid "" -"Unsupported Structured Communication Type Algorithm '%s' !\n" -"Please contact your Odoo support channel." -msgstr "" -"Het type algoritme voor de gestructureerde mededeling '%s' wordt niet " -"ondersteund!\n" -"Gelieve Odoo te contacteren via uw ondersteuningskanaal." diff --git a/addons/l10n_be_invoice_bba/i18n/nl_BE.po b/addons/l10n_be_invoice_bba/i18n/nl_BE.po deleted file mode 100644 index 4bb9edd6ca4..00000000000 --- a/addons/l10n_be_invoice_bba/i18n/nl_BE.po +++ /dev/null @@ -1,130 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * l10n_be_invoice_bba -# -# Translators: -# Eric Geens , 2015 -msgid "" -msgstr "" -"Project-Id-Version: Odoo 9.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-07 14:56+0000\n" -"PO-Revision-Date: 2015-09-08 05:26+0000\n" -"Last-Translator: Martin Trigaux\n" -"Language-Team: Dutch (Belgium) (http://www.transifex.com/odoo/odoo-9/" -"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" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm -msgid "Communication Algorithm" -msgstr "Communicatiealgoritme" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,field_description:l10n_be_invoice_bba.field_res_partner_out_inv_comm_type -msgid "Communication Type" -msgstr "Communicatietype" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Customer Reference" -msgstr "Referentie klant" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Date" -msgstr "Datum" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:149 -#, python-format -msgid "" -"Empty BBA Structured Communication!\n" -"Please fill in a unique BBA Structured Communication." -msgstr "" -"Lege gestructureerde mededeling.\n" -"Gelieve een unieke gestructureerde mededeling in te vullen." - -#. module: l10n_be_invoice_bba -#: constraint:account.invoice:0 -msgid "Invalid BBA Structured Communication !" -msgstr "Ongeldige gestructureerde mededeling" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_account_invoice -msgid "Invoice" -msgstr "Factuur" - -#. module: l10n_be_invoice_bba -#: model:ir.model,name:l10n_be_invoice_bba.model_res_partner -msgid "Partner" -msgstr "Relatie" - -#. module: l10n_be_invoice_bba -#: selection:res.partner,out_inv_comm_algorithm:0 -msgid "Random" -msgstr "Willekeurig" - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_res_partner_out_inv_comm_algorithm -msgid "" -"Select Algorithm to generate the Structured Communication on Outgoing " -"Invoices." -msgstr "" -"Kies het algoritme voor de gestructureerde mededeling op uitgaande facturen." - -#. module: l10n_be_invoice_bba -#: model:ir.model.fields,help:l10n_be_invoice_bba.field_res_partner_out_inv_comm_type -msgid "Select Default Communication Type for Outgoing Invoices." -msgstr "Kies het standaard communicatietype voor uitgaande facturen" - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:158 -#: code:addons/l10n_be_invoice_bba/invoice.py:179 -#, python-format -msgid "" -"The BBA Structured Communication has already been used!\n" -"Please create manually a unique BBA Structured Communication." -msgstr "" -"Deze gestructureerde mededeling is al gebruikt.\n" -"Gelieve manueel een unieke gestructureerde mededeling te maken." - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:102 -#, python-format -msgid "" -"The Partner should have a 3-7 digit Reference Number for the generation of " -"BBA Structured Communications!\n" -"Please correct the Partner record." -msgstr "" -"De relatie moet een referentienummer van 3-7 cijfers hebben om een " -"gestructureerde mededeling te kunnen maken.\n" -"Gelieve de relatie aan te passen." - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:91 -#: code:addons/l10n_be_invoice_bba/invoice.py:115 -#, python-format -msgid "" -"The daily maximum of outgoing invoices with an automatically generated BBA " -"Structured Communications has been exceeded!\n" -"Please create manually a unique BBA Structured Communication." -msgstr "" -"Het dagelijkse maximumaantal uitgaande facturen met een automatische " -"gestructureerde mededeling is overschreden.\n" -"Gelieve manueel een unieke gestructureerde mededeling te maken." - -#. module: l10n_be_invoice_bba -#: code:addons/l10n_be_invoice_bba/invoice.py:130 -#, python-format -msgid "" -"Unsupported Structured Communication Type Algorithm '%s' !\n" -"Please contact your Odoo support channel." -msgstr "" -"Het algoritme voor de gestructureerde mededeling '%s' wordt niet " -"ondersteund !\n" -"Gelieve contact op te nemen met de supportafdeling van Odoo." diff --git a/addons/l10n_be_invoice_bba/models/__init__.py b/addons/l10n_be_invoice_bba/models/__init__.py deleted file mode 100644 index 18a4627629e..00000000000 --- a/addons/l10n_be_invoice_bba/models/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -# Copyright (c) 2011 Noviat nv/sa (www.noviat.be). All rights reserved. - -from . import account_invoice -from . import account_journal \ No newline at end of file