[FIX] Product: Search with Reference in product move

Before commit:
-when we search in product move with reference its not working because
 the Reference filter is made based on picking_id in place of reference
 field.

After commit:
-we made a reference filter based on reference field so when we search in
 product move with reference its working.

closes odoo/odoo#42620

Task-id: 2165919
X-original-commit: 7f1141687d4cede2a600f49441ac2ecd0f123c89
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
Ankita Raval
2020-01-02 15:48:16 +00:00
parent 1f4c65ef3e
commit 6f0985bae1
+2 -1
View File
@@ -68,7 +68,8 @@
<field name="model">stock.move.line</field>
<field name="arch" type="xml">
<search string="Stock Moves">
<field name="picking_id" string="Reference"/>
<field name="picking_id" string="Transfer"/>
<field name="reference" string="Reference"/>
<field name="product_id"/>
<field name="location_id" string="Source Location" groups="stock.group_stock_multi_locations"/>
<field name="location_dest_id" string="Destination Location" groups="stock.group_stock_multi_locations"/>