Skip to content
Snippets Groups Projects
Commit 352767ec authored by Josse Colpaert's avatar Josse Colpaert Committed by Stanislas Gueniffey
Browse files

[FIX] l10n_es_edi_sii: add company rule for certificates

Part-of: odoo/odoo#109907
parent 945de684
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@
'data/res_partner_data.xml',
'security/ir.model.access.csv',
'security/l10n_es_edi_certificate.xml',
'views/account_tax_views.xml',
'views/l10n_es_edi_certificate_views.xml',
......
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<!-- Allow access to certificates of current company/companies -->
<record id="l10n_ec_digital_certificate" model="ir.rule">
<field name="name">Spanish Digital Certificate</field>
<field name="model_id" ref="l10n_es_edi_sii.model_l10n_es_edi_certificate"/>
<field name="domain_force">[('company_id', 'in', company_ids)]</field>
</record>
</odoo>
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