Skip to content

Commit

Permalink
[MIG] l10n_es_facturae: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiadavid committed Dec 24, 2022
1 parent eed79c5 commit f6a9b6f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion l10n_es_facturae/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

{
"name": "Creación de Facturae",
"version": "15.0.1.4.0",
"version": "16.0.1.0.0",
"author": "ASR-OSS, "
"FactorLibre, "
"Tecon, "
Expand Down
1 change: 1 addition & 0 deletions l10n_es_facturae/views/account_move_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
icon="fa-tags"
attrs="{'column_invisible': [('parent.facturae','=', False)]}"
type="object"
title="Edit"
/>
</xpath>
<notebook position="inside">
Expand Down
7 changes: 4 additions & 3 deletions l10n_es_facturae/views/res_partner_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
<field name="inherit_id" ref="account.view_partner_property_form" />
<field name="priority">99</field>
<field name="type">form</field>
<field name="groups_id" eval="[(4, ref('account.group_account_invoice'))]" />
<field name="arch" type="xml">
<xpath expr="//field[@name='child_ids']/form/sheet/group" position="inside">
<group>
<group groups="account.group_account_invoice">
<group
string="Facturae"
attrs="{'invisible': ['|', ('parent.facturae', '=', False), ('type', '!=', 'invoice')]}"
Expand All @@ -25,13 +24,15 @@
</group>
</xpath>
<group name='accounting_entries' position="inside">
<field name="facturae" />
<field name="facturae" groups="account.group_account_invoice" />
</group>
<group name="accounting_entries" position="after">
<field name="facturae" invisble="1" />
<group
name="group_facturae"
string="Facturae"
attrs="{'invisible': [('facturae', '=', False)]}"
groups="account.group_account_invoice"
>
<field name="facturae_version" />
<field
Expand Down

0 comments on commit f6a9b6f

Please sign in to comment.