Skip to content

Commit cda05f6

Browse files
committed
[FIX] l10n_es_facturae: fix child contact settings
Bring the behavior from v16 TT52257
1 parent 4da2f26 commit cda05f6

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

l10n_es_facturae/views/res_partner_view.xml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,33 @@
4545
</group>
4646
</group>
4747
<page name="accounting_disabled" position="inside">
48-
<group
49-
name="group_facturae"
50-
string="Facturae"
51-
attrs="{'invisible': ['|', ('type', '!=', 'invoice'), ('parent_facturae', '=', False)]}"
52-
>
53-
<field name="facturae_version" />
54-
<field
48+
<group name="group_facturae_wo_accounting" string="Facturae">
49+
<field name="facturae" />
50+
<field
51+
name="facturae_version"
52+
attrs="{'invisible': [('facturae', '=', False)]}"
53+
/>
54+
<field
5555
name="organo_gestor"
56-
attrs="{'required': [('facturae', '=', True)]}"
56+
attrs="{'invisible': [('facturae', '=', False)]}"
5757
/>
58-
<field
58+
<field
5959
name="unidad_tramitadora"
60-
attrs="{'required': [('facturae', '=', True)]}"
60+
attrs="{'invisible': [('facturae', '=', False)]}"
6161
/>
62-
<field
62+
<field
6363
name="oficina_contable"
64-
attrs="{'required': [('facturae', '=', True)]}"
64+
attrs="{'invisible': [('facturae', '=', False)]}"
6565
/>
66-
<field name="organo_proponente" />
67-
<field name="attach_invoice_as_annex" />
68-
</group>
66+
<field
67+
name="organo_proponente"
68+
attrs="{'invisible': [('facturae', '=', False)]}"
69+
/>
70+
<field
71+
name="attach_invoice_as_annex"
72+
attrs="{'invisible': [('facturae', '=', False)]}"
73+
/>
74+
</group>
6975
</page>
7076
</field>
7177
</record>

0 commit comments

Comments
 (0)