wrong domain in action_reception_picking_move in addons/stock/stock_view.xml
authorGuillermo Bisheimer <gbisheimer@bys-control.com.ar>
Wed, 18 Jun 2014 13:52:24 +0000 (10:52 -0300)
committerMartin Trigaux <mat@openerp.com>
Thu, 19 Jun 2014 12:00:33 +0000 (14:00 +0200)
addons/stock/stock_view.xml

index 06fabc9..32bc27a 100644 (file)
             <field name="type">ir.actions.act_window</field>
             <field name="view_type">form</field>
             <field name="view_mode">tree,form</field>
-            <field name="domain" eval="['|','&amp;',('picking_id','=',False),('location_dest_id.usage', 'in', ['customer','supplier']),'&amp;',('picking_id','!=',False),('picking_id.picking_type_id.code','=','outgoing')]"/>
+            <field name="domain" eval="[('picking_id.picking_type_id.code','=','incoming'), ('location_id.usage','!=','internal'), ('location_dest_id.usage', '=', 'internal')]"/>
             <field name="view_id" ref="view_move_tree_reception_picking"/>
             <field name="context">{'product_receive': True, 'search_default_future': True}</field>
             <field name="help" type="html">