diff --git a/stock_cycle_count/__manifest__.py b/stock_cycle_count/__manifest__.py index 3387ec45348f..03c29d565d12 100644 --- a/stock_cycle_count/__manifest__.py +++ b/stock_cycle_count/__manifest__.py @@ -24,6 +24,7 @@ "reports/stock_location_accuracy_report.xml", "reports/stock_cycle_count_report.xml", "security/ir.model.access.csv", + "security/security.xml", ], "license": "AGPL-3", "installable": True, diff --git a/stock_cycle_count/security/security.xml b/stock_cycle_count/security/security.xml new file mode 100644 index 000000000000..b369f0667bd5 --- /dev/null +++ b/stock_cycle_count/security/security.xml @@ -0,0 +1,11 @@ + + + + Stock Cycle Count multi-company + + + ['|',('company_id','=',False),('company_id', 'in', company_ids)] + + diff --git a/stock_cycle_count/views/stock_cycle_count_view.xml b/stock_cycle_count/views/stock_cycle_count_view.xml index 84f85148fc18..5eacdd102805 100644 --- a/stock_cycle_count/views/stock_cycle_count_view.xml +++ b/stock_cycle_count/views/stock_cycle_count_view.xml @@ -18,6 +18,7 @@ +