summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2016-03-25 12:03:33 +0100
committerThibault Delavallée <tde@openerp.com>2016-03-25 12:40:34 +0100
commit554f70f218683ac9ff0ece3f64e90c266883b028 (patch)
treeb42f6f8094efe196e676743e0ed52f08501adae3 /addons/web/static/src/js/framework/session_instance.js
parent918e1b06bcd1612b4862df10aefe05379fdbee95 (diff)
[FIX] crm, hr_recruitment, project_issue: responsible
When using the mailgateway, the responsible of the newly created lead / applicant / issue is explicitely set to False since the original mailgateway commit in 2010. However this conflicts with some custom behavior that tries to set the responsible on the same objects. Notably in recruitment the responsible is set to be the recruitment responsible set on the job, if any. In this commit we replace the explicit set of user_id=False to using a default_user_id=False in the context. This way the admin or mailgateway user will not be responsible of every new records. And this enables custom behavior to find a responsible.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions