summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2019-04-19 12:16:40 +0000
committerWilliam Henrotin <whe@odoo.com>2019-04-19 12:16:54 +0000
commit644474cb93f8c9a736e2cbc2888d6f4ddd198ab6 (patch)
treeeff59386f9c59f1dcfbcd62e86b1159547a05ab2 /addons/web/static/src/js/views/basic/basic_model.js
parentf18e4fc0ea7ab7c15977fe054d0f4f7ff0e72ca4 (diff)
[FIX] stock, mrp: handle multi method
Commit 84ae731d5d083f0a111c57084c796ae144e33ea1 used 'self.code' in a method called by a multi one. As 'self.code' expect a singleton, the transaction raise an error in case of multiple records into the recordset This commit calls the method into a loop on 'self and change its signature to pass 'code' and be sure its a non multi one
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions