OCA / commission

Odoo Commission Management
GNU Affero General Public License v3.0
115 stars 344 forks source link

[IMP] commission: allow to set specific commissions for partners #547

Open odooNextev opened 4 months ago

odooNextev commented 4 months ago

Is your feature request related to a problem? An agent can have a different commission based on the partner, but now commission field is only set on the agent itself.

Describe the solution you'd like An intermediate model between res.partner and commission could be created and it could be called something like partner.agent.commission, then a one2many field agent_line_ids can replace agent_ids.

image

By default, adding a line in partner.agent.commission field and setting an agent, will populate commission field with value set in agent commission field, then you can change it as you want.