diff --git a/account_analytic_default_account/README.rst b/account_analytic_default_account/README.rst new file mode 100644 index 0000000000..f53202e30c --- /dev/null +++ b/account_analytic_default_account/README.rst @@ -0,0 +1,75 @@ +================================ +Account Analytic Default Account +================================ + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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--analytic-lightgray.png?logo=github + :target: https://github.com/OCA/account-analytic/tree/11.0/account_analytic_default_account + :alt: OCA/account-analytic +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-analytic-11-0/account-analytic-11-0-account_analytic_default_account + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/87/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds the ability to set a default analytic account on +accounts. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Go to *Accounting -> Configuration -> Analytic Defaults* +and set the corresponding settings. + +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 +======= + +Contributors +~~~~~~~~~~~~ + +* Patrick Tombez + +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-analytic `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_analytic_default_account/__init__.py b/account_analytic_default_account/__init__.py new file mode 100644 index 0000000000..0650744f6b --- /dev/null +++ b/account_analytic_default_account/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/account_analytic_default_account/__manifest__.py b/account_analytic_default_account/__manifest__.py new file mode 100644 index 0000000000..a6f04aa998 --- /dev/null +++ b/account_analytic_default_account/__manifest__.py @@ -0,0 +1,13 @@ +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) +{ + "name": "Account Analytic Default Account", + "version": "14.0.1.0.0", + "category": "Analytic Accounting", + "license": "AGPL-3", + "author": "Odoo Community Association (OCA)", + "website": "https://github.com/OCA/account-analytic", + "depends": ["account", "analytic"], + "data": ["views/account_analytic_default_account_view.xml"], + "installable": True, +} diff --git a/account_analytic_default_account/i18n/account_analytic_default_account.pot b/account_analytic_default_account/i18n/account_analytic_default_account.pot new file mode 100644 index 0000000000..fca4d35d42 --- /dev/null +++ b/account_analytic_default_account/i18n/account_analytic_default_account.pot @@ -0,0 +1,46 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "Select the account corresponding to an analytic account which will be used on the lines of invoices or account moves" +msgstr "" + diff --git a/account_analytic_default_account/i18n/ar.po b/account_analytic_default_account/i18n/ar.po new file mode 100644 index 0000000000..2794241fc0 --- /dev/null +++ b/account_analytic_default_account/i18n/ar.po @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-09-19 16:43+0000\n" +"Last-Translator: yaseentai \n" +"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/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.1.1\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "حساب" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "قيد الحساب" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "التوزيع التحليلي" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "خط الفاتورة" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "عنصر اليومية" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" +"قم بإختيار الحساب الذي له صلة بالحساب التحليلي الذي سيستخدم في اسطر الفواتير " +"او حركات الحسابات" diff --git a/account_analytic_default_account/i18n/bs.po b/account_analytic_default_account/i18n/bs.po new file mode 100644 index 0000000000..1038784e10 --- /dev/null +++ b/account_analytic_default_account/i18n/bs.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Stavka fakture" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/ca.po b/account_analytic_default_account/i18n/ca.po new file mode 100644 index 0000000000..cb893f381c --- /dev/null +++ b/account_analytic_default_account/i18n/ca.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-10-10 21:56+0000\n" +"Last-Translator: Harald Panten \n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.1.1\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "Compte" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "Entrada comptable" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "Distribució analítica" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Línia factura" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "Apunt comptable" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" +"Seleccioni el compte corresponent a un compte analític que s'utilitzarà en " +"les línies de factures o moviments de compte" diff --git a/account_analytic_default_account/i18n/cs.po b/account_analytic_default_account/i18n/cs.po new file mode 100644 index 0000000000..d86255986a --- /dev/null +++ b/account_analytic_default_account/i18n/cs.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Řádek faktury" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/cs_CZ.po b/account_analytic_default_account/i18n/cs_CZ.po new file mode 100644 index 0000000000..96e992c154 --- /dev/null +++ b/account_analytic_default_account/i18n/cs_CZ.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# Lukáš Spurný , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: Lukáš Spurný , 2018\n" +"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/" +"teams/23907/cs_CZ/)\n" +"Language: cs_CZ\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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "Položka účtu" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "Analytická distribuce" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Linka faktur" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "Položka žurnálu" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/de.po b/account_analytic_default_account/i18n/de.po new file mode 100644 index 0000000000..1d147ee6e3 --- /dev/null +++ b/account_analytic_default_account/i18n/de.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-08-18 21:24+0000\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.1.1\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "Konto" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "Kontobuchung" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "Verteilung" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Rechnungszeile" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "Journalposten" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" +"Wählen Sie das zur Kostenstelle gehörende Konto, welches in " +"Rechnungspositionen oder Umbuchungen verwendet wird" diff --git a/account_analytic_default_account/i18n/en_GB.po b/account_analytic_default_account/i18n/en_GB.po new file mode 100644 index 0000000000..98d8847966 --- /dev/null +++ b/account_analytic_default_account/i18n/en_GB.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/" +"teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Invoice Line" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/es.po b/account_analytic_default_account/i18n/es.po new file mode 100644 index 0000000000..179e1b87e7 --- /dev/null +++ b/account_analytic_default_account/i18n/es.po @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# enjolras , 2018 +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-10-10 21:54+0000\n" +"Last-Translator: Harald Panten \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/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" +"X-Generator: Weblate 3.1.1\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "Cuenta" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "Entrada contable" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "Distribución analítica" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Línea de factura" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "Apunte contable" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" +"Seleccione la cuenta correspondiente a una cuenta analítica que se utilizará " +"en las líneas de facturas o movimientos de cuenta" diff --git a/account_analytic_default_account/i18n/es_CR.po b/account_analytic_default_account/i18n/es_CR.po new file mode 100644 index 0000000000..563cb2bb19 --- /dev/null +++ b/account_analytic_default_account/i18n/es_CR.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/" +"teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Línea de factura" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/es_EC.po b/account_analytic_default_account/i18n/es_EC.po new file mode 100644 index 0000000000..3baf2cfdd7 --- /dev/null +++ b/account_analytic_default_account/i18n/es_EC.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Detalle de Factura" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/es_MX.po b/account_analytic_default_account/i18n/es_MX.po new file mode 100644 index 0000000000..44b67dff6e --- /dev/null +++ b/account_analytic_default_account/i18n/es_MX.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/" +"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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Línea de factura" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/et.po b/account_analytic_default_account/i18n/et.po new file mode 100644 index 0000000000..afe3464f08 --- /dev/null +++ b/account_analytic_default_account/i18n/et.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"Language: et\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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Arve rida" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/fr.po b/account_analytic_default_account/i18n/fr.po new file mode 100644 index 0000000000..2adcdbbca8 --- /dev/null +++ b/account_analytic_default_account/i18n/fr.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Lignes de facture" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/fr_CH.po b/account_analytic_default_account/i18n/fr_CH.po new file mode 100644 index 0000000000..9754c52283 --- /dev/null +++ b/account_analytic_default_account/i18n/fr_CH.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/" +"teams/23907/fr_CH/)\n" +"Language: fr_CH\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Ligne de facture" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/hr.po b/account_analytic_default_account/i18n/hr.po new file mode 100644 index 0000000000..cd66db2cb6 --- /dev/null +++ b/account_analytic_default_account/i18n/hr.po @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +# Bole , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-27 22:08+0000\n" +"PO-Revision-Date: 2018-04-27 22:08+0000\n" +"Last-Translator: Bole , 2018\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "Konto" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "Stavka konta" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "Analitička distribucija" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Stavka računa" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "Stavka dnevnika" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" +"Odaberite konto odgovarajući analitičkom kontu za korištenje na stavkama " +"računa i temeljnicama." diff --git a/account_analytic_default_account/i18n/hr_HR.po b/account_analytic_default_account/i18n/hr_HR.po new file mode 100644 index 0000000000..3be48432c8 --- /dev/null +++ b/account_analytic_default_account/i18n/hr_HR.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# Bole , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: Bole , 2018\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Stavka računa" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "Stavka dnevnika" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/hu.po b/account_analytic_default_account/i18n/hu.po new file mode 100644 index 0000000000..a925589e2c --- /dev/null +++ b/account_analytic_default_account/i18n/hu.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Számlasor" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/it.po b/account_analytic_default_account/i18n/it.po new file mode 100644 index 0000000000..3ebb833068 --- /dev/null +++ b/account_analytic_default_account/i18n/it.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-11-21 18:09+0000\n" +"Last-Translator: Marco Calcagni \n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.2.2\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "Conto" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +#, fuzzy +msgid "Account Entry" +msgstr "Registrazione Contabile" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Riga fattura" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +#, fuzzy +msgid "Journal Item" +msgstr "Riga di Sezionale" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/ja.po b/account_analytic_default_account/i18n/ja.po new file mode 100644 index 0000000000..40a83d15f2 --- /dev/null +++ b/account_analytic_default_account/i18n/ja.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "請求行" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/lt.po b/account_analytic_default_account/i18n/lt.po new file mode 100644 index 0000000000..ec9a985a41 --- /dev/null +++ b/account_analytic_default_account/i18n/lt.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Sąskaitos faktūros eilutė" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/mk.po b/account_analytic_default_account/i18n/mk.po new file mode 100644 index 0000000000..0b15a029cd --- /dev/null +++ b/account_analytic_default_account/i18n/mk.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Ставка од фактура" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/mn.po b/account_analytic_default_account/i18n/mn.po new file mode 100644 index 0000000000..11b197334f --- /dev/null +++ b/account_analytic_default_account/i18n/mn.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Нэхэмжлэлийн мөр" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/nb.po b/account_analytic_default_account/i18n/nb.po new file mode 100644 index 0000000000..cf8ed41806 --- /dev/null +++ b/account_analytic_default_account/i18n/nb.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/" +"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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Fakturalinje" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/nl.po b/account_analytic_default_account/i18n/nl.po new file mode 100644 index 0000000000..1a4fee2b3a --- /dev/null +++ b/account_analytic_default_account/i18n/nl.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Factuurregel" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/nl_BE.po b/account_analytic_default_account/i18n/nl_BE.po new file mode 100644 index 0000000000..244e73ff9d --- /dev/null +++ b/account_analytic_default_account/i18n/nl_BE.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/" +"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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Factuurlijn" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/nl_NL.po b/account_analytic_default_account/i18n/nl_NL.po new file mode 100644 index 0000000000..987f2fed32 --- /dev/null +++ b/account_analytic_default_account/i18n/nl_NL.po @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# Peter Hageman , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2019-04-02 21:14+0000\n" +"Last-Translator: Adrie van Dal \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" +"X-Generator: Weblate 3.5.1\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "Rekening" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Factuurregel" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "Journaalpost" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" +"Selecteer de rekening die overeenkomt met de analytische rekening die " +"gebruikt wordt op de factuur- of rekening regels" diff --git a/account_analytic_default_account/i18n/pt.po b/account_analytic_default_account/i18n/pt.po new file mode 100644 index 0000000000..683e0cb73e --- /dev/null +++ b/account_analytic_default_account/i18n/pt.po @@ -0,0 +1,56 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +# Pedro Castro Silva , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-06 22:07+0000\n" +"PO-Revision-Date: 2018-12-15 21:58+0000\n" +"Last-Translator: alvarorib \n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Weblate 3.3\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "Conta" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "Lançamento na Conta" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "Distribuição Analítica" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Linha de fatura" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "Item do Diário" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" +"Selecione a conta correspondente a uma conta analítica que será usada nas " +"linhas das faturas ou em movimentos da conta" diff --git a/account_analytic_default_account/i18n/pt_BR.po b/account_analytic_default_account/i18n/pt_BR.po new file mode 100644 index 0000000000..eb5f5c6ac4 --- /dev/null +++ b/account_analytic_default_account/i18n/pt_BR.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# Rodrigo de Almeida Sottomaior Macedo , 2018 +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "LInha da fatura" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "Item diário" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/pt_PT.po b/account_analytic_default_account/i18n/pt_PT.po new file mode 100644 index 0000000000..04ac611099 --- /dev/null +++ b/account_analytic_default_account/i18n/pt_PT.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Linha da Fatura" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/ro.po b/account_analytic_default_account/i18n/ro.po new file mode 100644 index 0000000000..e3890564a1 --- /dev/null +++ b/account_analytic_default_account/i18n/ro.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Linie factura" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/ru.po b/account_analytic_default_account/i18n/ru.po new file mode 100644 index 0000000000..5320b94a13 --- /dev/null +++ b/account_analytic_default_account/i18n/ru.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Позиция счета" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/sl.po b/account_analytic_default_account/i18n/sl.po new file mode 100644 index 0000000000..c36e58e889 --- /dev/null +++ b/account_analytic_default_account/i18n/sl.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2019-07-24 18:43+0000\n" +"Last-Translator: Matjaz Mozetic \n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " +"n%100==4 ? 2 : 3;\n" +"X-Generator: Weblate 3.7.1\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "Konto" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "Postavka konta" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "Analitična distribucija" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Postavka računa" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "Dnevniški zapis" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" +"Izberite analitični konto, ki bo uporabljen za postavke računov in vknjižbe" diff --git a/account_analytic_default_account/i18n/sv.po b/account_analytic_default_account/i18n/sv.po new file mode 100644 index 0000000000..912d4b78b5 --- /dev/null +++ b/account_analytic_default_account/i18n/sv.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Fakturarad" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/tr.po b/account_analytic_default_account/i18n/tr.po new file mode 100644 index 0000000000..bc52591650 --- /dev/null +++ b/account_analytic_default_account/i18n/tr.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Fatura kalemi" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/tr_TR.po b/account_analytic_default_account/i18n/tr_TR.po new file mode 100644 index 0000000000..199fa5462f --- /dev/null +++ b/account_analytic_default_account/i18n/tr_TR.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "Fatura hizası" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/zh_CN.po b/account_analytic_default_account/i18n/zh_CN.po new file mode 100644 index 0000000000..908d9e90c2 --- /dev/null +++ b/account_analytic_default_account/i18n/zh_CN.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "发票明细" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/i18n/zh_TW.po b/account_analytic_default_account/i18n/zh_TW.po new file mode 100644 index 0000000000..2adda603b4 --- /dev/null +++ b/account_analytic_default_account/i18n/zh_TW.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_analytic_default_account +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-03 13:07+0000\n" +"PO-Revision-Date: 2018-04-03 13:07+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/" +"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_analytic_default_account +#: model:ir.model.fields,field_description:account_analytic_default_account.field_account_analytic_default_account_id +#: model:ir.ui.view,arch_db:account_analytic_default_account.view_account_analytic_default_form_search +msgid "Account" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_analytic_default +msgid "Analytic Distribution" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_invoice_line +msgid "Invoice Line" +msgstr "發票明細" + +#. module: account_analytic_default_account +#: model:ir.model,name:account_analytic_default_account.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_analytic_default_account +#: model:ir.model.fields,help:account_analytic_default_account.field_account_analytic_default_account_id +msgid "" +"Select the account corresponding to an analytic account which will be used " +"on the lines of invoices or account moves" +msgstr "" diff --git a/account_analytic_default_account/models/__init__.py b/account_analytic_default_account/models/__init__.py new file mode 100644 index 0000000000..465d27c528 --- /dev/null +++ b/account_analytic_default_account/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import account_analytic_default_account diff --git a/account_analytic_default_account/models/account_analytic_default_account.py b/account_analytic_default_account/models/account_analytic_default_account.py new file mode 100644 index 0000000000..ad7a54ac84 --- /dev/null +++ b/account_analytic_default_account/models/account_analytic_default_account.py @@ -0,0 +1,139 @@ +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from odoo import api, fields, models +from odoo.tools import config + + +class AccountAnalyticDefaultAccount(models.Model): + _inherit = "account.analytic.default" + + account_id = fields.Many2one( + "account.account", + string="Account", + ondelete="cascade", + help="Select the account corresponding to an analytic account " + "which will be used on the lines of invoices or account moves", + ) + + def _account_get_domain(self, **kw): + """Build account.analytic.default domain. + + :param kw: filter keys. + Available filter keys are defined into `account_get_domain_keys`. + :return: a search domain with all required keys' leaves. + Each key will be searched for both False and specified value. + For instance: [ + ('product_id'), '=', False), '|', [('product_id'), '=', 100) + ] + """ + domain = [] + # date will be handled differently + date_val = kw.pop("date") + + for key, value in kw.items(): + if value: + domain += ["|", (key, "=", kw.get(key))] + domain += [(key, "=", False)] + + if date_val: + domain += ["|", ("date_start", "<=", date_val), ("date_start", "=", False)] + domain += ["|", ("date_stop", ">=", date_val), ("date_stop", "=", False)] + return domain + + @api.model + def account_get( + self, + product_id=None, + partner_id=None, + user_id=None, + date=None, + company_id=None, + account_id=None, + ): + """Search the records matching the built domain, + compute an index score based on the actual record values then + return the record with the highest index score""" + filters = { + "product_id": product_id, + "partner_id": partner_id, + "user_id": user_id, + "date": date, + "company_id": company_id, + "account_id": account_id, + } + domain = self._account_get_domain(**filters) + keys = list(filters) + if "date" in keys: + keys.remove("date") + keys += ["date_start", "date_stop"] + best_index = -1 + res = self.env["account.analytic.default"] + for rec in self.search(domain): + index = 0 + for k in keys: + if rec[k]: + index += 1 + if index > best_index: + res = rec + best_index = index + return res + + +class AccountMoveLine(models.Model): + _inherit = "account.move.line" + + @api.onchange("account_id") + def _onchange_account_id(self): + for line in self: + if line.account_id and not line.analytic_account_id: + rec = self.env["account.analytic.default"].account_get( + account_id=line.account_id.id + ) + if rec: + line.analytic_account_id = rec.analytic_id.id + + def _set_default_analytic_account(self): + for line in self: + if not line.analytic_account_id: + rec = self.env["account.analytic.default"].account_get( + account_id=line.account_id.id + ) + if rec: + line.analytic_account_id = rec.analytic_id.id + + @api.onchange("product_id", "account_id") + def _onchange_product_id(self): + res = super()._onchange_product_id() + if not config["test_enable"] or self.env.context.get( + "test_account_analytic_default_account" + ): + rec = self.env["account.analytic.default"].account_get( + product_id=self.product_id.id, + partner_id=self.move_id.partner_id.id, + user_id=self.env.uid, + date=fields.Date.today(), + company_id=self.company_id.id, + account_id=self.account_id.id, + ) + self.analytic_account_id = rec.analytic_id.id + return res + + @api.model_create_multi + def create(self, vals_list): + for vals in vals_list: + if "analytic_account_id" not in vals: + rec = self.env["account.analytic.default"].account_get( + account_id=vals.get("account_id") + ) + if rec: + vals["analytic_account_id"] = rec.analytic_id.id + return super().create(vals_list) + + +class AccountMove(models.Model): + _inherit = "account.move" + + def post(self): + self.mapped("line_ids")._set_default_analytic_account() + return super().post() diff --git a/account_analytic_default_account/readme/CONTRIBUTORS.rst b/account_analytic_default_account/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..78f10edddc --- /dev/null +++ b/account_analytic_default_account/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Patrick Tombez diff --git a/account_analytic_default_account/readme/DESCRIPTION.rst b/account_analytic_default_account/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..8131448134 --- /dev/null +++ b/account_analytic_default_account/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module adds the ability to set a default analytic account on +accounts. diff --git a/account_analytic_default_account/readme/USAGE.rst b/account_analytic_default_account/readme/USAGE.rst new file mode 100644 index 0000000000..95c76a47a7 --- /dev/null +++ b/account_analytic_default_account/readme/USAGE.rst @@ -0,0 +1,2 @@ +Go to *Accounting -> Configuration -> Analytic Defaults* +and set the corresponding settings. diff --git a/account_analytic_default_account/static/description/icon.png b/account_analytic_default_account/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/account_analytic_default_account/static/description/icon.png differ diff --git a/account_analytic_default_account/static/description/index.html b/account_analytic_default_account/static/description/index.html new file mode 100644 index 0000000000..bbebd800fc --- /dev/null +++ b/account_analytic_default_account/static/description/index.html @@ -0,0 +1,419 @@ + + + + + + +Account Analytic Default Account + + + +
+

Account Analytic Default Account

+ + +

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

+

This module adds the ability to set a default analytic account on +accounts.

+

Table of contents

+ +
+

Usage

+

Go to Accounting -> Configuration -> Analytic Defaults +and set the corresponding settings.

+
+
+

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

+ +
+

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

+

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

+
+
+
+ + diff --git a/account_analytic_default_account/tests/__init__.py b/account_analytic_default_account/tests/__init__.py new file mode 100644 index 0000000000..82b400f2ec --- /dev/null +++ b/account_analytic_default_account/tests/__init__.py @@ -0,0 +1 @@ +from . import test_analytic_default_account diff --git a/account_analytic_default_account/tests/test_analytic_default_account.py b/account_analytic_default_account/tests/test_analytic_default_account.py new file mode 100644 index 0000000000..f873298dbc --- /dev/null +++ b/account_analytic_default_account/tests/test_analytic_default_account.py @@ -0,0 +1,121 @@ +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +import time + +from odoo.tests import common + + +class TestAnalyticDefaultAccount(common.SavepointCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + + cls.account_analytic_default_model = cls.env["account.analytic.default"] + cls.analytic_account_model = cls.env["account.analytic.account"] + cls.move_obj = cls.env["account.move"] + cls.move_line_obj = cls.env["account.move.line"] + + cls.partner_agrolait = cls.env.ref("base.res_partner_2") + cls.product = cls.env.ref("product.product_product_4") + cls.account_receivable = cls.env["account.account"].create( + { + "code": "X1035", + "name": "Income", + "user_type_id": cls.env.ref("account.data_account_type_receivable").id, + "reconcile": True, + } + ) + cls.partner_agrolait.property_account_receivable_id = cls.account_receivable.id + cls.account_sales = cls.env["account.account"].create( + { + "code": "X1020", + "name": "Product Sales - (test)", + "user_type_id": cls.env.ref("account.data_account_type_revenue").id, + } + ) + + cls.sales_journal = cls.env["account.journal"].create( + { + "name": "Sales Journal - (test)", + "code": "TSAJ", + "type": "sale", + "refund_sequence": True, + "payment_debit_account_id": cls.account_sales.id, + "payment_credit_account_id": cls.account_sales.id, + } + ) + + cls.analytic_account_1 = cls.analytic_account_model.create({"name": "test 1"}) + cls.analytic_account_2 = cls.analytic_account_model.create({"name": "test 2"}) + cls.analytic_account_3 = cls.analytic_account_model.create({"name": "test 3"}) + cls.analytic_account_4 = cls.analytic_account_model.create({"name": "test 4"}) + + cls.account_analytic_default_model.create( + {"product_id": cls.product.id, "analytic_id": cls.analytic_account_1.id} + ) + cls.account_analytic_default_model.create( + { + "partner_id": cls.partner_agrolait.id, + "analytic_id": cls.analytic_account_2.id, + } + ) + cls.account_analytic_default_model.create( + { + "product_id": cls.product.id, + "account_id": cls.account_sales.id, + "analytic_id": cls.analytic_account_3.id, + } + ) + cls.account_analytic_default_model.create( + { + "account_id": cls.account_sales.id, + "analytic_id": cls.analytic_account_4.id, + } + ) + + def create_move(self, amount=100): + ml_obj = self.move_line_obj.with_context(check_move_validity=False) + move_vals = { + "name": "/", + "journal_id": self.sales_journal.id, + "date": time.strftime("%Y") + "-07-25", + } + move = self.move_obj.create(move_vals) + move_line_1 = ml_obj.create( + { + "move_id": move.id, + "name": "/", + "debit": 0, + "credit": amount, + "account_id": self.account_sales.id, + "product_id": self.product.id, + } + ) + move_line_2 = ml_obj.create( + { + "move_id": move.id, + "name": "/", + "debit": amount, + "credit": 0, + "account_id": self.account_receivable.id, + } + ) + return move, move_line_1, move_line_2 + + def test_account_analytic_default_get_account(self): + rec = self.account_analytic_default_model.account_get( + account_id=self.account_sales.id + ) + self.assertEqual(self.analytic_account_4.id, rec.analytic_id.id) + + rec = self.account_analytic_default_model.account_get( + account_id=self.account_receivable.id + ) + self.assertFalse(rec.id) + + def test_account_analytic_default_account_move(self): + move, move_line_1, move_line_2 = self.create_move() + self.assertEqual(move_line_1.analytic_account_id, self.analytic_account_4) + self.assertFalse(move_line_2.analytic_account_id.id) diff --git a/account_analytic_default_account/views/account_analytic_default_account_view.xml b/account_analytic_default_account/views/account_analytic_default_account_view.xml new file mode 100644 index 0000000000..2e3bd01c92 --- /dev/null +++ b/account_analytic_default_account/views/account_analytic_default_account_view.xml @@ -0,0 +1,48 @@ + + + + + account.analytic.default.inherit.tree + account.analytic.default + + + + + + + + + + account.analytic.default.inherit.form + account.analytic.default + + + + + + + + + + account.analytic.default.inherit.search + account.analytic.default + + + + + + + + + + + diff --git a/setup/account_analytic_default_account/odoo/addons/account_analytic_default_account b/setup/account_analytic_default_account/odoo/addons/account_analytic_default_account new file mode 120000 index 0000000000..cf98df593b --- /dev/null +++ b/setup/account_analytic_default_account/odoo/addons/account_analytic_default_account @@ -0,0 +1 @@ +../../../../account_analytic_default_account \ No newline at end of file diff --git a/setup/account_analytic_default_account/setup.py b/setup/account_analytic_default_account/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/account_analytic_default_account/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)