Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][FIX] l10n_es_facturae: required conditions #3854

Open
wants to merge 1 commit into
base: 15.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 21 additions & 15 deletions l10n_es_facturae/views/res_partner_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,27 +45,33 @@
</group>
</group>
<page name="accounting_disabled" position="inside">
<group
name="group_facturae"
string="Facturae"
attrs="{'invisible': ['|', ('type', '!=', 'invoice'), ('parent_facturae', '=', False)]}"
>
<field name="facturae_version" />
<field
<group name="group_facturae_wo_accounting" string="Facturae">
<field name="facturae" />
<field
name="facturae_version"
attrs="{'invisible': [('facturae', '=', False)]}"
/>
<field
name="organo_gestor"
attrs="{'required': [('facturae', '=', True)]}"
attrs="{'invisible': [('facturae', '=', False)]}"
/>
<field
<field
name="unidad_tramitadora"
attrs="{'required': [('facturae', '=', True)]}"
attrs="{'invisible': [('facturae', '=', False)]}"
/>
<field
<field
name="oficina_contable"
attrs="{'required': [('facturae', '=', True)]}"
attrs="{'invisible': [('facturae', '=', False)]}"
/>
<field name="organo_proponente" />
<field name="attach_invoice_as_annex" />
</group>
<field
name="organo_proponente"
attrs="{'invisible': [('facturae', '=', False)]}"
/>
<field
name="attach_invoice_as_annex"
attrs="{'invisible': [('facturae', '=', False)]}"
/>
</group>
</page>
</field>
</record>
Expand Down
Loading