diff --git a/l10n_nl_tax_statement/__manifest__.py b/l10n_nl_tax_statement/__manifest__.py index b463aef16..07d6c5586 100644 --- a/l10n_nl_tax_statement/__manifest__.py +++ b/l10n_nl_tax_statement/__manifest__.py @@ -15,6 +15,7 @@ ], 'data': [ 'security/ir.model.access.csv', + 'security/tax_statement_security_rule.xml', 'data/report_layouts.xml', 'views/l10n_nl_vat_statement.xml', 'report/reports.xml', diff --git a/l10n_nl_tax_statement/security/tax_statement_security_rule.xml b/l10n_nl_tax_statement/security/tax_statement_security_rule.xml new file mode 100644 index 000000000..5786d197d --- /dev/null +++ b/l10n_nl_tax_statement/security/tax_statement_security_rule.xml @@ -0,0 +1,11 @@ + + + + + NL Tax Statement multicompany + + + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] + + +