Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
odooNextev opened this issue Jul 22, 2024 · 0 comments
Open

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

odooNextev opened this issue Jul 22, 2024 · 0 comments

Comments

@odooNextev
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant