Skip to content

Commit

Permalink
Merge pull request #527 from OCA/17.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/commission (17.0)
  • Loading branch information
bt-admin authored Mar 4, 2025
2 parents f9185c7 + 5b85bcb commit 11bc302
Show file tree
Hide file tree
Showing 29 changed files with 4,145 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ addon | version | maintainers | summary
[commission_formula](commission_formula/) | 17.0.1.0.0 | | Commissions computed by formulas
[hr_commission](hr_commission/) | 17.0.1.0.0 | | HR commissions
[sale_commission](sale_commission/) | 17.0.1.0.0 | [![pedrobaeza](https://github.com/pedrobaeza.png?size=30px)](https://github.com/pedrobaeza) | Sales commissions
[sale_commission_pricelist](sale_commission_pricelist/) | 17.0.1.0.0 | | Sales commissions by pricelist
[sale_commission_salesman](sale_commission_salesman/) | 17.0.1.0.1 | | Sales commissions from salesman

[//]: # (end addons)
Expand Down
106 changes: 106 additions & 0 deletions sale_commission_pricelist/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
==============================
Sales commissions by pricelist
==============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f82c68b4342d5e5a6309c07da784ed2ff004bae90c9a9a9d157f9786d0a2caf8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcommission-lightgray.png?logo=github
:target: https://github.com/OCA/commission/tree/17.0/sale_commission_pricelist
:alt: OCA/commission
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/commission-17-0/commission-17-0-sale_commission_pricelist
: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=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of sale_commission to allow you
set a commission to pricelist item.

The commission is applied when the pricelist rule is applied, that is
after changing product or quantity of sale order line.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Go to Sales -> Configuration -> Settings -> Pricing -> Sale Price,
activate: "Multiple Sales Prices per Product" and select *Prices
computed from formulas (discounts, margins, roundings)*
2. Go to Sales -> Products -> Pricelists and edit an existing one or
create a new one
3. In the pricelist -> add a new item or open a new one
4. You will find the field commission in the pricelist item

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/commission/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 <https://github.com/OCA/commission/issues/new?body=module:%20sale_commission_pricelist%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Tecnativa
* ArcheTI

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- Carlos Dauden
- Ernesto Tejeda

- Lorenzo Battistini <[email protected]>
- `NextERP Romania <https://www.nexterp.ro>`__:

- Fekete Mihai <[email protected]>

- `ArcheTI <https://www.archeti.com>`__:

- Cécile Jallais <[email protected]>

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 <https://github.com/OCA/commission/tree/17.0/sale_commission_pricelist>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions sale_commission_pricelist/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions sale_commission_pricelist/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2018 Carlos Dauden - Tecnativa <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Sales commissions by pricelist",
"version": "17.0.1.0.0",
"author": "Tecnativa, " "Odoo Community Association (OCA), " "ArcheTI",
"category": "Sales Management",
"website": "https://github.com/OCA/commission",
"license": "AGPL-3",
"depends": ["sale_commission"],
"data": ["views/product_pricelist_view.xml"],
"installable": True,
}
51 changes: 51 additions & 0 deletions sale_commission_pricelist/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_commission_pricelist
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2018-09-21 11:29+0000\n"
"Last-Translator: Rudolf Schnapka <[email protected]>\n"
"Language-Team: none\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: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__commission_id
msgid "Commission"
msgstr "Provision"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__display_name
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line__display_name
msgid "Display Name"
msgstr ""

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__id
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item____last_update
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_commission_pricelist
#: model:ir.model,name:sale_commission_pricelist.model_product_pricelist_item
#, fuzzy
msgid "Pricelist Rule"
msgstr "Preislistenposition"

#. module: sale_commission_pricelist
#: model:ir.model,name:sale_commission_pricelist.model_sale_order_line
msgid "Sales Order Line"
msgstr "Verkaufsauftragsposition"
53 changes: 53 additions & 0 deletions sale_commission_pricelist/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_commission_pricelist
#
# Translators:
# OCA Transbot <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-02 02:42+0000\n"
"PO-Revision-Date: 2023-12-13 11:29+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__commission_id
msgid "Commission"
msgstr "Comisión"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__display_name
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__id
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line__id
msgid "ID"
msgstr "ID"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item____last_update
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: sale_commission_pricelist
#: model:ir.model,name:sale_commission_pricelist.model_product_pricelist_item
msgid "Pricelist Rule"
msgstr "Elemento de la Tarifa"

#. module: sale_commission_pricelist
#: model:ir.model,name:sale_commission_pricelist.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línea de pedido de venta"
50 changes: 50 additions & 0 deletions sale_commission_pricelist/i18n/es_AR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_commission_pricelist
#
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 <[email protected]>\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: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__commission_id
msgid "Commission"
msgstr "Comisión"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__display_name
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line__display_name
msgid "Display Name"
msgstr ""

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__id
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item____last_update
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_commission_pricelist
#: model:ir.model,name:sale_commission_pricelist.model_product_pricelist_item
msgid "Pricelist Rule"
msgstr "Regla de Lista de Precios"

#. module: sale_commission_pricelist
#: model:ir.model,name:sale_commission_pricelist.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línea de Orden de Ventas"
52 changes: 52 additions & 0 deletions sale_commission_pricelist/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_commission_pricelist
#
# Translators:
# Lixon Jean-Yves <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-02 02:42+0000\n"
"PO-Revision-Date: 2018-05-02 02:42+0000\n"
"Last-Translator: Lixon Jean-Yves <[email protected]>, 2018\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__commission_id
msgid "Commission"
msgstr "Commission"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__display_name
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line__display_name
msgid "Display Name"
msgstr ""

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__id
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item____last_update
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_commission_pricelist
#: model:ir.model,name:sale_commission_pricelist.model_product_pricelist_item
msgid "Pricelist Rule"
msgstr ""

#. module: sale_commission_pricelist
#: model:ir.model,name:sale_commission_pricelist.model_sale_order_line
msgid "Sales Order Line"
msgstr ""
53 changes: 53 additions & 0 deletions sale_commission_pricelist/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_commission_pricelist
#
# Translators:
# Lorenzo Battistini <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-05 02:07+0000\n"
"PO-Revision-Date: 2023-10-13 12:36+0000\n"
"Last-Translator: Francesco Foresti <[email protected]>\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 4.17\n"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__commission_id
msgid "Commission"
msgstr "Provvigione"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__display_name
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item__id
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line__id
msgid "ID"
msgstr "ID"

#. module: sale_commission_pricelist
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_product_pricelist_item____last_update
#: model:ir.model.fields,field_description:sale_commission_pricelist.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

#. module: sale_commission_pricelist
#: model:ir.model,name:sale_commission_pricelist.model_product_pricelist_item
msgid "Pricelist Rule"
msgstr "Regola listino prezzi"

#. module: sale_commission_pricelist
#: model:ir.model,name:sale_commission_pricelist.model_sale_order_line
msgid "Sales Order Line"
msgstr "Riga ordine di vendita"
Loading

0 comments on commit 11bc302

Please sign in to comment.