Commission Formula

commission_formula
REPOSITORY
REPOSITORYOCA/commission
GIT
GIThttps://github.com/OCA/commission.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/commission/tree/17.0/commission_formula
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCommission
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Abstract
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Abstract
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, sygel
WEBSITE
WEBSITEhttps://github.com/OCA/commission
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/commission:
    - commission
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - account
    - onboarding
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends commission to introduce the use of formulas to
compute the agent commissions.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
commission_form commission.form.inherit commission xpath Inherits commission.commission_form
Models touched (2)

New fields (2)
  • commission_type Selection
    ondelete={'formula': 'set default'} selection_add=[('formula', 'Formula')]
  • formula Text
    default="if line._name == 'sale.order.line':\n result = 0\nif line._name == 'account.move.line':\n result = 0\n"
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/commission
GIT
GIThttps://github.com/OCA/commission.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/commission/tree/16.0/commission_formula
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCommission
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Abstract
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Abstract
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, andre
WEBSITE
WEBSITEhttps://github.com/OCA/commission
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/commission:
    - commission
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - account
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
commission_form commission.form.inherit commission xpath Inherits commission.commission_form
Models touched (2)

New fields (2)
  • commission_type Selection
    ondelete={'formula': 'set default'} selection_add=[('formula', 'Formula')]
  • formula Text
    default="if line._name == 'sale.order.line':\n result = 0\nif line._name == 'account.move.line':\n result = 0\n"
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/commission
GIT
GIThttps://github.com/OCA/commission.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/commission/tree/15.0/commission_formula
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCommission
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Abstract
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Abstract
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/commission
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:33
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/commission:
    - commission
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
commission_form commission.form.inherit commission field Inherits commission.commission_form
Models touched (2)

New fields (2)
  • commission_type Selection
    ondelete={'formula': 'set default'} selection_add=[('formula', 'Formula')]
  • formula Text
    default="if line._name == 'sale.order.line':\n result = 0\nif line._name == 'account.move.line':\n result = 0\n"
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.