summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authoramoyaux <arm@odoo.com>2017-08-08 16:31:53 +0200
committeramoyaux <arm@odoo.com>2017-08-09 11:08:25 +0200
commitf438a11099dc0410fed3305d9fb0aa0707bde10c (patch)
tree5d2aeee1483d8f6b172df7736c36d4817d58ac27 /addons/web/static/src/js/views/basic/basic_model.js
parent010b4a10003365109039d89b630413085625cf6b (diff)
[FIX] stock : return serial number
When an operation has the check for create new lots/serial numbers activated and it exists a return that use this operation. The return with serial number is not possible since it will display the view for creating new serial number while we are returning some of them. Trying to add the serial number name will fail due to the constraint that ensure maximum one specific serial number by product. This commit change the context before calling the view in order to always display the many2one lot_id if the move is a return.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions