diff --git a/commission_formula_oca/README.rst b/commission_formula_oca/README.rst new file mode 100644 index 000000000..fe004bfef --- /dev/null +++ b/commission_formula_oca/README.rst @@ -0,0 +1,99 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +====================== +Commission Formula OCA +====================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:a9e63a8cf3e0058bb5db7b36d09cc4ff0b59f7b332eba9b9253689fa2b0b06d0 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcommission-lightgray.png?logo=github + :target: https://github.com/OCA/commission/tree/19.0/commission_formula_oca + :alt: OCA/commission +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/commission-19-0/commission-19-0-commission_formula_oca + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/commission&target_branch=19.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module extends commission to introduce the use of formulas to +compute the agent commissions. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +- Go to Commission > Configuration > Commission Types, and create a + commission with type formula + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Abstract + +Contributors +------------ + +- Davide Corio +- Nicola Malcontenti +- Duc, Dao Dong + (https://komit-consulting.com) +- `NextERP Romania `__: + + - Fekete Mihai + +- `Sygel `__: + + - Alberto Martínez + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/commission `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/commission_formula_oca/__init__.py b/commission_formula_oca/__init__.py new file mode 100644 index 000000000..37698c83c --- /dev/null +++ b/commission_formula_oca/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2016 Nicola Malcontenti - Agile Business Group +# Copyright 2016 Davide Corio - Abstract +# License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0.html + +from . import models diff --git a/commission_formula_oca/__manifest__.py b/commission_formula_oca/__manifest__.py new file mode 100644 index 000000000..0284bc4b3 --- /dev/null +++ b/commission_formula_oca/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2016 Nicola Malcontenti - Agile Business Group +# Copyright 2016 Davide Corio - Abstract +# Copyright 2021 Tecnativa - Pedro M. Baeza +# License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0.html +{ + "name": "Commission Formula OCA", + "version": "19.0.1.0.0", + "category": "Commission", + "license": "AGPL-3", + "summary": "Commissions computed by formulas", + "author": "Abstract,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/commission", + "depends": ["account_commission_oca"], + "data": ["views/commission_view.xml"], + "demo": ["demo/commission_demo.xml"], + "assets": { + "web.assets_backend": [ + "commission_formula_oca/static/src/css/commission_formula_oca.css", + ], + }, + "installable": True, +} diff --git a/commission_formula_oca/demo/commission_demo.xml b/commission_formula_oca/demo/commission_demo.xml new file mode 100644 index 000000000..b1d06e677 --- /dev/null +++ b/commission_formula_oca/demo/commission_demo.xml @@ -0,0 +1,24 @@ + + + + 5% + 10% extra + formula + True + if line._name == 'sale.order.line': + partial = (line.price_subtotal / 100)*5 + result = partial + (partial / 100)*10 +if line._name == 'account.move.line': + partial = (line.price_subtotal / 100)*5 + result = partial + (partial / 100)*10 + + + + + Agent 1 + True + True + 1 + 0 + + + diff --git a/commission_formula_oca/i18n/ar.po b/commission_formula_oca/i18n/ar.po new file mode 100644 index 000000000..1d8c68e18 --- /dev/null +++ b/commission_formula_oca/i18n/ar.po @@ -0,0 +1,106 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * commission_formula_oca +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: ar\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "" diff --git a/commission_formula_oca/i18n/ca.po b/commission_formula_oca/i18n/ca.po new file mode 100644 index 000000000..2bcbfedd3 --- /dev/null +++ b/commission_formula_oca/i18n/ca.po @@ -0,0 +1,148 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2024-02-13 20:34+0000\n" +"Last-Translator: \"Dept. Técnico\" \n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" +"\n" +" Utilitzi 'line' per accedir a tots els camps de la línia.\n" +" Com que els noms dels camps poden variar, hauria d'identificar\n" +" les formules per sale.order.line i per account.invoice.line.\n" +" Pot, per exemple, utilitza line._name == 'sale.order.line'\n" +" o line._name == 'account.invoice.line'.\n" +"\n" +" Utilitzi 'result'per obtenir l'import de la comissió.\n" +" " + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "Camps comuns de las línies de factura" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "Comissió" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Descompte (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Camp" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "Fórmula" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "Instruccions" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "Etiqueta" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" +"Model mixin per tenir línies d'agent de comissions en qualsevol objecta " +"heretant de aquest" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Quantitat" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "Camps comuns de la línia de comanda de venda" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" +"Selecciona el temps de ponenteja de la comissió:\n" +"* \"Ponenteja fixa\":totes les comissions es compten com un ponenteja fix. " +"Pot omplir el ponenteja en el camp \"Ponenteja fixa\".\n" +"* 'Per trams': el percentatge varia en funció dels intervals d'import. Pot " +"omplir els intervals i percentatge en l'apartat \"Definició de la tarifa\"." + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "Subtotal" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "Tipus" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Preu unitari" + +#~ msgid "discount" +#~ msgstr "Descompte" + +#~ msgid "price_subtotal" +#~ msgstr "price_subtotal" + +#~ msgid "price_unit" +#~ msgstr "price_unit" + +#~ msgid "product_uom_qty" +#~ msgstr "product_uom_qty" + +#~ msgid "quantity" +#~ msgstr "quantitat" + +#, fuzzy +#~| msgid "Instructions" +#~ msgid "By sections" +#~ msgstr "Instruccions" diff --git a/commission_formula_oca/i18n/commission_formula.pot b/commission_formula_oca/i18n/commission_formula.pot new file mode 100644 index 000000000..1f85e4f98 --- /dev/null +++ b/commission_formula_oca/i18n/commission_formula.pot @@ -0,0 +1,104 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * commission_formula +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: commission_formula +#: model_terms:ir.ui.view,arch_db:commission_formula.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula +#: model_terms:ir.ui.view,arch_db:commission_formula.commission_form +msgid "Account Move Line common fields" +msgstr "" + +#. module: commission_formula +#: model:ir.model,name:commission_formula.model_commission +msgid "Commission" +msgstr "" + +#. module: commission_formula +#: model_terms:ir.ui.view,arch_db:commission_formula.commission_form +msgid "Discount (%)" +msgstr "" + +#. module: commission_formula +#: model_terms:ir.ui.view,arch_db:commission_formula.commission_form +msgid "Field" +msgstr "" + +#. module: commission_formula +#: model:ir.model.fields,field_description:commission_formula.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula.selection__commission__commission_type__formula +msgid "Formula" +msgstr "" + +#. module: commission_formula +#: model_terms:ir.ui.view,arch_db:commission_formula.commission_form +msgid "Instructions" +msgstr "" + +#. module: commission_formula +#: model_terms:ir.ui.view,arch_db:commission_formula.commission_form +msgid "Label" +msgstr "" + +#. module: commission_formula +#: model:ir.model,name:commission_formula.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula +#: model_terms:ir.ui.view,arch_db:commission_formula.commission_form +msgid "Quantity" +msgstr "" + +#. module: commission_formula +#: model_terms:ir.ui.view,arch_db:commission_formula.commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: commission_formula +#: model:ir.model.fields,help:commission_formula.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula +#: model_terms:ir.ui.view,arch_db:commission_formula.commission_form +msgid "Subtotal" +msgstr "" + +#. module: commission_formula +#: model:ir.model.fields,field_description:commission_formula.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula +#: model_terms:ir.ui.view,arch_db:commission_formula.commission_form +msgid "Unit Price" +msgstr "" diff --git a/commission_formula_oca/i18n/commission_formula_oca.pot b/commission_formula_oca/i18n/commission_formula_oca.pot new file mode 100644 index 000000000..7e0c74a23 --- /dev/null +++ b/commission_formula_oca/i18n/commission_formula_oca.pot @@ -0,0 +1,104 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * commission_formula_oca +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "" diff --git a/commission_formula_oca/i18n/de.po b/commission_formula_oca/i18n/de.po new file mode 100644 index 000000000..971be2a14 --- /dev/null +++ b/commission_formula_oca/i18n/de.po @@ -0,0 +1,150 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2018-10-05 18:25+0000\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.1.1\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +#, fuzzy +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" +"\n" +" 'line' für Zugriff auf alle Positions-Felder verwenden.\n" +" Da Feldnamen abweichen können, sollten Sie Formeln\n" +" für sale.order.line und account.invoice.line unterscheiden.\n" +" Sie können z.B. line._name == 'sale.order.line'\n" +" oder line._name == 'account.invoice.line' verwenden.\n" +"\n" +" Nutzen Sie 'result' um den Provisionsbetrag zurück zu geben.\n" +" " + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +#, fuzzy +msgid "Account Move Line common fields" +msgstr "Allgemeine Felder der Kontenabrechnungsposition" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +#, fuzzy +msgid "Commission" +msgstr "Provision im Verkauf" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Rabatt (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Feld" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "Formel" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "Anleitungen" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "Kennzeichnung" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Menge" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "Allg. Felder der Verkaufsauftragsposition" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "Zwischensumme" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Einzelpreis" + +#~ msgid "discount" +#~ msgstr "discount" + +#~ msgid "price_subtotal" +#~ msgstr "price_subtotal" + +#~ msgid "price_unit" +#~ msgstr "price_unit" + +#~ msgid "product_uom_qty" +#~ msgstr "product_uom_qty" + +#~ msgid "quantity" +#~ msgstr "quantity" + +#, fuzzy +#~| msgid "Instructions" +#~ msgid "By sections" +#~ msgstr "Anleitungen" + +#~ msgid "account.invoice.line.agent" +#~ msgstr "account.invoice.line.agent" + +#~ msgid "sale.order.line.agent" +#~ msgstr "sale.order.line.agent" diff --git a/commission_formula_oca/i18n/el_GR.po b/commission_formula_oca/i18n/el_GR.po new file mode 100644 index 000000000..fd851049d --- /dev/null +++ b/commission_formula_oca/i18n/el_GR.po @@ -0,0 +1,112 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2017-12-14 15:14+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Έκπτωση (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "" diff --git a/commission_formula_oca/i18n/es.po b/commission_formula_oca/i18n/es.po new file mode 100644 index 000000000..0825859f5 --- /dev/null +++ b/commission_formula_oca/i18n/es.po @@ -0,0 +1,130 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +# Luis M. Ontalba , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-02-04 17:16+0000\n" +"PO-Revision-Date: 2024-05-08 17:35+0000\n" +"Last-Translator: luis-ron \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" +"\n" +" Utilice 'line' para acceder a todos los campos de la línea.\n" +" Puesto que los nombres de los campos pueden variar, debería diferenciar\n" +" las fórmulas para sale.order.line y para account.invoice.line.\n" +" Puede, por ejemplo, usar line._name == 'sale.order.line'\n" +" ó line._name == 'account.invoice.line'.\n" +"\n" +" Utilice 'result' para obtener el importe de la comisión.\n" +" " + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "Campos comunes de las líneas de factura" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "Comisión" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Descuento (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Campo" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "Fórmula" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "Instrucciones" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "Etiqueta" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" +"Modelo mixin para tener líneas de agente de comisiones en cualquier objeto " +"heredando de éste" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Cantidad" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "Campos comunes de las líneas de ordenes de venta" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" +"Seleccione el tipo de porcentaje de la comisión:\n" +"* 'Porcentaje fijo': todas las comisiones se computan con un porcentaje " +"fijo. Puede rellenar el porcentaje en el campo \"Porcentaje fijo\".\n" +"* 'Por tramos': el porcentaje varía en función de los intervalos de importe. " +"Puede rellenar los intervalos y porcentajes en el apartado \"Definición de " +"la tarifa\"." + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "Sub Total" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "Tipo" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Precio Unitario" diff --git a/commission_formula_oca/i18n/es_AR.po b/commission_formula_oca/i18n/es_AR.po new file mode 100644 index 000000000..98a8d3643 --- /dev/null +++ b/commission_formula_oca/i18n/es_AR.po @@ -0,0 +1,136 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-09-13 00:00+0000\n" +"Last-Translator: Ignacio Buioli \n" +"Language-Team: none\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" +"\n" +" Utilice 'line' para acceder a todos los campos de línea.\n" +" Como los nombres de los campos pueden variar, debe diferenciar los\n" +" fórmulas para sale.order.line y account.move.line.\n" +" Puede, por ejemplo, utilizar line._name == 'sale.order.line'\n" +" o line._name == 'account.move.line'.\n" +"\n" +" Utilice 'resultado' para devolver el monto de la comisión.\n" +" " + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "Campos comunes de la Línea de Movimiento de Cuenta" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +#, fuzzy +msgid "Commission" +msgstr "Comisión en ventas" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Descuento (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Campo" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "Fórmula" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "Instrucciones" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "Etiqueta" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" +"Modelo mixin para tener líneas de agente de comisiones en cualquier objeto " +"heredando de éste" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Cantidad" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "Campos comunes de la Línea de Orden de Venta" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "Subtotal" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "Tipo" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Precio Unitario" + +#~ msgid "discount" +#~ msgstr "discount" + +#~ msgid "price_subtotal" +#~ msgstr "price_subtotal" + +#~ msgid "price_unit" +#~ msgstr "price_unit" + +#~ msgid "product_uom_qty" +#~ msgstr "product_uom_qty" + +#~ msgid "quantity" +#~ msgstr "quantity" diff --git a/commission_formula_oca/i18n/fi.po b/commission_formula_oca/i18n/fi.po new file mode 100644 index 000000000..3c96dc8fb --- /dev/null +++ b/commission_formula_oca/i18n/fi.po @@ -0,0 +1,111 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2017-12-14 15:14+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Alennus-%" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Määrä" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "" diff --git a/commission_formula_oca/i18n/fr.po b/commission_formula_oca/i18n/fr.po new file mode 100644 index 000000000..bd9033f11 --- /dev/null +++ b/commission_formula_oca/i18n/fr.po @@ -0,0 +1,111 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2017-12-14 15:14+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Remise (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Champ" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Quantité" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "Sous-total" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Prix Unitaire" diff --git a/commission_formula_oca/i18n/it.po b/commission_formula_oca/i18n/it.po new file mode 100644 index 000000000..9556f8bdd --- /dev/null +++ b/commission_formula_oca/i18n/it.po @@ -0,0 +1,156 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2025-06-04 10:26+0000\n" +"Last-Translator: mymage \n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.10.4\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" +"\n" +" Utilizzare 'line' per accedere a tutti i campi della riga.\n" +" Dato che i nomi dei campi possono variare, è necessario differenziare\n" +" le formule per sale.order.line e account.move.line.\n" +" È possibile, ad esempio, usare line._name == 'sale.order.line'\n" +" oppure line._name == 'account.move.line'.\n" +"\n" +" Utilizzare 'result' per restituire l'importo della provvigione.\n" +" " + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "Campi comuni righe movimenti contabili" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "Provvigione" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Sconto (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Campo" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "Formula" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "Istruzioni" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "Etichetta" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" +"Modello mixin per avere righe di provvigione agente in qualsiasi oggetto che " +"erediti dall'attuale" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Quantità" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "Campi comuni righe ordini di vendita" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" +"Selezionare il tipo di percentuale della provvigione:\n" +"* 'Percentuale fissa': tutte le provvigioni sono calcolate con una " +"percentuale fissa. Si può impostare la percentuale nel campo \"Percentuale " +"fissa\".\n" +"* 'Per sezioni': la percentuale varia per intervalli dell'importo. Si può " +"impostare gli intervalli nella sezione \"Definizione provvigioni\"." + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "Subtotale" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "Tipo" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Prezzo unitario" + +#~ msgid "discount" +#~ msgstr "sconto" + +#~ msgid "price_subtotal" +#~ msgstr "price_subtotal" + +#~ msgid "price_unit" +#~ msgstr "price_unit" + +#~ msgid "product_uom_qty" +#~ msgstr "product_uom_qty" + +#~ msgid "quantity" +#~ msgstr "quantità" + +#~ msgid "By sections" +#~ msgstr "Per sezioni" + +#~ msgid "Fixed percentage" +#~ msgstr "Percentuale fissa" + +#~ msgid "account.invoice.line.agent" +#~ msgstr "account.invoice.line.agent" + +#~ msgid "sale.order.line.agent" +#~ msgstr "sale.order.line.agent" diff --git a/commission_formula_oca/i18n/pt.po b/commission_formula_oca/i18n/pt.po new file mode 100644 index 000000000..bf33a5eff --- /dev/null +++ b/commission_formula_oca/i18n/pt.po @@ -0,0 +1,123 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2019-10-16 13:32+0000\n" +"Last-Translator: Pedro Castro Silva \n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Weblate 3.8\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +#, fuzzy +msgid "Account Move Line common fields" +msgstr "Campos comuns da Linha de Fatura" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +#, fuzzy +msgid "Commission" +msgstr "Comissões nas vendas" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Desconto (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Campo" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "Fórmula" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "Instruções" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "Etiqueta" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Quantidade" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "Tipo" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Preço Unitário" + +#~ msgid "discount" +#~ msgstr "desconto" + +#~ msgid "By sections" +#~ msgstr "Por secções" + +#~ msgid "Fixed percentage" +#~ msgstr "Percentagem fixa" diff --git a/commission_formula_oca/i18n/pt_BR.po b/commission_formula_oca/i18n/pt_BR.po new file mode 100644 index 000000000..21c26d629 --- /dev/null +++ b/commission_formula_oca/i18n/pt_BR.po @@ -0,0 +1,157 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2024-07-06 20:58+0000\n" +"Last-Translator: Rodrigo Sottomaior Macedo " +"\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" +"\n" +" Use 'linha' para acessar todos os campos de linha.\n" +" Como os nomes de campo podem variar, você deve diferenciar as\n" +" fórmulas para sale.order.line e account.move.line.\n" +" Você pode, por exemplo, usar line._name == 'sale.order.line'\n" +" ou line._name == 'account.move.line'.\n" +"\n" +" Use 'resultado' para devolver o valor da comissão.\n" +" " + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "Campos comuns da linha de movimentação de conta" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "Comissão" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Desconto (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Campo" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "Fórmula" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "Instruções" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "Rótulo" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" +"Modelo de mixim para ter linhas de agente de comissão em qualquer objeto " +"herdando deste" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Quantidade" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "Campos comuns da Linha Order de Venda" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" +"Selecione o tipo de porcentagem da comissão:\n" +"* 'Percentagem fixa': todas as comissões são calculadas com uma percentagem " +"fixa. Você pode preencher o percentual no campo “Porcentagem fixa”.\n" +"* 'Por seções': o percentual varia dependendo dos intervalos de valores. " +"Você pode preencher intervalos e porcentagens na seção “Definição de taxas”." + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "Subtotal" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "Tipo" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Preço Unitário" + +#~ msgid "discount" +#~ msgstr "desconto" + +#~ msgid "price_subtotal" +#~ msgstr "price_subtotal" + +#~ msgid "price_unit" +#~ msgstr "price_unit" + +#~ msgid "product_uom_qty" +#~ msgstr "product_uom_qty" + +#~ msgid "quantity" +#~ msgstr "quantidade" + +#~ msgid "By sections" +#~ msgstr "Por Seções" + +#~ msgid "Fixed percentage" +#~ msgstr "Percentual fixo" + +#~ msgid "account.invoice.line.agent" +#~ msgstr "account.invoice.line.agent" + +#~ msgid "sale.order.line.agent" +#~ msgstr "sale.order.line.agent" diff --git a/commission_formula_oca/i18n/pt_PT.po b/commission_formula_oca/i18n/pt_PT.po new file mode 100644 index 000000000..b456d6a79 --- /dev/null +++ b/commission_formula_oca/i18n/pt_PT.po @@ -0,0 +1,112 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2017-12-14 15:14+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Desconto (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "" diff --git a/commission_formula_oca/i18n/ru.po b/commission_formula_oca/i18n/ru.po new file mode 100644 index 000000000..b739bbe6e --- /dev/null +++ b/commission_formula_oca/i18n/ru.po @@ -0,0 +1,113 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2017-12-14 15:14+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " +"(n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Поле" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "" diff --git a/commission_formula_oca/i18n/sale_commission_formula.pot b/commission_formula_oca/i18n/sale_commission_formula.pot new file mode 100644 index 000000000..79b858a86 --- /dev/null +++ b/commission_formula_oca/i18n/sale_commission_formula.pot @@ -0,0 +1,114 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_commission_formula +#: model_terms:ir.ui.view,arch_db:sale_commission_formula.sale_commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: sale_commission_formula +#: model_terms:ir.ui.view,arch_db:sale_commission_formula.sale_commission_form +msgid "Account Move Line common fields" +msgstr "" + +#. module: sale_commission_formula +#: model:ir.model,name:sale_commission_formula.model_sale_commission +msgid "Commission in sales" +msgstr "" + +#. module: sale_commission_formula +#: model_terms:ir.ui.view,arch_db:sale_commission_formula.sale_commission_form +msgid "Discount (%)" +msgstr "" + +#. module: sale_commission_formula +#: model:ir.model.fields,field_description:sale_commission_formula.field_sale_commission__display_name +#: model:ir.model.fields,field_description:sale_commission_formula.field_sale_commission_line_mixin__display_name +msgid "Display Name" +msgstr "" + +#. module: sale_commission_formula +#: model_terms:ir.ui.view,arch_db:sale_commission_formula.sale_commission_form +msgid "Field" +msgstr "" + +#. module: sale_commission_formula +#: model:ir.model.fields,field_description:sale_commission_formula.field_sale_commission__formula +#: model:ir.model.fields.selection,name:sale_commission_formula.selection__sale_commission__commission_type__formula +msgid "Formula" +msgstr "" + +#. module: sale_commission_formula +#: model:ir.model.fields,field_description:sale_commission_formula.field_sale_commission__id +#: model:ir.model.fields,field_description:sale_commission_formula.field_sale_commission_line_mixin__id +msgid "ID" +msgstr "" + +#. module: sale_commission_formula +#: model_terms:ir.ui.view,arch_db:sale_commission_formula.sale_commission_form +msgid "Instructions" +msgstr "" + +#. module: sale_commission_formula +#: model_terms:ir.ui.view,arch_db:sale_commission_formula.sale_commission_form +msgid "Label" +msgstr "" + +#. module: sale_commission_formula +#: model:ir.model.fields,field_description:sale_commission_formula.field_sale_commission____last_update +#: model:ir.model.fields,field_description:sale_commission_formula.field_sale_commission_line_mixin____last_update +msgid "Last Modified on" +msgstr "" + +#. module: sale_commission_formula +#: model:ir.model,name:sale_commission_formula.model_sale_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: sale_commission_formula +#: model_terms:ir.ui.view,arch_db:sale_commission_formula.sale_commission_form +msgid "Quantity" +msgstr "" + +#. module: sale_commission_formula +#: model_terms:ir.ui.view,arch_db:sale_commission_formula.sale_commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: sale_commission_formula +#: model_terms:ir.ui.view,arch_db:sale_commission_formula.sale_commission_form +msgid "Subtotal" +msgstr "" + +#. module: sale_commission_formula +#: model:ir.model.fields,field_description:sale_commission_formula.field_sale_commission__commission_type +msgid "Type" +msgstr "" + +#. module: sale_commission_formula +#: model_terms:ir.ui.view,arch_db:sale_commission_formula.sale_commission_form +msgid "Unit Price" +msgstr "" diff --git a/commission_formula_oca/i18n/sl.po b/commission_formula_oca/i18n/sl.po new file mode 100644 index 000000000..b70b49037 --- /dev/null +++ b/commission_formula_oca/i18n/sl.po @@ -0,0 +1,134 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2017-12-14 15:14+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " +"n%100==4 ? 2 : 3);\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +#, fuzzy +msgid "Account Move Line common fields" +msgstr "Pogosta polja postavk računa" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +#, fuzzy +msgid "Commission" +msgstr "Provizije pri prodaji" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "Popust (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Polje" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "Formula" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "Navodila" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "Oznaka" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Količina" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "Pogosta polja postavk prodajnega naloga" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "Vmesni seštevek" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Cena enote" + +#~ msgid "discount" +#~ msgstr "discount" + +#~ msgid "price_subtotal" +#~ msgstr "price_subtotal" + +#~ msgid "price_unit" +#~ msgstr "price_unit" + +#~ msgid "product_uom_qty" +#~ msgstr "product_uom_qty" + +#~ msgid "quantity" +#~ msgstr "quantity" + +#, fuzzy +#~| msgid "Instructions" +#~ msgid "By sections" +#~ msgstr "Navodila" diff --git a/commission_formula_oca/i18n/tr.po b/commission_formula_oca/i18n/tr.po new file mode 100644 index 000000000..8434cd1d3 --- /dev/null +++ b/commission_formula_oca/i18n/tr.po @@ -0,0 +1,119 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2024-08-26 11:06+0000\n" +"Last-Translator: Metin GÜLSOY \n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "Hesap taşıma hattı ortak alanları" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "Komisyon" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "İndirim (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "Alan" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "Alan" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "Talimatlar" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "Etiket" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" +"Bunu kullanan herhangi bir nesnede komisyon temsilcisi satırlarına sahip \n" +"olmak için mixin modeli" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Miktar" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "Satış Sipariş Satırı Ortak Alanları" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" +"Komisyonun oran tipini seçin:\\n\n" +"* 'Sabit Oran': Tüm komisyonlar sabit oranla hesaplanır. Oranı \\\"Sabit " +"oran\\ alanına girebilirsiniz.\\\".\\n\n" +"* 'Bölümlere göre': Oran miktar aralıklarına bağlı olarak değişir. Miktar " +"aralıklarını ve oranları \\\"Oran tanımı\\\" alanına girebilirsiniz ." + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "Ara toplam" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "Tür" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Birim Fiyatı" diff --git a/commission_formula_oca/i18n/tr_TR.po b/commission_formula_oca/i18n/tr_TR.po new file mode 100644 index 000000000..6e8da8131 --- /dev/null +++ b/commission_formula_oca/i18n/tr_TR.po @@ -0,0 +1,112 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2017-12-14 15:14+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Account Move Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +msgid "Commission" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "İndirim (%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "Miktar" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "Birim fiyat" diff --git a/commission_formula_oca/i18n/zh_CN.po b/commission_formula_oca/i18n/zh_CN.po new file mode 100644 index 000000000..63ce35f1a --- /dev/null +++ b/commission_formula_oca/i18n/zh_CN.po @@ -0,0 +1,146 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_commission_formula +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-14 15:14+0000\n" +"PO-Revision-Date: 2019-09-18 17:02+0000\n" +"Last-Translator: 黎伟杰 <674416404@qq.com>\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 3.8\n" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +#, fuzzy +msgid "" +"\n" +" Use 'line' to access all the line fields.\n" +" As field names may vary, you should differentiate the\n" +" formulas for sale.order.line and account.move.line.\n" +" You can, for instance, use line._name == 'sale.order.line'\n" +" or line._name == 'account.move.line'.\n" +"\n" +" Use 'result' to return the commission amount.\n" +" " +msgstr "" +"\n" +" 使用“line”访问所有行字段。\n" +" 由于字段名称可能会有所不同,您应区分\n" +" sale.order.line and account.invoice.line。\n" +" 例如,您可以使用 line._name == 'sale.order.line'\n" +" or line._name == 'account.invoice.line'。\n" +"\n" +" 使用'result'返回佣金金额。\n" +" " + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +#, fuzzy +msgid "Account Move Line common fields" +msgstr "帐户发票行常用字段" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission +#, fuzzy +msgid "Commission" +msgstr "销售佣金" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Discount (%)" +msgstr "折扣(%)" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Field" +msgstr "字段" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__formula +#: model:ir.model.fields.selection,name:commission_formula_oca.selection__commission__commission_type__formula +msgid "Formula" +msgstr "公式" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Instructions" +msgstr "说明" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Label" +msgstr "标签" + +#. module: commission_formula_oca +#: model:ir.model,name:commission_formula_oca.model_commission_line_mixin +msgid "" +"Mixin model for having commission agent lines in any object inheriting from " +"this one" +msgstr "Mixin模型,用于在从此继承的任何对象中具有佣金代理行" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Quantity" +msgstr "数量" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Sale Oder Line common fields" +msgstr "销售订单行公用字段" + +#. module: commission_formula_oca +#: model:ir.model.fields,help:commission_formula_oca.field_commission__commission_type +msgid "" +"Select the percentage type of the commission:\n" +"* 'Fixed percentage': all commissions are computed with a fixed percentage. " +"You can fill the percentage in the field \"Fixed percentage\".\n" +"* 'By sections': percentage varies depending amount intervals. You can fill " +"intervals and percentages in the section \"Rate definition\"." +msgstr "" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Subtotal" +msgstr "小计" + +#. module: commission_formula_oca +#: model:ir.model.fields,field_description:commission_formula_oca.field_commission__commission_type +msgid "Type" +msgstr "类型" + +#. module: commission_formula_oca +#: model_terms:ir.ui.view,arch_db:commission_formula_oca.commission_form +msgid "Unit Price" +msgstr "单价" + +#~ msgid "discount" +#~ msgstr "discount" + +#~ msgid "price_subtotal" +#~ msgstr "price_subtotal" + +#~ msgid "price_unit" +#~ msgstr "price_unit" + +#~ msgid "product_uom_qty" +#~ msgstr "product_uom_qty" + +#~ msgid "quantity" +#~ msgstr "quantity" + +#~ msgid "By sections" +#~ msgstr "按阶梯" + +#~ msgid "Fixed percentage" +#~ msgstr "固定百分比" diff --git a/commission_formula_oca/models/__init__.py b/commission_formula_oca/models/__init__.py new file mode 100644 index 000000000..0f3d712c0 --- /dev/null +++ b/commission_formula_oca/models/__init__.py @@ -0,0 +1,6 @@ +# Copyright 2016 Nicola Malcontenti - Agile Business Group +# Copyright 2016 Davide Corio - Abstract +# License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0.html + +from . import commission +from . import commission_mixin diff --git a/commission_formula_oca/models/commission.py b/commission_formula_oca/models/commission.py new file mode 100644 index 000000000..01d6c5b48 --- /dev/null +++ b/commission_formula_oca/models/commission.py @@ -0,0 +1,19 @@ +# Copyright 2016 Nicola Malcontenti - Agile Business Group +# Copyright 2016 Davide Corio - Abstract +# License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0.html + +from odoo import fields, models + + +class Commission(models.Model): + _inherit = "commission" + + commission_type = fields.Selection( + selection_add=[("formula", "Formula")], ondelete={"formula": "set default"} + ) + formula = fields.Text( + default="if line._name == 'sale.order.line':\n" + " result = 0\n" + "if line._name == 'account.move.line':\n" + " result = 0\n", + ) diff --git a/commission_formula_oca/models/commission_mixin.py b/commission_formula_oca/models/commission_mixin.py new file mode 100644 index 000000000..406149d0c --- /dev/null +++ b/commission_formula_oca/models/commission_mixin.py @@ -0,0 +1,34 @@ +# Copyright 2016 Nicola Malcontenti - Agile Business Group +# Copyright 2016 Davide Corio - Abstract +# Copyright 2018 Tecnativa - Pedro M. Baeza +# License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0.html + +from odoo import api, models +from odoo.tools.safe_eval import safe_eval + + +class CommissionLineMixin(models.AbstractModel): + _inherit = "commission.line.mixin" + + @api.model + def _get_formula_input_dict(self): + return { + "line": self.object_id, + "self": self, + } + + def _get_commission_amount(self, commission, subtotal, product, quantity): + """Get the commission amount for the data given. To be called by + compute methods of children models. + """ + self.ensure_one() + if ( + not product.commission_free + and commission + and commission.commission_type == "formula" + ): + formula = commission.formula + results = self._get_formula_input_dict() + safe_eval(formula, results, mode="exec") + return float(results["result"]) + return super()._get_commission_amount(commission, subtotal, product, quantity) diff --git a/commission_formula_oca/pyproject.toml b/commission_formula_oca/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/commission_formula_oca/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/commission_formula_oca/readme/CONTRIBUTORS.md b/commission_formula_oca/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..87f64516b --- /dev/null +++ b/commission_formula_oca/readme/CONTRIBUTORS.md @@ -0,0 +1,8 @@ +- Davide Corio \<\> +- Nicola Malcontenti \<\> +- Duc, Dao Dong \<\> + () +- [NextERP Romania](https://www.nexterp.ro): + - Fekete Mihai \<\> +- [Sygel](https://www.sygel.es): + - Alberto Martínez \<\> diff --git a/commission_formula_oca/readme/DESCRIPTION.md b/commission_formula_oca/readme/DESCRIPTION.md new file mode 100644 index 000000000..804df1178 --- /dev/null +++ b/commission_formula_oca/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This module extends commission to introduce the use of formulas to +compute the agent commissions. diff --git a/commission_formula_oca/readme/USAGE.md b/commission_formula_oca/readme/USAGE.md new file mode 100644 index 000000000..a81a6bfb7 --- /dev/null +++ b/commission_formula_oca/readme/USAGE.md @@ -0,0 +1,4 @@ +To use this module, you need to: + +- Go to Commission \> Configuration \> Commission Types, and create a + commission with type formula diff --git a/commission_formula_oca/static/description/icon.png b/commission_formula_oca/static/description/icon.png new file mode 100644 index 000000000..32ba8951e Binary files /dev/null and b/commission_formula_oca/static/description/icon.png differ diff --git a/commission_formula_oca/static/description/icon.svg b/commission_formula_oca/static/description/icon.svg new file mode 100644 index 000000000..321ef28c4 --- /dev/null +++ b/commission_formula_oca/static/description/icon.svg @@ -0,0 +1,3225 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + Pile of Golden Coins + 2010-04-09T03:27:45 + A pile of hypothetical golden coins, drawn in Inkscape. + https://openclipart.org/detail/43969/pile-of-golden-coins-by-j_alves + + + J_Alves + + + + + coin + currency + gold + money + thaler + + + + + + + + + + + diff --git a/commission_formula_oca/static/description/index.html b/commission_formula_oca/static/description/index.html new file mode 100644 index 000000000..926bace53 --- /dev/null +++ b/commission_formula_oca/static/description/index.html @@ -0,0 +1,450 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Commission Formula OCA

