diff --git a/stock_valuation_layer_usage/__manifest__.py b/stock_valuation_layer_usage/__manifest__.py index ee8b4affc704..7eb336d343d7 100644 --- a/stock_valuation_layer_usage/__manifest__.py +++ b/stock_valuation_layer_usage/__manifest__.py @@ -14,6 +14,7 @@ "depends": ["sale", "stock_account_product_run_fifo_hook"], "data": [ "security/ir.model.access.csv", + "security/ir_rule.xml", "views/stock_valuation_layer_usage_views.xml", "views/stock_valuation_layer_views.xml", "views/stock_move_views.xml", diff --git a/stock_valuation_layer_usage/security/ir_rule.xml b/stock_valuation_layer_usage/security/ir_rule.xml new file mode 100644 index 000000000000..5e2019b96202 --- /dev/null +++ b/stock_valuation_layer_usage/security/ir_rule.xml @@ -0,0 +1,9 @@ + + + + Company Layer Usages + + + [('company_id','in', company_ids)] + +