mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX]stock_reserve_rule: fix rule because multicompany scheme change
This commit is contained in:
committed by
Sébastien Alix
parent
2a1e2bc070
commit
2ffe854dd5
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user