Skip to content
Snippets Groups Projects
Unverified Commit a26b805f authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] point_of_sale: remove unvalid ACL

The field bank_statement_id was removed at c04065ab
The rule is no longer working and we have no link between a cashbox and a bank
statement anymore.

Fixes #13550
parent f242721e
No related branches found
No related tags found
No related merge requests found
......@@ -37,12 +37,6 @@
<field name="groups" eval="[(4, ref('account.group_account_user'))]"/>
<field name="domain_force">[(1, '=', 1)]</field>
</record>
<record id="rule_pos_cashbox_line_user" model="ir.rule">
<field name="name">Point Of Sale Cashbox Line POS User</field>
<field name="model_id" ref="account.model_account_cashbox_line" />
<field name="groups" eval="[(4, ref('group_pos_user'))]"/>
<field name="domain_force">[('bank_statement_id.pos_session_id', '!=', False)]</field>
</record>
<record id="rule_pos_cashbox_line_accountant" model="ir.rule">
<field name="name">Point Of Sale Cashbox Line Accountant</field>
<field name="model_id" ref="account.model_account_cashbox_line" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment