I want to change contact's owner(res.partner's user_id field) along with its parent customer when changing this customer's salesperson.
I tried onchange function and compute field, but no luck.
Any help or suggestion?
I am using odoo v8.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I want to change contact's owner(res.partner's user_id field) along with its parent customer when changing this customer's salesperson.
I tried onchange function and compute field, but no luck.
Any help or suggestion?
I am using odoo v8.
The solution is easier than i thought from the beginning
I just overrided write() method, just as below:
@api.multi |
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up