odooapps/account_payment_portal/security/account_security.xml
madmooose e2492df90e
Some checks failed
pre-commit / pre-commit (push) Failing after 2m39s
tests / Detect unreleased dependencies (push) Successful in 5s
tests / test with OCB (push) Successful in 3m32s
tests / test with Odoo (push) Successful in 2m34s
account_payment_portal
* [WIP] account_payment_portal: first draft

* [ADD] account_payment_portal

* [IMP] account_payment_portal: Fix user rights and add test

---------

Co-authored-by: Niels Göttsch <ng@ife.de>
2026-06-08 20:36:22 +02:00

16 lines
714 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<!-- Portal for payment -->
<record id="account_move_payment_rule_portal" model="ir.rule">
<field name="name">Portal Personal Account Payments</field>
<field name="model_id" ref="account.model_account_move" />
<field
name="domain_force"
>[('partner_id','=', user.partner_id.id),('move_type','=','entry')]</field>
<field name="groups" eval="[(4, ref('base.group_portal'))]" />
<field name="perm_unlink" eval="False" />
<field name="perm_write" eval="False" />
<field name="perm_read" eval="True" />
<field name="perm_create" eval="False" />
</record>
</odoo>