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

This commit is contained in:
parent 4e743b6da8
commit 187ce1888b
43 changed files with 1436 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

12
__manifest__.py Normal file
View File

@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Sales Expense Margin',
'version': '1.0',
'category': 'Sales/Sales',
'description': 'When re-invoicing the expense on the SO, set the cost to the total untaxed amount of the expense.',
'depends': ['sale_expense', 'sale_margin'],
'installable': True,
'auto_install': True,
'license': 'LGPL-3',
}

35
i18n/ar.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "النفقة "
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "عنصر اليومية"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "بند أمر المبيعات"

37
i18n/bg.po Normal file
View File

@ -0,0 +1,37 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# KeyVillage, 2023
# aleksandar ivanov, 2023
# Maria Boyadjieva <marabo2000@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: Maria Boyadjieva <marabo2000@gmail.com>, 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Разход"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Счетоводна Операция"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Ред на поръчка за продажби"

36
i18n/ca.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Josep Anton Belchi, 2023
# Manel Fernandez Ramirez <manelfera@outlook.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: Manel Fernandez Ramirez <manelfera@outlook.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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Despesa"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Apunt comptable"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línia comanda de venda"

36
i18n/cs.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Ivana Bartonkova, 2023
# Jakub Smolka, 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: Jakub Smolka, 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Výdaj"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Účetní položka"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Položka prodejní objednávky"

35
i18n/da.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Omkostning"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Journalpost"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Salgsordrelinje"

35
i18n/de.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Ausgabe"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Buchungszeile"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Verkaufsauftragszeile"

36
i18n/es.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Gasto"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Apunte contable"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línea de orden de venta"

35
i18n/es_419.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Gasto"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Apunte contable"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línea de la orden de venta"

36
i18n/et.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Martin Trigaux, 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Kulu"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Andmiku kanderida"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Müügitellimuse rida"

37
i18n/fa.po Normal file
View File

@ -0,0 +1,37 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Martin Trigaux, 2023
# Yousef Shadmanesh <y.shadmanesh@gmail.com>, 2023
# Hamid Darabi, 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: Hamid Darabi, 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "هزینه"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "آیتم دفترروزنامه"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "سطر سفارش‌فروش"

36
i18n/fi.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>, 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Kulu"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Päiväkirjatapahtuma"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Myyntitilausrivi"

35
i18n/fr.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Notes de frais"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Écriture comptable"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Ligne de commande"

36
i18n/he.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# NoaFarkash, 2023
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "מאשר הוצאות"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "תנועת יומן"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "שורת הזמנת לקוח"

36
i18n/hu.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# gezza <geza.nagy@oregional.hu>, 2023
# Gergő Kertész <gergo.kertesz@maxflow.hu>, 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: Gergő Kertész <gergo.kertesz@maxflow.hu>, 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Ráfordítás"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Napló tétel"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Vevői megrendelés sor"

35
i18n/id.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Pengeluaran"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Item Jurnal"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Baris Pesanan Penjualan"

35
i18n/it.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Spesa"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Movimento contabile"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Riga ordine di vendita"

35
i18n/ja.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "費用"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "仕訳項目"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "販売オーダ明細"

35
i18n/ko.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "경비"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "전표 항목"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "판매 주문 내역"

37
i18n/lt.po Normal file
View File

@ -0,0 +1,37 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Jonas Zinkevicius <jozi@odoo.com>, 2023
# Linas Versada <linaskrisiukenas@gmail.com>, 2023
# 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: 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Išlaida"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Žurnalo įrašas"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Pardavimo užsakymo eilutė"

36
i18n/lv.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Martin Trigaux, 2023
# Will Sensors, 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: Will Sensors, 2023\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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Avansa Norēķini"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Kontējums"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Pārdošanas pasūtījuma rinda"

35
i18n/nl.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Declaratie"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Boekingsregel"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Verkooporderregel"

35
i18n/pl.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Wydatek"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Pozycja zapisu"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Pozycja zamówienia sprzedaży"

35
i18n/pt.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Despesa"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Item do Diário"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Linhas da Ordem de Vendas"

35
i18n/pt_BR.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Despesa"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Item do diário"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Linha do pedido de venda"

37
i18n/ru.po Normal file
View File

@ -0,0 +1,37 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Martin Trigaux, 2023
# Сергей Шебанин <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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Расход"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Наименование в журнале"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Позиция заказа на продажу"

View File

@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr ""
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr ""
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

35
i18n/sk.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Výdavky"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Položka účtovnej knihy"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Položka objednávok"

37
i18n/sl.po Normal file
View File

@ -0,0 +1,37 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Martin Trigaux, 2023
# Matjaz Mozetic <m.mozetic@matmoz.si>, 2023
# Tomaž Jug <tomaz@editor.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: Tomaž Jug <tomaz@editor.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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Strošek"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Postavka"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Postavka naročila"

36
i18n/sr.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Milan Bojovic, 2023
# Dragan Vukosavljevic <dragan.vukosavljevic@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: Dragan Vukosavljevic <dragan.vukosavljevic@gmail.com>, 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Rashod"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Stavka izveštaja"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Linija porudžbenice"

36
i18n/sv.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Anders Wallenquist <anders.wallenquist@vertel.se>, 2023
# 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: 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Utlägg"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Transaktion"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Orderrad"

35
i18n/th.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "รายจ่าย"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "รายการสมุดรายวัน"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "รายการคำสั่งขาย"

