[FIX] l10n_es_edi_sii: add company rule for certificates
X-original-commit: 25d6513897e7e029a5fbfd37f2e6617bebad5e30 Part-of: odoo/odoo#122691
This commit is contained in:
committed by
Stanislas Gueniffey
parent
650155010f
commit
1b1f1f485d
@@ -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',
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user