From a4c64b57f8d19361bd4af62003c9c704e02b525c Mon Sep 17 00:00:00 2001 From: Sergey Krylov Date: Wed, 19 Feb 2025 14:18:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=BE=D0=B5=20=D0=BD=D0=B0=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 12 +++ __manifest__.py | 18 ++++ i18n/ar.po | 30 +++++++ i18n/bg.po | 31 +++++++ i18n/ca.po | 31 +++++++ i18n/cs.po | 30 +++++++ i18n/da.po | 30 +++++++ i18n/de.po | 30 +++++++ i18n/es.po | 30 +++++++ i18n/es_419.po | 31 +++++++ i18n/et.po | 31 +++++++ i18n/fa.po | 31 +++++++ i18n/fi.po | 31 +++++++ i18n/fr.po | 31 +++++++ i18n/he.po | 31 +++++++ i18n/hu.po | 31 +++++++ i18n/id.po | 30 +++++++ i18n/it.po | 31 +++++++ i18n/ja.po | 30 +++++++ i18n/ko.po | 30 +++++++ i18n/lt.po | 31 +++++++ i18n/lv.po | 30 +++++++ i18n/nl.po | 31 +++++++ i18n/pl.po | 30 +++++++ i18n/pt.po | 30 +++++++ i18n/pt_BR.po | 31 +++++++ i18n/ru.po | 31 +++++++ i18n/sk.po | 30 +++++++ i18n/sl.po | 31 +++++++ i18n/sr.po | 31 +++++++ i18n/stock_landed_costs_company.pot | 26 ++++++ i18n/sv.po | 30 +++++++ i18n/th.po | 30 +++++++ i18n/tr.po | 31 +++++++ i18n/uk.po | 30 +++++++ i18n/vi.po | 30 +++++++ i18n/zh_CN.po | 30 +++++++ i18n/zh_TW.po | 30 +++++++ models/__init__.py | 4 + models/stock_landed_cost.py | 10 +++ tests/__init__.py | 3 + tests/test_stock_landed_costs_branches.py | 103 ++++++++++++++++++++++ 42 files changed, 1243 insertions(+) create mode 100644 __init__.py create mode 100644 __manifest__.py create mode 100644 i18n/ar.po create mode 100644 i18n/bg.po create mode 100644 i18n/ca.po create mode 100644 i18n/cs.po create mode 100644 i18n/da.po create mode 100644 i18n/de.po create mode 100644 i18n/es.po create mode 100644 i18n/es_419.po create mode 100644 i18n/et.po create mode 100644 i18n/fa.po create mode 100644 i18n/fi.po create mode 100644 i18n/fr.po create mode 100644 i18n/he.po create mode 100644 i18n/hu.po create mode 100644 i18n/id.po create mode 100644 i18n/it.po create mode 100644 i18n/ja.po create mode 100644 i18n/ko.po create mode 100644 i18n/lt.po create mode 100644 i18n/lv.po create mode 100644 i18n/nl.po create mode 100644 i18n/pl.po create mode 100644 i18n/pt.po create mode 100644 i18n/pt_BR.po create mode 100644 i18n/ru.po create mode 100644 i18n/sk.po create mode 100644 i18n/sl.po create mode 100644 i18n/sr.po create mode 100644 i18n/stock_landed_costs_company.pot create mode 100644 i18n/sv.po create mode 100644 i18n/th.po create mode 100644 i18n/tr.po create mode 100644 i18n/uk.po create mode 100644 i18n/vi.po create mode 100644 i18n/zh_CN.po create mode 100644 i18n/zh_TW.po create mode 100644 models/__init__.py create mode 100644 models/stock_landed_cost.py create mode 100644 tests/__init__.py create mode 100644 tests/test_stock_landed_costs_branches.py diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..ef61079 --- /dev/null +++ b/__init__.py @@ -0,0 +1,12 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import models + +def _stock_landed_costs_company_post_init(env): + env.cr.execute(""" + UPDATE stock_landed_cost cost + SET company_id = journal.company_id + FROM account_journal journal + WHERE cost.account_journal_id = journal.id + """) diff --git a/__manifest__.py b/__manifest__.py new file mode 100644 index 0000000..1adf7ea --- /dev/null +++ b/__manifest__.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': 'Landed Costs for company\'s branches', + 'version': '1.0', + 'description': """ + This module is a patch that stores the company_id field on the landed cost model. + That way, it is possible to create/use landed costs from a branch. + """, + 'depends': ['stock_landed_costs'], + 'category': 'Inventory/Inventory', + 'sequence': 16, + 'installable': True, + 'auto_install': True, + 'post_init_hook': '_stock_landed_costs_company_post_init', + 'license': 'LGPL-3', +} diff --git a/i18n/ar.po b/i18n/ar.po new file mode 100644 index 0000000..e45e6c6 --- /dev/null +++ b/i18n/ar.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Malaz Abuidris , 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Malaz Abuidris , 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "الشركة " + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "التكاليف الإضافية للمخزون " diff --git a/i18n/bg.po b/i18n/bg.po new file mode 100644 index 0000000..99cfd57 --- /dev/null +++ b/i18n/bg.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Maria Boyadjieva , 2024 +# KeyVillage, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: KeyVillage, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Фирма" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Складови разтоварни разходи " diff --git a/i18n/ca.po b/i18n/ca.po new file mode 100644 index 0000000..af011f7 --- /dev/null +++ b/i18n/ca.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# RGB Consulting , 2024 +# jabiri7, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: jabiri7, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Empresa" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Cost en destí" diff --git a/i18n/cs.po b/i18n/cs.po new file mode 100644 index 0000000..07920da --- /dev/null +++ b/i18n/cs.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Společnost" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Vedlejší pořizovací náklady" diff --git a/i18n/da.po b/i18n/da.po new file mode 100644 index 0000000..06b921e --- /dev/null +++ b/i18n/da.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Martin Trigaux, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Martin Trigaux, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Virksomhed" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Lager landede omkostninger" diff --git a/i18n/de.po b/i18n/de.po new file mode 100644 index 0000000..cbab330 --- /dev/null +++ b/i18n/de.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Unternehmen" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Bestand Einstandskosten" diff --git a/i18n/es.po b/i18n/es.po new file mode 100644 index 0000000..09aff7d --- /dev/null +++ b/i18n/es.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Compañía" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Coste en destino" diff --git a/i18n/es_419.po b/i18n/es_419.po new file mode 100644 index 0000000..b5e056d --- /dev/null +++ b/i18n/es_419.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# Fernanda Alvarez, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Fernanda Alvarez, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Empresa" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Costo en destino de existencias" diff --git a/i18n/et.po b/i18n/et.po new file mode 100644 index 0000000..15efd4f --- /dev/null +++ b/i18n/et.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Egon Raamat , 2024 +# Martin Trigaux, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Martin Trigaux, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Ettevõte" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Lao maaletoomise kulu" diff --git a/i18n/fa.po b/i18n/fa.po new file mode 100644 index 0000000..aac0c30 --- /dev/null +++ b/i18n/fa.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Hanna Kheradroosta, 2024 +# Martin Trigaux, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Martin Trigaux, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "شرکت" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "هزینه سربار موجودی" diff --git a/i18n/fi.po b/i18n/fi.po new file mode 100644 index 0000000..4d54ced --- /dev/null +++ b/i18n/fi.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Marko Happonen , 2024 +# Tuomo Aura , 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Tuomo Aura , 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Yritys" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Varaston kokonaiskulu" diff --git a/i18n/fr.po b/i18n/fr.po new file mode 100644 index 0000000..c2dc9db --- /dev/null +++ b/i18n/fr.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# Jolien De Paepe, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Jolien De Paepe, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Société" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Coûts logistique de stock" diff --git a/i18n/he.po b/i18n/he.po new file mode 100644 index 0000000..7f475d8 --- /dev/null +++ b/i18n/he.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# ZVI BLONDER , 2024 +# Yihya Hugirat , 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Yihya Hugirat , 2024\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=3; 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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "חברה" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "מלאי עלויות הוצאות הובלה" diff --git a/i18n/hu.po b/i18n/hu.po new file mode 100644 index 0000000..5b23673 --- /dev/null +++ b/i18n/hu.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Martin Trigaux, 2024 +# krnkris, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: krnkris, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Vállalat" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Raktárkészlet össz ár (termék+száll+bizt+...)" diff --git a/i18n/id.po b/i18n/id.po new file mode 100644 index 0000000..35d52f2 --- /dev/null +++ b/i18n/id.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Perusahaan" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Biaya Pengiriman Stok" diff --git a/i18n/it.po b/i18n/it.po new file mode 100644 index 0000000..11cc269 --- /dev/null +++ b/i18n/it.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# Marianna Ciofani, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Marianna Ciofani, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Azienda" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Costi di spedizione magazzino" diff --git a/i18n/ja.po b/i18n/ja.po new file mode 100644 index 0000000..22f0130 --- /dev/null +++ b/i18n/ja.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "会社" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "在庫仕入諸掛" diff --git a/i18n/ko.po b/i18n/ko.po new file mode 100644 index 0000000..6dcd715 --- /dev/null +++ b/i18n/ko.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "회사" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "재고 부대 비용" diff --git a/i18n/lt.po b/i18n/lt.po new file mode 100644 index 0000000..5e7c4f8 --- /dev/null +++ b/i18n/lt.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Linas Versada , 2024 +# Martin Trigaux, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Martin Trigaux, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Įmonė" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Atsargų galutiniai kaštai" diff --git a/i18n/lv.po b/i18n/lv.po new file mode 100644 index 0000000..b8bdc49 --- /dev/null +++ b/i18n/lv.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Martin Trigaux, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Martin Trigaux, 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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Uzņēmums" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "" diff --git a/i18n/nl.po b/i18n/nl.po new file mode 100644 index 0000000..29d2a0e --- /dev/null +++ b/i18n/nl.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# Jolien De Paepe, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Jolien De Paepe, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Bedrijf" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Voorraad logistieke kosten" diff --git a/i18n/pl.po b/i18n/pl.po new file mode 100644 index 0000000..343ab5f --- /dev/null +++ b/i18n/pl.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Firma" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Koszty nabycia" diff --git a/i18n/pt.po b/i18n/pt.po new file mode 100644 index 0000000..060d834 --- /dev/null +++ b/i18n/pt.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Empresa" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Custos de Entrega do Stock" diff --git a/i18n/pt_BR.po b/i18n/pt_BR.po new file mode 100644 index 0000000..9dde616 --- /dev/null +++ b/i18n/pt_BR.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# Maitê Dietze, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Maitê Dietze, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Empresa" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Custo adicionais de estoque" diff --git a/i18n/ru.po b/i18n/ru.po new file mode 100644 index 0000000..6e6426a --- /dev/null +++ b/i18n/ru.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Martin Trigaux, 2024 +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Компания" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Запасы Посадочная стоимость" diff --git a/i18n/sk.po b/i18n/sk.po new file mode 100644 index 0000000..c5bf0aa --- /dev/null +++ b/i18n/sk.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Spoločnosť" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Dodacie náklady skladu" diff --git a/i18n/sl.po b/i18n/sl.po new file mode 100644 index 0000000..06002e4 --- /dev/null +++ b/i18n/sl.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Matjaz Mozetic , 2024 +# Boris Kodelja , 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Boris Kodelja , 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Podjetje" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Odvisni stroški dobave zaloge" diff --git a/i18n/sr.po b/i18n/sr.po new file mode 100644 index 0000000..3dff6de --- /dev/null +++ b/i18n/sr.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# コフスタジオ, 2024 +# Milan Bojovic , 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Milan Bojovic , 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Kompanija" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Stock Landed Cost" diff --git a/i18n/stock_landed_costs_company.pot b/i18n/stock_landed_costs_company.pot new file mode 100644 index 0000000..6efa3b1 --- /dev/null +++ b/i18n/stock_landed_costs_company.pot @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-25 07:53+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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "" diff --git a/i18n/sv.po b/i18n/sv.po new file mode 100644 index 0000000..9e9361d --- /dev/null +++ b/i18n/sv.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Simon S, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Simon S, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Bolag" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Lager landed cost" diff --git a/i18n/th.po b/i18n/th.po new file mode 100644 index 0000000..6add305 --- /dev/null +++ b/i18n/th.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "บริษัท" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "ต้นทุนแฝงสต๊อก" diff --git a/i18n/tr.po b/i18n/tr.po new file mode 100644 index 0000000..7fbd746 --- /dev/null +++ b/i18n/tr.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Murat Kaplan , 2024 +# Levent Karakaş , 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Levent Karakaş , 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Şirket" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Stok Maliyet Yükleme" diff --git a/i18n/uk.po b/i18n/uk.po new file mode 100644 index 0000000..23a2fa1 --- /dev/null +++ b/i18n/uk.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Компанія" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Додаткові витрати запасів" diff --git a/i18n/vi.po b/i18n/vi.po new file mode 100644 index 0000000..a1da770 --- /dev/null +++ b/i18n/vi.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "Công ty" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "Chi phí nhập kho" diff --git a/i18n/zh_CN.po b/i18n/zh_CN.po new file mode 100644 index 0000000..d2a2b1c --- /dev/null +++ b/i18n/zh_CN.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "公司" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "库存到岸成本" diff --git a/i18n/zh_TW.po b/i18n/zh_TW.po new file mode 100644 index 0000000..c980a34 --- /dev/null +++ b/i18n/zh_TW.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_landed_costs_company +# +# Translators: +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-25 07:53+0000\n" +"PO-Revision-Date: 2024-01-27 23:00+0000\n" +"Last-Translator: Wil Odoo, 2024\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: stock_landed_costs_company +#: model:ir.model.fields,field_description:stock_landed_costs_company.field_stock_landed_cost__company_id +msgid "Company" +msgstr "公司" + +#. module: stock_landed_costs_company +#: model:ir.model,name:stock_landed_costs_company.model_stock_landed_cost +msgid "Stock Landed Cost" +msgstr "庫存到岸成本" diff --git a/models/__init__.py b/models/__init__.py new file mode 100644 index 0000000..cc40834 --- /dev/null +++ b/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import stock_landed_cost diff --git a/models/stock_landed_cost.py b/models/stock_landed_cost.py new file mode 100644 index 0000000..bf438a8 --- /dev/null +++ b/models/stock_landed_cost.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import fields, models + + +class StockLandedCost(models.Model): + _inherit = 'stock.landed.cost' + + company_id = fields.Many2one('res.company', 'Company', required=True, related=False, default=lambda self: self.env.company) diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..a737746 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import test_stock_landed_costs_branches diff --git a/tests/test_stock_landed_costs_branches.py b/tests/test_stock_landed_costs_branches.py new file mode 100644 index 0000000..42b07e0 --- /dev/null +++ b/tests/test_stock_landed_costs_branches.py @@ -0,0 +1,103 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo.addons.stock_landed_costs.tests.test_stockvaluationlayer import TestStockValuationLCCommon +from odoo.tests import tagged, Form + + +@tagged('post_install', '-at_install') +class TestStockLandedCostsBranches(TestStockValuationLCCommon): + + @classmethod + def setUpClass(cls, chart_template_ref=None): + super().setUpClass(chart_template_ref=chart_template_ref) + + cls.company = cls.env.company + cls.branch = cls.env['res.company'].create({ + 'name': 'Branch', + 'parent_id': cls.company.id, + }) + cls.env['account.chart.template'].try_loading(cls.company.chart_template, company=cls.branch, install_demo=False) + cls.env.user.company_id = cls.branch + + cls.vendor1 = cls.env['res.partner'].create({'name': 'vendor1'}) + + cls.product1.categ_id.property_cost_method = 'fifo' + + def test_create_lc_from_branch(self): + """ + From a company's branch, create a LC and ensure it impacts the SVL + """ + warehouse = self.env['stock.warehouse'].search([('company_id', '=', self.branch.id)], limit=1) + supplier_location = self.env.ref('stock.stock_location_suppliers') + + receipt = self.env['stock.picking'].create({ + 'location_id': supplier_location.id, + 'location_dest_id': warehouse.lot_stock_id.id, + 'picking_type_id': warehouse.in_type_id.id, + 'move_ids': [(0, 0, { + 'name': self.product1.name, + 'location_id': supplier_location.id, + 'location_dest_id': warehouse.lot_stock_id.id, + 'picking_type_id': warehouse.in_type_id.id, + 'product_id': self.product1.id, + 'product_uom_qty': 1, + 'product_uom': self.product1.uom_id.id, + 'price_unit': 10, + })], + }) + receipt.action_confirm() + receipt.action_assign() + receipt.move_line_ids.quantity = 1 + receipt.button_validate() + + lc_form = Form(self.env['stock.landed.cost']) + lc_form.picking_ids.add(receipt) + with lc_form.cost_lines.new() as cost_line: + cost_line.product_id = self.productlc1 + cost_line.price_unit = 5 + lc = lc_form.save() + lc.compute_landed_cost() + lc.button_validate() + + self.assertEqual(self.product1.value_svl, 15) + self.assertEqual(self.product1.quantity_svl, 1) + self.assertEqual(self.product1.standard_price, 15) + + def test_lc_generated_from_bill(self): + """ + Confirm PO, receive products, post bill and generate LC + """ + po_form = Form(self.env['purchase.order']) + po_form.partner_id = self.vendor1 + with po_form.order_line.new() as po_line: + po_line.product_id = self.product1 + po_line.product_qty = 1 + po_line.price_unit = 10 + po_line.taxes_id.clear() + po = po_form.save() + po.button_confirm() + + receipt = po.picking_ids + receipt.move_line_ids.quantity = 1 + receipt.button_validate() + + action = po.action_create_invoice() + bill = self.env['account.move'].browse(action['res_id']) + bill_form = Form(bill) + bill_form.invoice_date = bill_form.date + with bill_form.invoice_line_ids.new() as inv_line: + inv_line.product_id = self.productlc1 + inv_line.price_unit = 5 + bill = bill_form.save() + bill.action_post() + + action = bill.button_create_landed_costs() + lc_form = Form(self.env[action['res_model']].browse(action['res_id'])) + lc_form.picking_ids.add(receipt) + lc = lc_form.save() + lc.button_validate() + + self.assertEqual(self.product1.value_svl, 15) + self.assertEqual(self.product1.quantity_svl, 1) + self.assertEqual(self.product1.standard_price, 15)