37
i18n/tr.po Normal file
View File

@ -0,0 +1,37 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Ertuğrul Güreş <ertugrulg@projetgrup.com>, 2023
# Özlem Atalay <ozlema@eskayazilim.com.tr>, 2023
# Ediz Duman <neps1192@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: Ediz Duman <neps1192@gmail.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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Masraf"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Yevmiye Kalemi"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Satış Sipariş Satırı"

36
i18n/uk.po Normal file
View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# Translators:
# Alina Lisnenko <alina.lisnenko@erp.co.ua>, 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Витрати"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Елемент журналу"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Рядок замовлення"

35
i18n/vi.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "Chi phí"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "Hạng mục bút toán"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "Dòng đơn bán hàng"

35
i18n/zh_CN.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "费用"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "日记账项目"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "销售订单行"

35
i18n/zh_TW.po Normal file
View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_expense_margin
#
# 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: sale_expense_margin
#: model:ir.model.fields,field_description:sale_expense_margin.field_sale_order_line__expense_id
msgid "Expense"
msgstr "費用"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_account_move_line
msgid "Journal Item"
msgstr "日記賬項目"
#. module: sale_expense_margin
#: model:ir.model,name:sale_expense_margin.model_sale_order_line
msgid "Sales Order Line"
msgstr "銷售訂單資料行"

5
models/__init__.py Normal file
View File

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

View File

@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
class AccountMoveLine(models.Model):
_inherit = 'account.move.line'
def _sale_prepare_sale_line_values(self, order, price):
res = super()._sale_prepare_sale_line_values(order, price)
if self.expense_id:
res['expense_id'] = self.expense_id.id
return res

18
models/sale_order_line.py Normal file
View File

@ -0,0 +1,18 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, models, fields
class SaleOrderLine(models.Model):
_inherit = "sale.order.line"
expense_id = fields.Many2one('hr.expense', string='Expense')
@api.depends('is_expense')
def _compute_purchase_price(self):
expense_lines = self.filtered('expense_id')
for line in expense_lines:
expense = line.expense_id
product_cost = expense.untaxed_amount_currency / (expense.quantity or 1.0)
line.purchase_price = line._convert_to_sol_currency(product_cost, expense.currency_id)
return super(SaleOrderLine, self - expense_lines)._compute_purchase_price()

4
tests/__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 test_so_expense_purchase_price

View File

@ -0,0 +1,100 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import Command
from odoo.addons.hr_expense.tests.common import TestExpenseCommon
from odoo.tests import tagged
@tagged('-at_install', 'post_install')
class TestExpenseMargin(TestExpenseCommon):
def test_expense_reinvoice_purchase_price(self):
# re-invoiceable products
product_with_cost = self.product_a
product_with_cost.write({'standard_price': 1000, 'expense_policy': 'sales_price'})
product_with_no_cost = self.product_c
product_with_no_cost.write({'expense_policy': 'sales_price'})
# create SO line and confirm SO (with only one line)
sale_order = self.env['sale.order'].with_context(mail_notrack=True, mail_create_nolog=True).create({
'partner_id': self.partner_a.id,
'partner_invoice_id': self.partner_a.id,
'partner_shipping_id': self.partner_a.id,
'order_line': [Command.create({
'name': product_with_cost.name,
'product_id': product_with_cost.id,
'product_uom_qty': 2.0,
})],
})
sale_order.action_confirm()
expense_sheet = self.env['hr.expense.sheet'].create({
'name': 'First Expense for employee',
'employee_id': self.expense_employee.id,
'journal_id': self.company_data['default_journal_purchase'].id,
'accounting_date': '2020-10-12',
'expense_line_ids': [
# expense with zero cost product, with 15% tax
Command.create({
'name': 'expense_1',
'date': '2020-10-07',
'product_id': product_with_no_cost.id,
'total_amount_currency': 100,
'tax_ids': [Command.set(self.company_data['default_tax_purchase'].ids)],
'employee_id': self.expense_employee.id,
'sale_order_id': sale_order.id,
}),
# expense with zero cost product, with no tax
Command.create({
'name': 'expense_2',
'date': '2020-10-07',
'product_id': product_with_no_cost.id,
'total_amount_currency': 100,
'tax_ids': False,
'employee_id': self.expense_employee.id,
'sale_order_id': sale_order.id
}),
# expense with product with cost (1000), with 15% tax
Command.create({
'name': 'expense_3',
'date': '2020-10-07',
'product_id': product_with_cost.id,
'quantity': 3,
'tax_ids': [Command.set(self.company_data['default_tax_purchase'].ids)],
'employee_id': self.expense_employee.id,
'sale_order_id': sale_order.id
}),
# expense with product with cost (1000), with no tax
Command.create({
'name': 'expense_4',
'date': '2020-10-07',
'product_id': product_with_cost.id,
'quantity': 5,
'tax_ids': False,
'employee_id': self.expense_employee.id,
'sale_order_id': sale_order.id
}),
],
})
expense_sheet.action_approve_expense_sheets()
expense_sheet.action_sheet_move_create()
self.assertRecordValues(sale_order.order_line[1:], [
# Expense lines:
{
'purchase_price': 86.96,
'is_expense': True,
},
{
'purchase_price': 100.0,
'is_expense': True,
},
{
'purchase_price': 869.57,
'is_expense': True,
},
{
'purchase_price': 1000.0,
'is_expense': True,
},
])