Metadata-Version: 2.1
Name: odoo14-addon-sale_commission_product_criteria_domain
Version: 14.0.1.0.12
Summary: Sale Commission Product Criteria Domain
Home-page: https://github.com/OCA/commission
Author: Ilyas,Ooops404,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 14.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: >=3.6
Requires-Dist: odoo14-addon-sale-commission-product-criteria
Requires-Dist: odoo14-addon-web-domain-field
Requires-Dist: odoo<14.1dev,>=14.0a

=======================================
Sale Commission Product Criteria Domain
=======================================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:f88c02c5505b35889f5828ac422c81ef1496bbabfdcbc20b7ce18b177541d900
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/14.0/sale_commission_product_criteria_domain
    :alt: OCA/commission
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/commission-14-0/commission-14-0-sale_commission_product_criteria_domain
    :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=14.0
    :alt: Try me on Runboat

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

This module allows to limit applied commission items for specific groups.

This module allows to manage the following commission structure use case:

  Agent A receives commission 50 when selling product 1 to customer X

  Agent A receives commission 20 when selling product 1 to customer Y

This implementation is based on pricelist-like Commission Type structure provided by sale_commission_product_criteria.

**Table of contents**

.. contents::
   :local:

Usage
=====

Go to Sales > Commission management > Commission Type Items Groups

Create one or more new Groups, eg. “Italy” and “Spain”

Create new Commission type, select type “Product Criteria (with restrictions)”, eg: “Southern Europe”

Add lines to Commission type; for each line one Group must be set, eg.

    Product: Conference Chair, value: $20, group: Italy

    Product: Conference Chair, value: $10, group: Spain


Go to Agent A, assign Commission type: “Southern Europe” > add “Allowed Commission Groups”: “Italy”, “Spain”

In this way, we are allowing Commission type lines for both “Spain” and “Italy” to be applied to this agent.

Go to customer X, set agent: “Agent A” > in table “Commission items group” set group “Spain”

Go to customer Y, set agent: “Agent A” > in table “Commission items group” set group “Italy”

On sales for customer X, only Commission type lines with group “Spain” will be applied to agent; on sales for customer Y, only Commission type lines with group “Italy” will be applied to agent.

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_product_criteria_domain%0Aversion:%2014.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
~~~~~~~

* Ilyas
* Ooops404

Contributors
~~~~~~~~~~~~

* `Ooops404 <https://www.ooops404.com>`__:

  * Ilyas <irazor147@gmail.com>

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.

.. |maintainer-ilyasProgrammer| image:: https://github.com/ilyasProgrammer.png?size=40px
    :target: https://github.com/ilyasProgrammer
    :alt: ilyasProgrammer
.. |maintainer-aleuffre| image:: https://github.com/aleuffre.png?size=40px
    :target: https://github.com/aleuffre
    :alt: aleuffre
.. |maintainer-renda-dev| image:: https://github.com/renda-dev.png?size=40px
    :target: https://github.com/renda-dev
    :alt: renda-dev
.. |maintainer-PicchiSeba| image:: https://github.com/PicchiSeba.png?size=40px
    :target: https://github.com/PicchiSeba
    :alt: PicchiSeba

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-ilyasProgrammer| |maintainer-aleuffre| |maintainer-renda-dev| |maintainer-PicchiSeba| 

This module is part of the `OCA/commission <https://github.com/OCA/commission/tree/14.0/sale_commission_product_criteria_domain>`_ project on GitHub.

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