+ +

Beta License: AGPL-3 OCA/commission Translate me on Weblate Try me on Runboat

+

This module extends commission to introduce the use of formulas to +compute the agent commissions.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  • Go to Commission > Configuration > Commission Types, and create a +commission with type formula
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Abstract
  • +
+
+ +
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/commission project on GitHub.

+

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

+
+
+
+
+ + diff --git a/commission_formula_oca/static/src/css/commission_formula_oca.css b/commission_formula_oca/static/src/css/commission_formula_oca.css new file mode 100644 index 000000000..5513285b2 --- /dev/null +++ b/commission_formula_oca/static/src/css/commission_formula_oca.css @@ -0,0 +1,12 @@ +.fields-table { + margin-top: 20px; + margin-bottom: 20px; +} +.fields-table * td { + width: 200px; +} +.instructions { + white-space: pre-wrap; + margin-top: 10px; + margin-bottom: 10px; +} diff --git a/commission_formula_oca/tests/__init__.py b/commission_formula_oca/tests/__init__.py new file mode 100644 index 000000000..ee6fa79ac --- /dev/null +++ b/commission_formula_oca/tests/__init__.py @@ -0,0 +1,4 @@ +# Copyright 2026 Zhintek - Juan C. Bonilla +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_commission_formula diff --git a/commission_formula_oca/tests/test_commission_formula.py b/commission_formula_oca/tests/test_commission_formula.py new file mode 100644 index 000000000..2e752558a --- /dev/null +++ b/commission_formula_oca/tests/test_commission_formula.py @@ -0,0 +1,51 @@ +# Copyright 2026 Zhintek - Juan C. Bonilla +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.tests import tagged + +from odoo.addons.account_commission_oca.tests.test_account_commission import ( + TestAccountCommission, +) + + +@tagged("post_install", "-at_install") +class TestCommissionFormula(TestAccountCommission): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.commission_formula = cls.commission_model.create( + { + "name": "Formula commission for tests", + "commission_type": "formula", + "formula": ( + "result = 0\n" + "if self.object_id == line:\n" + " result = line.price_subtotal * 0.05\n" + ), + } + ) + + def test_get_commission_amount_uses_formula_context(self): + invoice = self._create_invoice(self.agent_monthly, self.commission_formula) + line_agent = invoice.invoice_line_ids.agent_ids + + line_agent._compute_amount() + + expected = self.product.list_price * 0.05 + self.assertAlmostEqual(line_agent.amount, expected) + + def test_get_commission_amount_skips_formula_for_commission_free_product(self): + self.product.commission_free = True + commission = self.commission_model.create( + { + "name": "Formula commission skipped for free products", + "commission_type": "formula", + "formula": "result = 100.0", + } + ) + invoice = self._create_invoice(self.agent_monthly, commission) + line_agent = invoice.invoice_line_ids.agent_ids + + line_agent._compute_amount() + + self.assertAlmostEqual(line_agent.amount, 0.0) diff --git a/commission_formula_oca/views/commission_view.xml b/commission_formula_oca/views/commission_view.xml new file mode 100644 index 000000000..b4220d7bb --- /dev/null +++ b/commission_formula_oca/views/commission_view.xml @@ -0,0 +1,83 @@ + + + + commission.form.inherit + commission + + + + + + + + +

Instructions

+ + Use 'line' to access all the line fields. + As field names may vary, you should differentiate the + formulas for sale.order.line and account.move.line. + You can, for instance, use line._name == 'sale.order.line' + or line._name == 'account.move.line'. + + Use 'result' to return the commission amount. + +

Sale Oder Line common fields

+ + + + + + + + + + + + + + + + + + + + + + + +
FieldLabel
discountDiscount (%)
price_subtotalSubtotal
price_unitUnit Price
product_uom_qtyQuantity
+

Account Move Line common fields

+ + + + + + + + + + + + + + + + + + + + + + + +
FieldLabel
discountDiscount (%)
price_subtotalSubtotal
price_unitUnit Price
quantityQuantity
+
+
+
+
+
+