[FIX] stock: missing picking_type_id field

The picking type is not defined on the stock move when a picking is
created manually. This can cause errors, for example in manufacturing: a
product sold in kit will not be replaced by its components.

opw-673741
This commit is contained in:
Nicolas Martinelli
2016-04-28 08:15:33 +02:00
parent d6ec8f7bc3
commit 6c9d92d783
+1
View File
@@ -1366,6 +1366,7 @@
<field name="location_id" invisible="1"/>
<field name="create_date" invisible="1" />
<field name="date_expected" invisible="1" />
<field name="picking_type_id" invisible="1"/>
<button name="%(stock.move_scrap)d"
string="Scrap Products" type="action"
icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"