Skip to content
Browse files

[FIX] stock: remove domain on stock.location of picking types

There is no `company_id` field on `stock.picking.type`.

Partially revert f221936 (#30952)

closes #31121
  • Loading branch information...
KangOl committed Feb 14, 2019
1 parent 2ba6be2 commit 6cf4f4924b0e18343ee68503403e9d249558e101
Showing with 2 additions and 2 deletions.
  1. +2 −2 addons/stock/views/stock_picking_views.xml
@@ -55,8 +55,8 @@
<field name="use_existing_lots" groups="stock.group_production_lot"/>
<group string="Locations">
<field name="default_location_src_id" attrs="{'required': [('code', '=', 'internal')]}" domain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]"/>
<field name="default_location_dest_id" attrs="{'required': [('code', 'in', ('internal', 'incoming'))]}" domain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]"/>
<field name="default_location_src_id" attrs="{'required': [('code', '=', 'internal')]}"/>
<field name="default_location_dest_id" attrs="{'required': [('code', 'in', ('internal', 'incoming'))]}"/>

0 comments on commit 6cf4f49

Please sign in to comment.
You can’t perform that action at this time.