diff --git a/account_partner_required/README.rst b/account_partner_required/README.rst new file mode 100644 index 000000000..ed6899aa7 --- /dev/null +++ b/account_partner_required/README.rst @@ -0,0 +1,104 @@ +======================== +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 +============= + +[ This file is optional, it should explain how to configure + the module before using it; it is aimed at advanced users. ] + +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 000000000..a9e337226 --- /dev/null +++ b/account_partner_required/__init__.py @@ -0,0 +1,2 @@ + +from . import models diff --git a/account_partner_required/__manifest__.py b/account_partner_required/__manifest__.py new file mode 100644 index 000000000..cd1752b1a --- /dev/null +++ b/account_partner_required/__manifest__.py @@ -0,0 +1,24 @@ +# © 2014-2016 Acsone (http://acsone.eu). +# © 2016 Akretion (http://www.akretion.com/) +# @author Stéphane Bidoul +# @author Alexis de Lattre +# © 2018 DynApps (https://odoo.dynapps.be/) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Account partner required", + "version": "12.0.1.0.0", + "category": "Accounting", + "license": "AGPL-3", + "summary": "Adds an option 'partner policy' on account types", + "author": "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)", + "website": "http://acsone.eu/", + "depends": [ + "account_type_menu", + ], + "data": [ + "views/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 000000000..37d58e464 --- /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 11.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_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 000000000..15d6125f8 --- /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 000000000..986f7b9a2 --- /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 000000000..b8cd5d9db --- /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 000000000..0b42be41d --- /dev/null +++ b/account_partner_required/i18n/de.po @@ -0,0 +1,80 @@ +# 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: 2017-12-22 23:21+0000\n" +"Last-Translator: Rudolf Schnapka , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"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 "Journalposten" + +#. 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/en_GB.po b/account_partner_required/i18n/en_GB.po new file mode 100644 index 000000000..4eccae1f2 --- /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 000000000..adcd10459 --- /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 000000000..21677ff0c --- /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 000000000..f93709ded --- /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 000000000..947e16c5e --- /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 000000000..0959027da --- /dev/null +++ b/account_partner_required/i18n/fr.po @@ -0,0 +1,80 @@ +# 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: 2017-11-28 23:24+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"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 "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 "" + +#. 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 "" + +#. 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/hr.po b/account_partner_required/i18n/hr.po new file mode 100644 index 000000000..31d2d8776 --- /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 000000000..700fbf45d --- /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 000000000..0643d2253 --- /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 000000000..0cd7bc85d --- /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 000000000..5ea63e930 --- /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 000000000..72bb3f95b --- /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 000000000..6e6f26d08 --- /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 000000000..8d0ad0e1f --- /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 000000000..a9be78170 --- /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 000000000..dce87ef54 --- /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 000000000..72c0d6f7e --- /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 000000000..4100e6c92 --- /dev/null +++ b/account_partner_required/i18n/pt.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: 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" + +#. 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 "Items Diários" + +#. 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_BR.po b/account_partner_required/i18n/pt_BR.po new file mode 100644 index 000000000..ec3755e3a --- /dev/null +++ b/account_partner_required/i18n/pt_BR.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: 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" + +#. 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 "Itens do Diário" + +#. 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/ro.po b/account_partner_required/i18n/ro.po new file mode 100644 index 000000000..7dccf42af --- /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 000000000..e700ec3d4 --- /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 000000000..db9a16ebe --- /dev/null +++ b/account_partner_required/i18n/sl.po @@ -0,0 +1,86 @@ +# 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: 2017-01-11 03:36+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 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 "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 "" + +#. 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 000000000..d3e61f53b --- /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 000000000..81ab7671e --- /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 000000000..d0aa2b123 --- /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 000000000..ab7d94d2c --- /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 000000000..bbbaed631 --- /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 000000000..612263b74 --- /dev/null +++ b/account_partner_required/models/__init__.py @@ -0,0 +1,2 @@ + +from . import account diff --git a/account_partner_required/models/account.py b/account_partner_required/models/account.py new file mode 100644 index 000000000..2eace4376 --- /dev/null +++ b/account_partner_required/models/account.py @@ -0,0 +1,74 @@ +# © 2014-2016 Acsone (http://acsone.eu) +# © 2016 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 models, fields, api, _ +from odoo.tools import float_is_zero +from odoo.exceptions import ValidationError + + +class AccountAccountType(models.Model): + _inherit = "account.account.type" + + partner_policy = fields.Selection( + selection=[ + ('optional', 'Optional'), + ('always', 'Always'), + ('never', 'Never')], + string='Policy for Partner Field', + required=True, + default='optional', + help="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.") + + +class AccountAccount(models.Model): + _inherit = 'account.account' + + @api.multi + def get_partner_policy(self): + """ Extension point to obtain partner policy for an account """ + self.ensure_one() + return self.user_type_id.partner_policy + + +class AccountMoveLine(models.Model): + _inherit = "account.move.line" + + @api.multi + def _check_partner_required_msg(self): + prec = self.env.user.company_id.currency_id.rounding + for line in self: + if ( + float_is_zero(line.debit, precision_rounding=prec) and + float_is_zero(line.credit, precision_rounding=prec)): + continue + policy = line.account_id.get_partner_policy() + if policy == 'always' and not line.partner_id: + return _( + "Partner policy is set to 'Always' with account '%s' but " + "the partner is missing in the account move line with " + "label '%s'.") % (line.account_id.name_get()[0][1], + line.name) + elif policy == 'never' and line.partner_id: + return _( + "Partner policy is set to 'Never' with account '%s' but " + "the account move line with label '%s' has a partner " + "'%s'.") % (line.account_id.name_get()[0][1], + line.name, + line.partner_id.name) + + @api.multi + @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 000000000..7b4c7e49c --- /dev/null +++ b/account_partner_required/readme/CONFIGURE.rst @@ -0,0 +1,6 @@ +[ This file is optional, it should explain how to configure + the module before using it; it is aimed at advanced users. ] + +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 000000000..6120bfaea --- /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 000000000..da1f6161d --- /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 000000000..d218ca52f --- /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 000000000..3a0328b51 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 000000000..32d1b5ec8 --- /dev/null +++ b/account_partner_required/static/description/index.html @@ -0,0 +1,449 @@ + + + + + + +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

+
+
[ This file is optional, it should explain how to configure
+
the module before using it; it is aimed at advanced users. ]
+
+

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 000000000..993220265 --- /dev/null +++ b/account_partner_required/tests/__init__.py @@ -0,0 +1,2 @@ + +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 000000000..0fdc8aa8f --- /dev/null +++ b/account_partner_required/tests/test_account_partner_required.py @@ -0,0 +1,131 @@ +# © 2014-2016 Acsone (http://acsone.eu) +# © 2016 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 datetime import datetime +from odoo.tests import common +from odoo.exceptions import ValidationError + + +class TestAccountPartnerRequired(common.TransactionCase): + + def setUp(self): + super(TestAccountPartnerRequired, self).setUp() + self.account_obj = self.env['account.account'] + self.account_type_obj = self.env['account.account.type'] + self.move_obj = self.env['account.move'] + self.move_line_obj = self.env['account.move.line'] + self.sale_journal = self.env['account.journal'].create({ + 'type': 'sale', + 'code': 'SJXX', + 'name': 'Sale journal', + }) + liq_acc_type = self.env.ref('account.data_account_type_liquidity') + self.account1 = self.account_obj.create({ + 'code': '124242', + 'name': 'Test 1', + 'user_type_id': liq_acc_type.id, + }) + self.account_type_custom = self.account_type_obj.create({ + 'name': 'acc type test', + 'type': 'other', + 'partner_policy': 'optional', + }) + self.account2 = self.account_obj.create({ + 'code': '124243', + 'name': 'Test 2', + 'user_type_id': self.account_type_custom.id, + }) + self.account3 = self.account_obj.create({ + 'code': '124244', + 'name': 'Test 3', + 'user_type_id': self.account_type_custom.id, + }) + + def _create_move(self, with_partner, amount=100): + date = datetime.now() + if with_partner: + partner_id = self.env.ref('base.res_partner_1').id + else: + partner_id = False + move_vals = { + 'journal_id': self.sale_journal.id, + 'date': date, + '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.account_type_custom.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.account_type_custom.partner_policy = 'always' + self._create_move(with_partner=False, amount=0) + + def test_always_with_partner(self): + self.account_type_custom.partner_policy = 'always' + self._create_move(with_partner=True) + + def test_never_no_partner(self): + self.account_type_custom.partner_policy = 'never' + self._create_move(with_partner=False) + + def test_never_with_partner(self): + self.account_type_custom.partner_policy = 'never' + with self.assertRaises(ValidationError): + self._create_move(with_partner=True) + + def test_never_with_partner_0(self): + self.account_type_custom.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.account_type_custom.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.account_type_custom.partner_policy = 'optional' + line = self._create_move(with_partner=False) + # change account to an account with policy always but missing partner + self.account_type_custom.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.xml b/account_partner_required/views/account.xml new file mode 100644 index 000000000..3858fe87a --- /dev/null +++ b/account_partner_required/views/account.xml @@ -0,0 +1,32 @@ + + + + + + + account_partner_required.account_type_form + account.account.type + + + + + + + + + + account_partner_required.account_type_tree + account.account.type + + + + + + + + +