| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/commission |
| GIT | |
| GIT | https://github.com/OCA/commission.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/commission/tree/12.0/sale_commission_product_based |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), TAKOBI |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), TAKOBI |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, Simone Rubino, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/commission |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:29:16 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/commission: - sale_commission odoo/odoo: - account - base_setup - base - web - product - decimal_precision - bus - web_tour - uom - analytic - portal - http_routing - digest - sale_management - sale - sales_team - payment |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_commission_form |
Add product commission to form view of Commission in sales | sale.commission | field | Inherits sale_commission.sale_commission_form |
commission_type
Selection
selection_add=[('product_fallback', 'Based on Product with Fallback Percentage')]
product_fallback_amount
Float
string='Fallback Percentage for Product'
product_rule_ids
One2many → sale.commission.product_rule
comodel_name='sale.commission.product_rule'
inverse_name='commission_id'
string='Product rules'
calculate_product_fallback(self, base, product)
No new fields.
Public methods (0)No public methods.
amount
Float
string='Percentage'
commission_id
Many2one → sale.commission
comodel_name='sale.commission'
ondelete='cascade'
required=True
product_category_id
Many2one → product.category
comodel_name='product.category'
product_id
Many2one → product.product
comodel_name='product.product'
sequence
Integer
match_product(self, product)