[FIX]stock_reserve_rule: fix rule because multicompany scheme change

This commit is contained in:
Juan Carreras
2021-06-24 15:45:47 -03:00
committed by Sébastien Alix
parent 2a1e2bc070
commit 2ffe854dd5
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "Stock Reservation Rules",
"summary": "Configure reservation rules by location",
"version": "13.0.1.3.0",
"version": "13.0.1.4.0",
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Stock Management",

View File

@@ -5,6 +5,6 @@
<field name="model_id" ref="model_stock_reserve_rule" />
<field
name="domain_force"
>['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
>['|',('company_id', 'in', company_ids),('company_id','=',False)]</field>
</record>
</odoo>