mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[13.0] [FIX] stock_request: Fix multi-company rule.
The rule only apply for the user company not for the company that the user selected in the tab. This is old way, in v13 we use company_ids.
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
<field name="global" eval="True" />
|
||||
<field
|
||||
name="domain_force"
|
||||
>['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
||||
>['|',('company_id','=',False), ('company_id', 'in', company_ids)]</field>
|
||||
</record>
|
||||
<record id="stock_request_order_followers_rule" model="ir.rule">
|
||||
<field name="name">Follow Stock Request Order</field>
|
||||
|
||||
Reference in New Issue
Block a user