TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/commission · module folder · Try on Runboat
Module version
1.0.0
Category
Sales Management
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/commission
Last tracking update
2026-08-07 07:47:35
Authors
Odoo Community Association (OCA), Ooops404, Ilyas
Maintainers
Odoo Community Association (OCA), Ooops404, Ilyas
Committers
Weblate, OCA-git-bot, oca-ci, Ilyas
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis info_outline

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • downpayment_base_amount Monetary
    copy=False help='Total agent commission based on Sale Order'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
    _prepare_agents_vals_down_payment is called after _get_commission_amount on account.invoice.line.agent. Need to call _get_commission_amount again to apply custom amount calculation on down payment line. Otherwise, amount will be 0.
  • has_related_sale_with_down_payment(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.