summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2019-08-05 13:26:02 +0000
committerWilliam Henrotin <whe@odoo.com>2019-08-06 13:05:55 +0000
commitcbcdac469d358f12376500ed5ed7957220d1a2b6 (patch)
tree39d395296e6f803090f62a44470edc3b1f04a235 /addons/web/static/src/js/views/basic/basic_controller.js
parentc361c3778ef4755b4760039a4fd8f9ed88294b64 (diff)
[FIX] mrp: send correct id via context
On the manufacturing order form view, the 'update' button to change the production quantity doesn't give the current mo id to the wizard. That means 'active_id' is used. The issue is 'active_id' may refer to another object (a bom or a workcenter for instance). This commit fills the default_mo_id key in the context before calling the wizard to ensure the correct production order is used in the wizard default get. Task : 2043136 closes odoo/odoo#35453 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions