diff --git a/account_partner_required/README.rst b/account_partner_required/README.rst new file mode 100644 index 00000000..9a1858b2 --- /dev/null +++ b/account_partner_required/README.rst @@ -0,0 +1,101 @@ +======================== +Account partner required +======================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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_partner_required + :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_partner_required + :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 adds an option *Partner policy* on account types. + +You have the choice between 3 policies: + +* *optional* (the default policy): partner is optional, +* *always*: require a partner, +* *never*: forbid a partner. + +This module is useful to enforce a partner on account move lines on +customer and supplier accounts. + +This module is very similar to the module *account_analytic_required* available in the OCA project `account-analytic `_. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +#. Go to the menu *Invoicing > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*. + +Usage +===== + +If you put a partner on an account move line with an account whose type is configured with *Partner policy* = *never*, you will get an error message. + +If you don't put a partner on an account move line with an account whose type is configured with *Partner policy* = *always*, you will get an error message. + +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 +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Stéphane Bidoul +* Alexis de Lattre +* Raf Ven + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/account-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_partner_required/__init__.py b/account_partner_required/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/account_partner_required/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/account_partner_required/__manifest__.py b/account_partner_required/__manifest__.py new file mode 100644 index 00000000..20a386f9 --- /dev/null +++ b/account_partner_required/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright 2014-2022 Acsone (http://acsone.eu). +# Copyright 2016-2022 Akretion France (http://www.akretion.com/) +# @author Stéphane Bidoul +# @author Alexis de Lattre +# Copyright 2018-2022 DynApps (https://odoo.dynapps.be/) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Account Partner Required", + "version": "16.0.1.0.0", + "category": "Accounting", + "license": "AGPL-3", + "summary": "Adds an option 'partner policy' on accounts", + "author": "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/account-financial-tools", + "depends": ["account"], + "data": ["views/account_account.xml"], + "installable": True, + "application": False, +} diff --git a/account_partner_required/i18n/account_partner_required.pot b/account_partner_required/i18n/account_partner_required.pot new file mode 100644 index 00000000..5cc2e351 --- /dev/null +++ b/account_partner_required/i18n/account_partner_required.pot @@ -0,0 +1,67 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "Partner policy is set to 'Always' with account '%s' but the partner is missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "Partner policy is set to 'Never' with account '%s' but the account move line with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "Set the policy for the partner field : if you select 'Optional', the accountant is free to put a partner on an account move line with this type of account ; if you select 'Always', the accountant will get an error message if there is no partner ; if you select 'Never', the accountant will get an error message if a partner is present." +msgstr "" + diff --git a/account_partner_required/i18n/ar.po b/account_partner_required/i18n/ar.po new file mode 100644 index 00000000..43fab671 --- /dev/null +++ b/account_partner_required/i18n/ar.po @@ -0,0 +1,86 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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: 2018-06-29 06:01+0000\n" +"Last-Translator: Osoul \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" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" +"X-Generator: Weblate 3.0.1\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "الحساب" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "نوع الحساب" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "دائماً" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "عنصر اليومية" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "ممنوع" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "إختياري" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" +"سياسة خانة الشريك هي 'دائماً' للحساب '%s' ولكن خانة الشريك فارغة في عنصر " +"اليومية باسم '%s'." + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" +"سياسة خانة الشريك هي 'ممنوع' للحساب '%s' ولكن في عنصر اليومية باسم '%s' تم " +"إدخال الشريك '%s'." + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "سياسة خانة الشريك" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/bs.po b/account_partner_required/i18n/bs.po new file mode 100644 index 00000000..519eeba4 --- /dev/null +++ b/account_partner_required/i18n/bs.po @@ -0,0 +1,82 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"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_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Stavke dnevnika" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/cs.po b/account_partner_required/i18n/cs.po new file mode 100644 index 00000000..0d1b7512 --- /dev/null +++ b/account_partner_required/i18n/cs.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Položky deníku" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/de.po b/account_partner_required/i18n/de.po new file mode 100644 index 00000000..b1507739 --- /dev/null +++ b/account_partner_required/i18n/de.po @@ -0,0 +1,90 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# Translators: +# Rudolf Schnapka , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-22 23:21+0000\n" +"PO-Revision-Date: 2020-05-06 13:19+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "Konto" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "Kontoart" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "Immer" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "Journalbuchung" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "Niemals" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "Wahlweise" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" +"Partner-Regel ist auf 'Immer' mit Konto '%s' gesetzt, aber der Partner fehlt " +"in der Buchungsposition mit Kennung '%s'." + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" +"Partner-Regel ist auf 'Niemals' mit Konto '%s' gesetzt, aber in der " +"Buchungsposition mit Kennung '%s' ist ein Partner '%s' eingetragen." + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "Regel zum Partnerfeld" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" +"Setzen Sie die Regel zum Partnerfeld: Wenn Sie 'Wahlweise' wählen, steht es " +"dem Buchhalter frei bei dieser Kontoart einen Partner in Buchungspositionen " +"einzutragen; wählen Sie 'Immer', erhält der Buchhalter bei fehlendem Partner " +"eine Fehlermeldung; wählen Sie 'Niemals', erhält der Buchhalter eine " +"Fehlermeldung, wenn ein Partner eingetragen ist." diff --git a/account_partner_required/i18n/en_GB.po b/account_partner_required/i18n/en_GB.po new file mode 100644 index 00000000..6d9f0c24 --- /dev/null +++ b/account_partner_required/i18n/en_GB.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+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: en_GB\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_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Journal Items" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/es.po b/account_partner_required/i18n/es.po new file mode 100644 index 00000000..c665c4a1 --- /dev/null +++ b/account_partner_required/i18n/es.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Apuntes contables" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/es_CR.po b/account_partner_required/i18n/es_CR.po new file mode 100644 index 00000000..6084505e --- /dev/null +++ b/account_partner_required/i18n/es_CR.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+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: es_CR\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_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Elementos diario" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/es_EC.po b/account_partner_required/i18n/es_EC.po new file mode 100644 index 00000000..7a571c60 --- /dev/null +++ b/account_partner_required/i18n/es_EC.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# Translators: +# Cristian Salamea , 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: Cristian Salamea , 2017\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/" +"es_EC/)\n" +"Language: es_EC\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "Detalle Contable" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/es_MX.po b/account_partner_required/i18n/es_MX.po new file mode 100644 index 00000000..c3236da2 --- /dev/null +++ b/account_partner_required/i18n/es_MX.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+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: es_MX\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_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Elementos diario" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/fr.po b/account_partner_required/i18n/fr.po new file mode 100644 index 00000000..6455c939 --- /dev/null +++ b/account_partner_required/i18n/fr.po @@ -0,0 +1,92 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-28 23:24+0000\n" +"PO-Revision-Date: 2021-08-03 18:49+0000\n" +"Last-Translator: Pascal GOUHIER \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" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "Compte" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "Type de compte" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "Toujours" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "Écriture comptable" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "Jamais" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "Optionnel" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" +"La stratégie de partenaire est définie sur « Toujours » avec le compte'%s', " +"mais le partenaire est manquant dans la ligne avec le libellé '%s'." + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" +"La stratégie de partenaire est définie sur « Jamais » avec le compte '%s', " +"mais la ligne de déplacement de compte avec le libellé '%s' a un partenaire " +"'%s'." + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "Politique pour le champ partenaire" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" +"Définir la politique du champ partenaire : si vous sélectionnez " +"'Facultatif', le comptable est libre de mettre un partenaire sur une ligne " +"de déplacement de compte avec ce type de compte ; si vous sélectionnez " +"'Toujours', le comptable recevra un message d'erreur s'il n'y a pas " +"d'associé ; si vous sélectionnez 'Jamais', le comptable recevra un message " +"d'erreur si un partenaire est présent." diff --git a/account_partner_required/i18n/hr.po b/account_partner_required/i18n/hr.po new file mode 100644 index 00000000..8735609f --- /dev/null +++ b/account_partner_required/i18n/hr.po @@ -0,0 +1,90 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# Translators: +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-27 00:40+0000\n" +"PO-Revision-Date: 2017-04-27 00:40+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"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_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "Konto" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "Vrsta konta" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "Uvjek" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "Stavka dnevnika" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "Nikad" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "Opcija" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" +"Pravilo partnera je postavljeno na 'Uvjek' za konto '%s' ali partner " +"nedostaje na stavci temeljnice sa nazivom '%s'." + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" +"Pravilo partnera je postavljeno na 'Nikad' za konto '%s' ali stavka " +"temeljnice sa nazivom '%s' ima dodijeljenog partnera '%s'." + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "Pravilo za partnera" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" +"Postavite pravilo za polje partner: ako odaberete 'Opcija', knjigovođi je " +"odobreno da postavi partnera na stavku temeljnice sa ovim tipom konta; ako " +"odaberete 'Uvjek', knjigovođa će dobiti poruku greške ako partner nedostaje; " +"ako odaberete 'Nikad' knjigovođa će dobiti poruku greške ako je partner " +"dodijeljen." diff --git a/account_partner_required/i18n/hu.po b/account_partner_required/i18n/hu.po new file mode 100644 index 00000000..8c8c08b3 --- /dev/null +++ b/account_partner_required/i18n/hu.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Könyvelési tételsorok" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/it.po b/account_partner_required/i18n/it.po new file mode 100644 index 00000000..71bf0e35 --- /dev/null +++ b/account_partner_required/i18n/it.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Voci Sezionale" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/ja.po b/account_partner_required/i18n/ja.po new file mode 100644 index 00000000..d3088d20 --- /dev/null +++ b/account_partner_required/i18n/ja.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "仕訳項目" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/lt.po b/account_partner_required/i18n/lt.po new file mode 100644 index 00000000..6c65ed1f --- /dev/null +++ b/account_partner_required/i18n/lt.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# Translators: +# Viktoras Norkus , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-01 03:44+0000\n" +"PO-Revision-Date: 2018-02-01 03:44+0000\n" +"Last-Translator: Viktoras Norkus , 2018\n" +"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"Language: lt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"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_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "Sąskaita" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "Sąskaitos tipas" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/mk.po b/account_partner_required/i18n/mk.po new file mode 100644 index 00000000..ec07c74e --- /dev/null +++ b/account_partner_required/i18n/mk.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Ставки на дневник" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/mn.po b/account_partner_required/i18n/mn.po new file mode 100644 index 00000000..9880511f --- /dev/null +++ b/account_partner_required/i18n/mn.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Журналын бичилт" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/nb.po b/account_partner_required/i18n/nb.po new file mode 100644 index 00000000..74bf9ae9 --- /dev/null +++ b/account_partner_required/i18n/nb.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+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: nb\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_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Journal Elementer" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/nl.po b/account_partner_required/i18n/nl.po new file mode 100644 index 00000000..ad44ad48 --- /dev/null +++ b/account_partner_required/i18n/nl.po @@ -0,0 +1,80 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# Translators: +# Frank Schellenberg , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-25 11:47+0000\n" +"PO-Revision-Date: 2018-01-25 11:47+0000\n" +"Last-Translator: Frank Schellenberg , 2018\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "Rekening" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/nl_BE.po b/account_partner_required/i18n/nl_BE.po new file mode 100644 index 00000000..497d564f --- /dev/null +++ b/account_partner_required/i18n/nl_BE.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+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: 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: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Boekingslijnen" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/nl_NL.po b/account_partner_required/i18n/nl_NL.po new file mode 100644 index 00000000..6ce9f1d7 --- /dev/null +++ b/account_partner_required/i18n/nl_NL.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# Translators: +# Frank Schellenberg , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-25 11:47+0000\n" +"PO-Revision-Date: 2018-01-25 11:47+0000\n" +"Last-Translator: Frank Schellenberg , 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_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "Rekening" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/pt.po b/account_partner_required/i18n/pt.po new file mode 100644 index 00000000..bc439643 --- /dev/null +++ b/account_partner_required/i18n/pt.po @@ -0,0 +1,90 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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: 2020-02-28 00:14+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_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "Conta" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "Tipo de Conta" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "Sempre" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "Item do Diário" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "Nunca" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "Opcional" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" +"Política de parceiro está definida para 'Sempre' com a conta '%s' mas está " +"em falta o parceiro na linha de movimento de conta com rótulo '%s'." + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" +"Política de parceiro está definida para 'Nunca' com a conta '%s' mas a linha " +"de movimento de conta com rótulo '%s' tem um parceiro '%s'." + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "Campo de Política para Parceiros" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" +"Definir a política no campo de parceiro: Se selecionar 'Opcional', o " +"contabilista tem liberdade de colocar um parceiro numa linha de movimento " +"com este tipo de conta; se selecionar 'Sempre', o contabilista receberá uma " +"mensagem de erro se não existir um parceiro; se selecionar 'Nunca', o " +"contabilista receberá uma mensagem de erro se estiver um parceiro presente." diff --git a/account_partner_required/i18n/pt_BR.po b/account_partner_required/i18n/pt_BR.po new file mode 100644 index 00000000..50496c90 --- /dev/null +++ b/account_partner_required/i18n/pt_BR.po @@ -0,0 +1,90 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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: 2019-07-09 01:43+0000\n" +"Last-Translator: Eduardo Aparicio \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" +"X-Generator: Weblate 3.7.1\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "Conta" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "Tipo de Conta" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "Sempre" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "Item do Diário" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "Nunca" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "Opcional" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" +"Política do Parceiro está marcada como 'Sempre' com a conta '%s' mas falta " +"Parceiro no lançamento contábil de rótulo '%s'." + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" +"Política do Parceiro está marcada como 'Nunca' com a conta '%s' mas o " +"lançamento contábil de rótulo '%s' contém um Parceiro '%s'." + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "Política para o campo Parceiro" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" +"Marque a política do campo Parceiro: Se você selecionar 'Opcional', o " +"contador fica livre para indicar um parceiro na movimentação deste tipo de " +"conta; se você selecionar 'Sempre', o contador receberá uma mensagem de erro " +"caso não tenha um Parceiro; se você selecionar 'Nunca', o contador receberá " +"uma mensagem de erro se houver um Parceiro." diff --git a/account_partner_required/i18n/ro.po b/account_partner_required/i18n/ro.po new file mode 100644 index 00000000..720aaac8 --- /dev/null +++ b/account_partner_required/i18n/ro.po @@ -0,0 +1,82 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Elementele Jurnalului" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/ru.po b/account_partner_required/i18n/ru.po new file mode 100644 index 00000000..3b18fc10 --- /dev/null +++ b/account_partner_required/i18n/ru.po @@ -0,0 +1,83 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"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_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Элементы журнала" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/sl.po b/account_partner_required/i18n/sl.po new file mode 100644 index 00000000..054f36fc --- /dev/null +++ b/account_partner_required/i18n/sl.po @@ -0,0 +1,87 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-11 03:36+0000\n" +"PO-Revision-Date: 2020-08-11 13:59+0000\n" +"Last-Translator: Matjaz Mozetic \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" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " +"n%100==4 ? 2 : 3;\n" +"X-Generator: Weblate 3.10\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "Konto" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "Tip konta" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "Vedno" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "Dnevniška postavka" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "Nikoli" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "Opcijsko" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" +"Nastavitev pravila polja partnerja: če izberete 'opcijsko', lahko " +"računovodja določa partnerja na kontnem premiku s tem tipom konta; če " +"izberete 'vedno', računovodja dobi opozorilo o napaki, kadar ni partnerja; " +"če izberete 'nikoli', računovodja dobi sporočilo o napaki, kadar partner je " +"prisoten." diff --git a/account_partner_required/i18n/sv.po b/account_partner_required/i18n/sv.po new file mode 100644 index 00000000..bf709ba7 --- /dev/null +++ b/account_partner_required/i18n/sv.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Transaktioner" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/tr.po b/account_partner_required/i18n/tr.po new file mode 100644 index 00000000..1422267b --- /dev/null +++ b/account_partner_required/i18n/tr.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+0000\n" +"Last-Translator: <>\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" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Günlük Maddeleri" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/tr_TR.po b/account_partner_required/i18n/tr_TR.po new file mode 100644 index 00000000..6770e635 --- /dev/null +++ b/account_partner_required/i18n/tr_TR.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# Translators: +# Ediz Duman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-27 00:40+0000\n" +"PO-Revision-Date: 2017-04-27 00:40+0000\n" +"Last-Translator: Ediz Duman , 2017\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" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +msgid "Journal Item" +msgstr "Yevmiye Öğe" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/zh_CN.po b/account_partner_required/i18n/zh_CN.po new file mode 100644 index 00000000..34fbb180 --- /dev/null +++ b/account_partner_required/i18n/zh_CN.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+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: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "日记帐项目" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/i18n/zh_TW.po b/account_partner_required/i18n/zh_TW.po new file mode 100644 index 00000000..ddbbfb1c --- /dev/null +++ b/account_partner_required/i18n/zh_TW.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_partner_required +# +# 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:56+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: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account +msgid "Account" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_account_type +msgid "Account Type" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Always" +msgstr "" + +#. module: account_partner_required +#: model:ir.model,name:account_partner_required.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "帳簿項目" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Never" +msgstr "" + +#. module: account_partner_required +#: selection:account.account.type,partner_policy:0 +msgid "Optional" +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:55 +#, python-format +msgid "" +"Partner policy is set to 'Always' with account '%s' but the partner is " +"missing in the account move line with label '%s'." +msgstr "" + +#. module: account_partner_required +#: code:addons/account_partner_required/models/account.py:61 +#, python-format +msgid "" +"Partner policy is set to 'Never' with account '%s' but the account move line " +"with label '%s' has a partner '%s'." +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy +msgid "Policy for Partner Field" +msgstr "" + +#. module: account_partner_required +#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy +msgid "" +"Set the policy for the partner field : if you select 'Optional', the " +"accountant is free to put a partner on an account move line with this type " +"of account ; if you select 'Always', the accountant will get an error " +"message if there is no partner ; if you select 'Never', the accountant will " +"get an error message if a partner is present." +msgstr "" diff --git a/account_partner_required/models/__init__.py b/account_partner_required/models/__init__.py new file mode 100644 index 00000000..b37ced3c --- /dev/null +++ b/account_partner_required/models/__init__.py @@ -0,0 +1,2 @@ +from . import account_account +from . import account_move_line diff --git a/account_partner_required/models/account_account.py b/account_partner_required/models/account_account.py new file mode 100644 index 00000000..27bef1d5 --- /dev/null +++ b/account_partner_required/models/account_account.py @@ -0,0 +1,31 @@ +# Copyright 2014-2022 Acsone (http://acsone.eu) +# Copyright 2016-2022 Akretion (http://www.akretion.com/) +# @author Stéphane Bidoul +# @author Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from odoo import fields, models + + +class AccountAccount(models.Model): + _inherit = "account.account" + + # No default value here ; only set one on account.account.type + partner_policy = fields.Selection( + [ + ("optional", "Optional"), + ("always", "Always"), + ("never", "Never"), + ], + help="Set the policy for the partner field:\nif you select " + "'Optional', the accountant is free to put a partner " + "on an account move line with this account ;\n" + "if you select 'Always', the accountant will get an error " + "message if there is no partner ;\nif you select 'Never', " + "the accountant will get an error message if a partner " + "is present.", + ) + + def get_partner_policy(self): + self.ensure_one() + return self.partner_policy diff --git a/account_partner_required/models/account_move_line.py b/account_partner_required/models/account_move_line.py new file mode 100644 index 00000000..d1c763c4 --- /dev/null +++ b/account_partner_required/models/account_move_line.py @@ -0,0 +1,43 @@ +# Copyright 2014-2022 Acsone (http://acsone.eu) +# Copyright 2016-2022 Akretion (http://www.akretion.com/) +# @author Stéphane Bidoul +# @author Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from odoo import _, api, models +from odoo.exceptions import ValidationError + + +class AccountMoveLine(models.Model): + _inherit = "account.move.line" + + def _check_partner_required_msg(self): + comp_cur = self.company_id.currency_id + for line in self: + if comp_cur.is_zero(line.debit) and comp_cur.is_zero(line.credit): + continue + policy = line.account_id.get_partner_policy() + if policy == "always" and not line.partner_id: + return _( + "Partner policy is set to 'Always' on account '%(account)s' but " + "the partner is missing on the journal item '%(move_line)s'." + ) % { + "account": line.account_id.display_name, + "move_line": line.display_name, + } + elif policy == "never" and line.partner_id: + return _( + "Partner policy is set to 'Never' on account '%(account)s' but " + "the journal item '%(move_line)s' has a partner '%(partner)s'." + ) % { + "account": line.account_id.display_name, + "move_line": line.display_name, + "partner": line.partner_id.display_name, + } + + @api.constrains("partner_id", "account_id", "debit", "credit") + def _check_partner_required(self): + for line in self: + message = line._check_partner_required_msg() + if message: + raise ValidationError(message) diff --git a/account_partner_required/readme/CONFIGURE.rst b/account_partner_required/readme/CONFIGURE.rst new file mode 100644 index 00000000..9636c9bb --- /dev/null +++ b/account_partner_required/readme/CONFIGURE.rst @@ -0,0 +1,3 @@ +To configure this module, you need to: + +#. Go to the menu *Invoicing > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*. diff --git a/account_partner_required/readme/CONTRIBUTORS.rst b/account_partner_required/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..6120bfae --- /dev/null +++ b/account_partner_required/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Stéphane Bidoul +* Alexis de Lattre +* Raf Ven diff --git a/account_partner_required/readme/DESCRIPTION.rst b/account_partner_required/readme/DESCRIPTION.rst new file mode 100644 index 00000000..da1f6161 --- /dev/null +++ b/account_partner_required/readme/DESCRIPTION.rst @@ -0,0 +1,12 @@ +This module adds an option *Partner policy* on account types. + +You have the choice between 3 policies: + +* *optional* (the default policy): partner is optional, +* *always*: require a partner, +* *never*: forbid a partner. + +This module is useful to enforce a partner on account move lines on +customer and supplier accounts. + +This module is very similar to the module *account_analytic_required* available in the OCA project `account-analytic `_. diff --git a/account_partner_required/readme/USAGE.rst b/account_partner_required/readme/USAGE.rst new file mode 100644 index 00000000..d218ca52 --- /dev/null +++ b/account_partner_required/readme/USAGE.rst @@ -0,0 +1,3 @@ +If you put a partner on an account move line with an account whose type is configured with *Partner policy* = *never*, you will get an error message. + +If you don't put a partner on an account move line with an account whose type is configured with *Partner policy* = *always*, you will get an error message. diff --git a/account_partner_required/static/description/icon.png b/account_partner_required/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/account_partner_required/static/description/icon.png differ diff --git a/account_partner_required/static/description/index.html b/account_partner_required/static/description/index.html new file mode 100644 index 00000000..678d06bc --- /dev/null +++ b/account_partner_required/static/description/index.html @@ -0,0 +1,445 @@ + + + + + + +Account partner required + + + +
+

Account partner required

+ + +

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

+

This module adds an option Partner policy on account types.

+

You have the choice between 3 policies:

+
    +
  • optional (the default policy): partner is optional,
  • +
  • always: require a partner,
  • +
  • never: forbid a partner.
  • +
+

This module is useful to enforce a partner on account move lines on +customer and supplier accounts.

+

This module is very similar to the module account_analytic_required available in the OCA project account-analytic.

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  1. Go to the menu Invoicing > Configuration > Accounting > Account Types and edit each account types to configure the correct Partner policy.
  2. +
+
+
+

Usage

+

If you put a partner on an account move line with an account whose type is configured with Partner policy = never, you will get an error message.

+

If you don’t put a partner on an account move line with an account whose type is configured with Partner policy = always, you will get an error message.

+
+
+

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

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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

+

This module is part of the OCA/account-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_partner_required/tests/__init__.py b/account_partner_required/tests/__init__.py new file mode 100644 index 00000000..88f3a6dc --- /dev/null +++ b/account_partner_required/tests/__init__.py @@ -0,0 +1 @@ +from . import test_account_partner_required diff --git a/account_partner_required/tests/test_account_partner_required.py b/account_partner_required/tests/test_account_partner_required.py new file mode 100644 index 00000000..f804cefc --- /dev/null +++ b/account_partner_required/tests/test_account_partner_required.py @@ -0,0 +1,148 @@ +# Copyright 2014-2022 Acsone (http://acsone.eu) +# Copyright 2016-2022 Akretion (http://www.akretion.com/) +# @author Stéphane Bidoul +# @author Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + + +from odoo.exceptions import ValidationError +from odoo.tests import tagged +from odoo.tests.common import TransactionCase + + +@tagged("post_install", "-at_install") +class TestAccountPartnerRequired(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.account_obj = cls.env["account.account"] + cls.move_obj = cls.env["account.move"] + cls.move_line_obj = cls.env["account.move.line"] + cls.company_id = cls.env.ref("base.main_company").id + cls.sale_journal = cls.env["account.journal"].create( + { + "type": "sale", + "code": "SJXX", + "name": "Sale journal", + "company_id": cls.company_id, + } + ) + cls.account1 = cls.account_obj.create( + { + "code": "124242", + "name": "Test 1", + "account_type": "asset_cash", + "company_id": cls.company_id, + } + ) + cls.account2 = cls.account_obj.create( + { + "code": "124243", + "name": "Test 2", + "account_type": "asset_receivable", + "company_id": cls.company_id, + } + ) + cls.account3 = cls.account_obj.create( + { + "code": "124244", + "name": "Test 3", + "account_type": "liability_payable", + "company_id": cls.company_id, + } + ) + + def _create_move(self, with_partner, amount=100): + if with_partner: + partner_id = self.env.ref("base.res_partner_1").id + else: + partner_id = False + move_vals = { + "company_id": self.company_id, + "journal_id": self.sale_journal.id, + "line_ids": [ + ( + 0, + 0, + { + "name": "/", + "debit": 0, + "credit": amount, + "account_id": self.account1.id, + }, + ), + ( + 0, + 0, + { + "name": "/", + "debit": amount, + "credit": 0, + "account_id": self.account2.id, + "partner_id": partner_id, + }, + ), + ], + } + move = self.move_obj.create(move_vals) + move_line = False + for line in move.line_ids: + if line.account_id == self.account2: + move_line = line + break + return move_line + + def test_optional(self): + self._create_move(with_partner=False) + self._create_move(with_partner=True) + + def test_always_no_partner(self): + self.account2.partner_policy = "always" + with self.assertRaises(ValidationError): + self._create_move(with_partner=False) + + def test_always_no_partner_0(self): + # accept missing partner when debit=credit=0 + self.account2.partner_policy = "always" + self._create_move(with_partner=False, amount=0) + + def test_always_with_partner(self): + self.account2.partner_policy = "always" + self._create_move(with_partner=True) + + def test_never_no_partner(self): + self.account2.partner_policy = "never" + self._create_move(with_partner=False) + + def test_never_with_partner(self): + self.account2.partner_policy = "never" + with self.assertRaises(ValidationError): + self._create_move(with_partner=True) + + def test_never_with_partner_0(self): + self.account2.partner_policy = "never" + # accept partner when debit=credit=0 + self._create_move(with_partner=True, amount=0) + + def test_always_remove_partner(self): + # remove partner when policy is always + self.account2.partner_policy = "always" + line = self._create_move(with_partner=True) + with self.assertRaises(ValidationError): + line.write({"partner_id": False}) + + def test_change_account(self): + self.account2.partner_policy = "optional" + line = self._create_move(with_partner=False) + # change account to an account with policy always but missing partner + self.account3.partner_policy = "always" + with self.assertRaises(ValidationError): + line.write({"account_id": self.account3.id}) + # change account to an account with policy always with partner + line.write( + { + "account_id": self.account3.id, + "partner_id": self.env.ref("base.res_partner_1").id, + } + ) diff --git a/account_partner_required/views/account_account.xml b/account_partner_required/views/account_account.xml new file mode 100644 index 00000000..e24a3c43 --- /dev/null +++ b/account_partner_required/views/account_account.xml @@ -0,0 +1,44 @@ + + + + + + account.account + + + + + + + + + + account.account + + + + + + + + + + account.account + + + + + + + + + + diff --git a/setup/account_partner_required/odoo/addons/account_partner_required b/setup/account_partner_required/odoo/addons/account_partner_required new file mode 120000 index 00000000..f7406f91 --- /dev/null +++ b/setup/account_partner_required/odoo/addons/account_partner_required @@ -0,0 +1 @@ +../../../../account_partner_required \ No newline at end of file diff --git a/setup/account_partner_required/setup.py b/setup/account_partner_required/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/account_partner_required/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)