Skip to content

Commit

Permalink
[FIX] pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevhe18 committed Mar 12, 2024
1 parent 3c03c37 commit 87d5689
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 6 additions & 3 deletions ssi_voucher_invoice_settlement/security/ir_rule_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@
</record>
<record id="invoice_settlement_companies_rule" model="ir.rule">
<field
name="name"
>Invoice Settlement - Responsible to company and all child companies data</field>
name="name"
>Invoice Settlement - Responsible to company and all child companies data</field>
<field name="model_id" ref="model_account_invoice_settlement" />
<field name="groups" eval="[(4, ref('invoice_settlement_company_child_group'))]" />
<field
name="groups"
eval="[(4, ref('invoice_settlement_company_child_group'))]"
/>
<field name="domain_force">[('company_id','in',user.company_ids.ids)]</field>
<field name="perm_unlink" eval="1" />
<field name="perm_write" eval="1" />
Expand Down
10 changes: 8 additions & 2 deletions ssi_voucher_invoice_settlement/security/res_group_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@
name="category_id"
ref="invoice_settlement_data_ownership_module_category"
/>
<field name="implied_ids" eval="[(4, ref('invoice_settlement_company_group'))]" />
<field
name="implied_ids"
eval="[(4, ref('invoice_settlement_company_group'))]"
/>
<field
name="users"
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
Expand All @@ -79,7 +82,10 @@
name="category_id"
ref="invoice_settlement_data_ownership_module_category"
/>
<field name="implied_ids" eval="[(4, ref('invoice_settlement_company_child_group'))]" />
<field
name="implied_ids"
eval="[(4, ref('invoice_settlement_company_child_group'))]"
/>
<field
name="users"
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
Expand Down

0 comments on commit 87d5689

Please sign in to comment.