TIP: You can type at any time to perform a new search.
Sale commissions product
sale_commission_product · OCA/commission
Security findings
Migration considerations
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
product_product_form_view_commission_product— For a target of Odoo 17.0+: view 'product_product_form_view_commission_product' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_product_product_agent_tree— View 'view_product_product_agent_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/commission · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Generic Modules/Sales & Purchases
- Folder size
- 0.25 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 07:03:07
- Authors
- Odoo Community Association (OCA), Asr Oss - Alejandro Sánchez
- Maintainers
- Odoo Community Association (OCA), Asr Oss - Alejandro Sánchez
- Committers
- Pedro M. Baeza, GitHub, Weblate, OCA Transbot, oca-travis, jesusVMayor
Code Analysis
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_product_form_view_commission_product |
product.product.common.form.commission.product | product.product | form | Inherits product.product_normal_form_view |
view_product_product_agent_tree |
product.product.agent.tree | product.product.agent | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (1)-
product_id_change(self, product, uom_id, qty=0, name='', type='out_invoice', partner_id=False, fposition_id=False, price_unit=False, currency_id=False, company_id=None)@api.multi
New fields (1)
-
agentsOne2many → product.product.agentcomodel_name='product.product.agent'copy=Trueinverse_name='product_id'readonly=Truestring='Agents & commissions'
No public methods.
New fields (3)
-
agentMany2one → res.partnercomodel_name='res.partner'domain="[('agent', '=', True')]"ondelete='restrict'required=False -
commissionMany2one → sale.commissioncomodel_name='sale.commission'ondelete='restrict'required=True -
product_idMany2one → product.productcomodel_name='product.product'ondelete='cascade'required=Truestring=''
-
get_commission_id_product(self, product, agent)@api.multi -
name_get(self)@api.multi
New fields (0)
No new fields.
Public methods (1)-
product_id_change(self, pricelist, product, qty=0, uom=False, qty_uos=0, uos=False, name='', partner_id=False, lang=False, update_tax=True, date_order=False, packaging=False, fiscal_position=False, flag=False)@api.multi