[FIX] stock: forbid adding new lines when processing picking
Source and destination locations are required and not displayed in the form view. Adding new items when recieving a picking can not be easily guessed as we can put different locations for each line, using default locations may not be the expected result. Instead should modify the original picking or create new one. Fixes #2074, opw 612768
This commit is contained in:
parent
fcc59f12fc
commit
d28cab5257
|
@ -18,7 +18,7 @@
|
|||
<field name="hide_tracking" invisible="1"/>
|
||||
<separator string="Transfer Products" name="product_separator"/>
|
||||
<field name="move_ids" context="{'hide_tracking': hide_tracking}">
|
||||
<tree editable="bottom" string="Product Moves">
|
||||
<tree editable="bottom" string="Product Moves" create="false">
|
||||
<field name="product_id" on_change="onchange_product_id(product_id)"/>
|
||||
<field name="quantity" />
|
||||
<field name="product_uom" groups="product.group_uom"/>
|
||||
|
|
Loading…
Reference in New Issue