Начальное наполнение

This commit is contained in:
parent 778bc0a3be
commit 1457c4aeea
46 changed files with 2077 additions and 0 deletions

4
__init__.py Normal file
View File

@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models

21
__manifest__.py Normal file
View File

@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': "Project - Account",
'summary': "project profitability items computation",
'description': """
Allows the computation of some section for the project profitability
==================================================================================================
This module allows the computation of the 'Vendor Bills', 'Other Costs' and 'Other Revenues' section for the project profitability, in the project update view.
""",
'category': 'Hidden',
'depends': ['account', 'project'],
'auto_install': True,
'license': 'LGPL-3',
'data': [
'views/account_analytic_line_views.xml',
'views/project_project_views.xml',
'views/project_task_views.xml',
'views/project_sharing_project_task_views.xml',
],
}

46
i18n/ar.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Arabic (https://app.transifex.com/odoo/teams/41243/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "التكاليف الأخرى "
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "الإيرادات الأخرى "
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "المشروع"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "فواتير المورد"

47
i18n/bg.po Normal file
View File

@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# aleksandar ivanov, 2023
# KeyVillage, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: KeyVillage, 2023\n"
"Language-Team: Bulgarian (https://app.transifex.com/odoo/teams/41243/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr ""
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr ""
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Проект"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Дневник на покупките"

48
i18n/ca.po Normal file
View File

@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# marcescu, 2023
# Martin Trigaux, 2023
# Quim - eccit <quim@eccit.com>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Quim - eccit <quim@eccit.com>, 2023\n"
"Language-Team: Catalan (https://app.transifex.com/odoo/teams/41243/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Altres costos"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Altres ingressos"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projecte"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Factures de proveïdors "

48
i18n/cs.po Normal file
View File

@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# karolína schusterová <karolina.schusterova@vdp.sk>, 2023
# Jakub Smolka, 2023
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Czech (https://app.transifex.com/odoo/teams/41243/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: cs\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Ostatní náklady"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Ostatní výnosy"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projekty"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Přijaté faktury"

46
i18n/da.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Martin Trigaux, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Martin Trigaux, 2023\n"
"Language-Team: Danish (https://app.transifex.com/odoo/teams/41243/da/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: da\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Andre Omkostninger"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Andre Indtægter"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projekt"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Leverandørfakturaer"

46
i18n/de.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: German (https://app.transifex.com/odoo/teams/41243/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Andere Kosten"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Sonstige Einnahmen"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projekt"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Lieferantenrechnungen"

47
i18n/es.po Normal file
View File

@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
# Larissa Manderfeld, 2024
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Larissa Manderfeld, 2024\n"
"Language-Team: Spanish (https://app.transifex.com/odoo/teams/41243/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es\n"
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Otros costes"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Otros ingresos"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Proyecto"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Facturas de proveedor"

46
i18n/es_419.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Spanish (Latin America) (https://app.transifex.com/odoo/teams/41243/es_419/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_419\n"
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Otros gastos"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Otros ingresos"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Proyecto"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Facturas de proveedores"

48
i18n/et.po Normal file
View File

@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Triine Aavik <triine@avalah.ee>, 2023
# Patrick-Jordan Kiudorv, 2023
# Eneli Õigus <enelioigus@gmail.com>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Eneli Õigus <enelioigus@gmail.com>, 2023\n"
"Language-Team: Estonian (https://app.transifex.com/odoo/teams/41243/et/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: et\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Muud kulud"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Muud tulud"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projektid"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Ostuarved"

47
i18n/fa.po Normal file
View File

@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Hamid Darabi, 2023
# Hanna Kheradroosta, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Hanna Kheradroosta, 2023\n"
"Language-Team: Persian (https://app.transifex.com/odoo/teams/41243/fa/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fa\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "سایر هزینه ها"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "سایر درآمدها"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "پروژه"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "صورتهای فروشنده"

48
i18n/fi.po Normal file
View File

@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Ossi Mantylahti <ossi.mantylahti@obs-solutions.fi>, 2023
# Svante Suominen <svante.suominen@web-veistamo.fi>, 2023
# Tuomo Aura <tuomo.aura@web-veistamo.fi>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Tuomo Aura <tuomo.aura@web-veistamo.fi>, 2023\n"
"Language-Team: Finnish (https://app.transifex.com/odoo/teams/41243/fi/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fi\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Muut kustannukset"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Muut tulot"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projektit"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Ostolaskut"

46
i18n/fr.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: French (https://app.transifex.com/odoo/teams/41243/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Autres coûts"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Autres revenus"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projet"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Factures fournisseurs"

46
i18n/he.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# ZVI BLONDER <ZVIBLONDER@gmail.com>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: ZVI BLONDER <ZVIBLONDER@gmail.com>, 2023\n"
"Language-Team: Hebrew (https://app.transifex.com/odoo/teams/41243/he/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: he\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr ""
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr ""
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "פרויקט"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "חשבוניות הספק"

47
i18n/hu.po Normal file
View File

@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Ákos Nagy <akos.nagy@oregional.hu>, 2023
# Tamás Németh <ntomasz81@gmail.com>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Tamás Németh <ntomasz81@gmail.com>, 2023\n"
"Language-Team: Hungarian (https://app.transifex.com/odoo/teams/41243/hu/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: hu\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr ""
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr ""
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projekt"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Beszállítói számlák"

46
i18n/id.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Indonesian (https://app.transifex.com/odoo/teams/41243/id/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Ongkos Lain"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Pendapatan Lain"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Proyek"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Tagihan Vendor"

46
i18n/it.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Italian (https://app.transifex.com/odoo/teams/41243/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: it\n"
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Altri costi"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Altri ricavi"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Progetto"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Fatture fornitore"

46
i18n/ja.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Japanese (https://app.transifex.com/odoo/teams/41243/ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "他の原価"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "他の収益"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "プロジェクト"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "仕入先請求書"

46
i18n/ko.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Korean (https://app.transifex.com/odoo/teams/41243/ko/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ko\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "기타 비용"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "기타 수익"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "프로젝트"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "공급업체 청구서"

47
i18n/lt.po Normal file
View File

@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Martin Trigaux, 2023
# Linas Versada <linaskrisiukenas@gmail.com>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Linas Versada <linaskrisiukenas@gmail.com>, 2023\n"
"Language-Team: Lithuanian (https://app.transifex.com/odoo/teams/41243/lt/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: lt\n"
"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr ""
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr ""
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projektas"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Tiekėjų sąskaitos"

48
i18n/lv.po Normal file
View File

@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Armīns Jeltajevs <armins.jeltajevs@gmail.com>, 2023
# ievaputnina <ievai.putninai@gmail.com>, 2023
# Will Sensors, 2024
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Will Sensors, 2024\n"
"Language-Team: Latvian (https://app.transifex.com/odoo/teams/41243/lv/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: lv\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr ""
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Citi ieņēmumi"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projekti"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Iepirkumu rēķini"

46
i18n/nl.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Dutch (https://app.transifex.com/odoo/teams/41243/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Andere kosten"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Andere opbrengsten"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Project"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Leveranciersfacturen"

46
i18n/pl.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Polish (https://app.transifex.com/odoo/teams/41243/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pl\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Inne koszty"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Inne przychody"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projekt"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Faktury zakupu"

42
i18n/project_account.pot Normal file
View File

@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 21:55+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr ""
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr ""
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr ""
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr ""

46
i18n/pt.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Portuguese (https://app.transifex.com/odoo/teams/41243/pt/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr ""
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr ""
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projeto"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Faturas de Fornecedor"

46
i18n/pt_BR.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/odoo/teams/41243/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Outros custos"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Outras receitas"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projeto"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Faturas de fornecedor"

47
i18n/ru.po Normal file
View File

@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Сергей Шебанин <sergey@shebanin.ru>, 2023
# Wil Odoo, 2024
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2024\n"
"Language-Team: Russian (https://app.transifex.com/odoo/teams/41243/ru/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ru\n"
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Прочие расходы"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Прочие доходы"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Проект"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Счета поставщиков"

46
i18n/sk.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Slovak (https://app.transifex.com/odoo/teams/41243/sk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sk\n"
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr ""
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr ""
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projekt"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Dodávateľské faktúry"

48
i18n/sl.po Normal file
View File

@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Jasmina Macur <jasmina@hbs.si>, 2023
# Martin Trigaux, 2023
# Matjaz Mozetic <m.mozetic@matmoz.si>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Matjaz Mozetic <m.mozetic@matmoz.si>, 2023\n"
"Language-Team: Slovenian (https://app.transifex.com/odoo/teams/41243/sl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sl\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Ostali stroški"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr ""
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projekt"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Prejeti računi"

46
i18n/sr.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Milan Bojovic, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Milan Bojovic, 2023\n"
"Language-Team: Serbian (https://app.transifex.com/odoo/teams/41243/sr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sr\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: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Ostali troškovi"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Ostali prihodi"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projekat"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Računi dobavljača"

48
i18n/sv.po Normal file
View File

@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Lasse L, 2023
# Martin Trigaux, 2023
# lynnliuying <lynn.liu1971@gmail.com>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: lynnliuying <lynn.liu1971@gmail.com>, 2023\n"
"Language-Team: Swedish (https://app.transifex.com/odoo/teams/41243/sv/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sv\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Övriga kostnader"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr ""
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Projekt"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Leverantörsfakturor"

46
i18n/th.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Thai (https://app.transifex.com/odoo/teams/41243/th/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: th\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "ต้นทุนอื่น "
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "รายได้อื่น"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "โปรเจ็กต์"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "บิลผู้ขาย"

47
i18n/tr.po Normal file
View File

@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Ediz Duman <neps1192@gmail.com>, 2023
# Murat Kaplan <muratk@projetgrup.com>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Murat Kaplan <muratk@projetgrup.com>, 2023\n"
"Language-Team: Turkish (https://app.transifex.com/odoo/teams/41243/tr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: tr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Diğer Maliyetler"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Diğer Gelirler"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Proje"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Tedarikçi Faturaları"

47
i18n/uk.po Normal file
View File

@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Martin Trigaux, 2023
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Ukrainian (https://app.transifex.com/odoo/teams/41243/uk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: uk\n"
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Інші витрати"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Інші доходи"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Проект"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Рахунки постачальників"

46
i18n/vi.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Vietnamese (https://app.transifex.com/odoo/teams/41243/vi/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: vi\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "Chi phí khác"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "Doanh thu khác"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "Dự án"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "Hoá đơn mua hàng"

46
i18n/zh_CN.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Chinese (China) (https://app.transifex.com/odoo/teams/41243/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "其他费用"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "其他收入"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "项目"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "供应商账单"

46
i18n/zh_TW.po Normal file
View File

@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_account
#
# Translators:
# Wil Odoo, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 23:09+0000\n"
"Last-Translator: Wil Odoo, 2023\n"
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/odoo/teams/41243/zh_TW/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: zh_TW\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Costs"
msgstr "其他費用"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Other Revenues"
msgstr "其他收入"
#. module: project_account
#: model:ir.model,name:project_account.model_project_project
msgid "Project"
msgstr "專案"
#. module: project_account
#. odoo-python
#: code:addons/project_account/models/project_project.py:0
#, python-format
msgid "Vendor Bills"
msgstr "供應商賬單"

4
models/__init__.py Normal file
View File

@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import project_project

175
models/project_project.py Normal file
View File

@ -0,0 +1,175 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import json
from collections import defaultdict
from odoo import models, _lt
from odoo.tools.misc import OrderedSet
class Project(models.Model):
_inherit = 'project.project'
def _add_purchase_items(self, profitability_items, with_action=True):
domain = self._get_add_purchase_items_domain()
with_action = with_action and self.user_has_groups('account.group_account_invoice, account.group_account_readonly')
self._get_costs_items_from_purchase(domain, profitability_items, with_action=with_action)
def _get_add_purchase_items_domain(self):
purchase_order_line_invoice_line_ids = self._get_already_included_profitability_invoice_line_ids()
return [
('move_type', 'in', ['in_invoice', 'in_refund']),
('parent_state', 'in', ['draft', 'posted']),
('price_subtotal', '>', 0),
('id', 'not in', purchase_order_line_invoice_line_ids),
]
def _get_costs_items_from_purchase(self, domain, profitability_items, with_action=True):
""" This method is used in sale_project and project_purchase. Since project_account is the only common module (except project), we create the method here. """
# calculate the cost of bills without a purchase order
query = self.env['account.move.line'].sudo()._search(domain)
query.add_where('account_move_line.analytic_distribution ? %s', [str(self.analytic_account_id.id)])
# account_move_line__move_id is the alias of the joined table account_move in the query
# we can use it, because of the "move_id.move_type" clause in the domain of the query, which generates the join
# this is faster than a search_read followed by a browse on the move_id to retrieve the move_type of each account.move.line
query_string, query_param = query.select('price_subtotal', 'parent_state', 'account_move_line.currency_id', 'account_move_line.analytic_distribution', 'account_move_line__move_id.move_type', 'move_id')
self._cr.execute(query_string, query_param)
bills_move_line_read = self._cr.dictfetchall()
if bills_move_line_read:
# Get conversion rate from currencies to currency of the current company
currency_ids = OrderedSet(bml['currency_id'] for bml in bills_move_line_read)
amount_invoiced = amount_to_invoice = 0.0
move_ids = set()
for moves_read in bills_move_line_read:
price_subtotal = self.env['res.currency'].browse(moves_read['currency_id']).with_prefetch(currency_ids)._convert(
from_amount=moves_read['price_subtotal'], to_currency=self.currency_id,
)
analytic_contribution = moves_read['analytic_distribution'][str(self.analytic_account_id.id)] / 100.
move_ids.add(moves_read['move_id'])
if moves_read['parent_state'] == 'draft':
if moves_read['move_type'] == 'in_invoice':
amount_to_invoice -= price_subtotal * analytic_contribution
else: # moves_read['move_type'] == 'in_refund'
amount_to_invoice += price_subtotal * analytic_contribution
else: # moves_read['parent_state'] == 'posted'
if moves_read['move_type'] == 'in_invoice':
amount_invoiced -= price_subtotal * analytic_contribution
else: # moves_read['move_type'] == 'in_refund'
amount_invoiced += price_subtotal * analytic_contribution
# don't display the section if the final values are both 0 (bill -> vendor credit)
if amount_invoiced != 0 or amount_to_invoice != 0:
costs = profitability_items['costs']
section_id = 'other_purchase_costs'
bills_costs = {
'id': section_id,
'sequence': self._get_profitability_sequence_per_invoice_type()[section_id],
'billed': amount_invoiced,
'to_bill': amount_to_invoice,
}
if with_action:
bills_costs['action'] = self._get_action_for_profitability_section(list(move_ids), section_id)
costs['data'].append(bills_costs)
costs['total']['billed'] += amount_invoiced
costs['total']['to_bill'] += amount_to_invoice
def _get_action_for_profitability_section(self, record_ids, name):
self.ensure_one()
args = [name, [('id', 'in', record_ids)]]
if len(record_ids) == 1:
args.append(record_ids[0])
return {'name': 'action_profitability_items', 'type': 'object', 'args': json.dumps(args)}
def _get_profitability_labels(self):
return {
**super()._get_profitability_labels(),
'other_purchase_costs': _lt('Vendor Bills'),
'other_revenues': _lt('Other Revenues'),
'other_costs': _lt('Other Costs'),
}
def _get_profitability_sequence_per_invoice_type(self):
return {
**super()._get_profitability_sequence_per_invoice_type(),
'other_purchase_costs': 11,
'other_revenues': 14,
'other_costs': 15,
}
def action_profitability_items(self, section_name, domain=None, res_id=False):
if section_name in ['other_revenues', 'other_costs']:
action = self.env["ir.actions.actions"]._for_xml_id("analytic.account_analytic_line_action_entries")
action['domain'] = domain
action['context'] = {
'group_by_date': True,
}
if res_id:
action['views'] = [(False, 'form')]
action['view_mode'] = 'form'
action['res_id'] = res_id
else:
pivot_view_id = self.env['ir.model.data']._xmlid_to_res_id('project_account.project_view_account_analytic_line_pivot')
graph_view_id = self.env['ir.model.data']._xmlid_to_res_id('project_account.project_view_account_analytic_line_graph')
action['views'] = [(pivot_view_id, view_type) if view_type == 'pivot' else (graph_view_id, view_type) if view_type == 'graph' else (view_id, view_type)
for (view_id, view_type) in action['views']]
return action
if section_name == 'other_purchase_costs':
action = self.env["ir.actions.actions"]._for_xml_id("account.action_move_in_invoice_type")
action['domain'] = domain or []
if res_id:
action['views'] = [(False, 'form')]
action['view_mode'] = 'form'
action['res_id'] = res_id
return action
return super().action_profitability_items(section_name, domain, res_id)
def _get_domain_aal_with_no_move_line(self):
""" this method is used in order to overwrite the domain in sale_timesheet module. Since the field 'project_id' is added to the "analytic line" model
in the hr_timesheet module, we can't add the condition ('project_id', '=', False) here. """
return [('account_id', '=', self.analytic_account_id.id), ('move_line_id', '=', False), ('category', '!=', 'manufacturing_order')]
def _get_items_from_aal(self, with_action=True):
domain = self._get_domain_aal_with_no_move_line()
aal_other_search = self.env['account.analytic.line'].sudo().search_read(domain, ['id', 'amount', 'currency_id'])
if not aal_other_search:
return {
'revenues': {'data': [], 'total': {'invoiced': 0.0, 'to_invoice': 0.0}},
'costs': {'data': [], 'total': {'billed': 0.0, 'to_bill': 0.0}},
}
# dict of form { company : {costs : float, revenues: float}}
dict_amount_per_currency_id = defaultdict(lambda: {'costs': 0.0, 'revenues': 0.0})
set_currency_ids = {self.currency_id.id}
cost_ids = []
revenue_ids = []
for aal in aal_other_search:
set_currency_ids.add(aal['currency_id'][0])
aal_amount = aal['amount']
if aal_amount < 0.0:
dict_amount_per_currency_id[aal['currency_id'][0]]['costs'] += aal_amount
cost_ids.append(aal['id'])
else:
dict_amount_per_currency_id[aal['currency_id'][0]]['revenues'] += aal_amount
revenue_ids.append(aal['id'])
total_revenues = total_costs = 0.0
for currency_id, dict_amounts in dict_amount_per_currency_id.items():
currency = self.env['res.currency'].browse(currency_id).with_prefetch(dict_amount_per_currency_id)
total_revenues += currency._convert(dict_amounts['revenues'], self.currency_id, self.company_id)
total_costs += currency._convert(dict_amounts['costs'], self.currency_id, self.company_id)
# we dont know what part of the numbers has already been billed or not, so we have no choice but to put everything under the billed/invoiced columns.
# The to bill/to invoice ones will simply remain 0
profitability_sequence_per_invoice_type = self._get_profitability_sequence_per_invoice_type()
revenues = {'id': 'other_revenues', 'sequence': profitability_sequence_per_invoice_type['other_revenues'], 'invoiced': total_revenues, 'to_invoice': 0.0}
costs = {'id': 'other_costs', 'sequence': profitability_sequence_per_invoice_type['other_costs'], 'billed': total_costs, 'to_bill': 0.0}
if with_action and self.user_has_groups('account.group_account_readonly'):
costs['action'] = self._get_action_for_profitability_section(cost_ids, 'other_costs')
revenues['action'] = self._get_action_for_profitability_section(revenue_ids, 'other_revenues')
return {
'revenues': {'data': [revenues], 'total': {'invoiced': total_revenues, 'to_invoice': 0.0}},
'costs': {'data': [costs], 'total': {'billed': total_costs, 'to_bill': 0.0}},
}

3
tests/__init__.py Normal file
View File

@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
from . import test_project_profitability

View File

@ -0,0 +1,87 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.tests import tagged
from odoo.addons.project.tests.test_project_profitability import TestProjectProfitabilityCommon
@tagged('-at_install', 'post_install')
class TestProjectAccountProfitability(TestProjectProfitabilityCommon):
def test_project_profitability(self):
"""
In this module, the project profitability should be computed while checking the AAL data.
The Other Revenue and Other Cost sections should be displayed if some data are available.
"""
project = self.env['project.project'].create({'name': 'new project'})
project._create_analytic_account()
self.assertDictEqual(
project._get_profitability_items(False),
self.project_profitability_items_empty,
'The profitability data of the project should return no data and so 0 for each total amount.'
)
# Create a new company with the foreign currency.
foreign_company = self.env['res.company'].create({'name': "My Test Company", 'currency_id': self.foreign_currency.id})
# Create new AAL with the new company.
self.env['account.analytic.line'].create([{
'name': 'extra revenues 1',
'account_id': project.analytic_account_id.id,
'amount': 100,
'company_id': foreign_company.id,
}, {
'name': 'extra costs 1',
'account_id': project.analytic_account_id.id,
'amount': -100,
'company_id': foreign_company.id,
}, {
'name': 'extra revenues 2',
'account_id': project.analytic_account_id.id,
'amount': 50,
'company_id': foreign_company.id,
}, {
'name': 'extra costs 2',
'account_id': project.analytic_account_id.id,
'amount': -50,
'company_id': foreign_company.id,
}])
# Ensures that when all the AAL of the account belongs to another company, the total amount is still converted to the currency of the current active company
self.assertDictEqual(
project._get_profitability_items(False),
{
'revenues': {'data': [{'id': 'other_revenues', 'sequence': self.project._get_profitability_sequence_per_invoice_type()['other_revenues'],
'invoiced': 30.0, 'to_invoice': 0.0}], 'total': {'invoiced': 30.0, 'to_invoice': 0.0}},
'costs': {'data': [{'id': 'other_costs', 'sequence': self.project._get_profitability_sequence_per_invoice_type()['other_costs'],
'billed': -30.0, 'to_bill': 0.0}], 'total': {'billed': -30.0, 'to_bill': 0.0}}
},
'The profitability data of the project should return the total amount for the revenues and costs from tha AAL of the account of the project.'
)
self.env['account.analytic.line'].create([{
'name': 'extra revenues 1',
'account_id': project.analytic_account_id.id,
'amount': 100,
}, {
'name': 'extra costs 1',
'account_id': project.analytic_account_id.id,
'amount': -100,
}, {
'name': 'extra revenues 2',
'account_id': project.analytic_account_id.id,
'amount': 50,
}, {
'name': 'extra costs 2',
'account_id': project.analytic_account_id.id,
'amount': -50,
}])
# Ensures that multiple AAL from different companies are correctly computed for the project profitability
self.assertDictEqual(
project._get_profitability_items(False),
{
'revenues': {'data': [{'id': 'other_revenues', 'sequence': project._get_profitability_sequence_per_invoice_type()['other_revenues'],
'invoiced': 180.0, 'to_invoice': 0.0}], 'total': {'invoiced': 180.0, 'to_invoice': 0.0}},
'costs': {'data': [{'id': 'other_costs', 'sequence': project._get_profitability_sequence_per_invoice_type()['other_costs'],
'billed': -180.0, 'to_bill': 0.0}], 'total': {'billed': -180.0, 'to_bill': 0.0}}
},
'The profitability data of the project should return the total amount for the revenues and costs from tha AAL of the account of the project.'
)

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="project_view_account_analytic_line_graph" model="ir.ui.view">
<field name="name">account.analytic.line.graph</field>
<field name="model">account.analytic.line</field>
<field name="inherit_id" ref="analytic.view_account_analytic_line_graph"/>
<field name="mode">primary</field>
<field name="arch" type="xml">
<xpath expr="//graph" position="inside">
<field name="date" type="row"/>
</xpath>
<xpath expr="//field[@name='account_id']" position="replace">
</xpath>
</field>
</record>
<record id="project_view_account_analytic_line_pivot" model="ir.ui.view">
<field name="name">account.analytic.line.pivot</field>
<field name="model">account.analytic.line</field>
<field name="inherit_id" ref="analytic.view_account_analytic_line_pivot"/>
<field name="mode">primary</field>
<field name="arch" type="xml">
<xpath expr="//pivot" position="inside">
<field name="date" type="row"/>
</xpath>
<xpath expr="//field[@name='partner_id']" position="attributes">
<attribute name="invisible">context.get('group_by_date', False)</attribute>
</xpath>
<xpath expr="//field[@name='account_id']" position="replace">
</xpath>
</field>
</record>
</odoo>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="project_project_tree_view_account_inherit" model="ir.ui.view">
<field name="name">project.project.tree.view.account.inherit</field>
<field name="model">project.project</field>
<field name="inherit_id" ref="project.view_project"/>
<field name="arch" type="xml">
<field name="partner_id" position="attributes">
<attribute name="context">{'res_partner_search_mode': 'customer'}</attribute>
</field>
</field>
</record>
<record id="project_project_form_view_account_inherit" model="ir.ui.view">
<field name="name">project.project.form.view.account.inherit</field>
<field name="model">project.project</field>
<field name="inherit_id" ref="project.edit_project"/>
<field name="arch" type="xml">
<field name="partner_id" position="attributes">
<attribute name="context">{'res_partner_search_mode': 'customer'}</attribute>
</field>
</field>
</record>
</odoo>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="project_sharing_project_task_form_view_account_inherit" model="ir.ui.view">
<field name="name">project.sharing.project.task.form.view.account.inherit</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.project_sharing_project_task_view_form"/>
<field name="arch" type="xml">
<field name="partner_id" position="attributes">
<attribute name="context">{'res_partner_search_mode': 'customer'}</attribute>
</field>
<xpath expr="//field[@name='child_ids']/tree/field[@name='partner_id']" position="attributes">
<attribute name="context">{'res_partner_search_mode': 'customer'}</attribute>
</xpath>
</field>
</record>
</odoo>

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="project_task_form_view_account_inherit" model="ir.ui.view">
<field name="name">project.task.form.view.account.inherit</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_form2"/>
<field name="arch" type="xml">
<field name="partner_id" position="attributes">
<attribute name="context">{'res_partner_search_mode': 'customer'}</attribute>
</field>
<xpath expr="//field[@name='child_ids']/tree/field[@name='partner_id']" position="attributes">
<attribute name="context">{'res_partner_search_mode': 'customer'}</attribute>
</xpath>
<xpath expr="//field[@name='depend_on_ids']/tree/field[@name='partner_id']" position="attributes">
<attribute name="context">{'res_partner_search_mode': 'customer'}</attribute>
</xpath>
</field>
</record>
<record id="project_task_tree_view_account_inherit" model="ir.ui.view">
<field name="name">project.task.tree.view.account.inherit</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.project_task_view_tree_base"/>
<field name="arch" type="xml">
<field name="partner_id" position="attributes">
<attribute name="context">{'res_partner_search_mode': 'customer'}</attribute>
</field>
</field>
</record>
</odoo>