Skip to content

Commit

Permalink
IMP acc_facto_receiv_bal: add company security rule
Browse files Browse the repository at this point in the history
  • Loading branch information
bealdav committed Oct 14, 2024
1 parent 204f934 commit 7c32b7f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions account_factoring_receivable_balance/security/misc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@
/>
</record>

<record model="ir.rule" id="subrogation_receipt_rule_company">
<field name="name">Subrogation Receipt multi-company</field>
<field name="model_id" ref="model_subrogation_receipt" />
<field name="global" eval="True" />
<!-- There is no case where company_id is False because this fields is related on account.journal -->
<field name="domain_force">[('company_id', 'in', company_ids)]</field>
</record>

</odoo>

0 comments on commit 7c32b7f

Please sign in to comment.