Add employee as agent selection pattern
As discussed in https://discuss.tryton.org/t/default-agent-per-party/1747/4?u=pokoli we now have the employee on sale (thanks to #8969 (closed)) so we can use this employee as pattern for the agent selection.
As discussed in https://discuss.tryton.org/t/default-agent-per-party/1747/4?u=pokoli we now have the employee on sale (thanks to #8969 (closed)) so we can use this employee as pattern for the agent selection.
assigned to @pokoli
added commission type::feature + 1 deleted label
added 1 deleted label and removed 1 deleted label
New review289701002 at https://codereview.tryton.org/289701002/#ps289711002
review289701002 updated at https://codereview.tryton.org/289701002/#ps303551002
I reread the thread but I do not really see the link with the employee.
It is very common that the employee receives a commission for it's sales. So in order to manage this we add the employee as agent selection which allows to link the employee with it's related agent and automatically set the agent when quoting the sale.
New changeset 296f763a9477 by Sergi Almacellas Abellana in branch 'default':
Add employee on agent selection
https://hg.tryton.org/modules/commission/rev/296f763a9477
added 1 deleted label and removed 1 deleted label
closed
New changeset 85520aee6b63 by Sergi Almacellas Abellana in branch 'default':
Add employee on agent selection
https://hg.tryton.org/tryton-env/rev/85520aee6b63