Skip to content

Commit

Permalink
[IMP] l10n_br_fiscal: add corrections group, add cancel_reason and ad…
Browse files Browse the repository at this point in the history
…d events group on document form view
  • Loading branch information
marcelsavegnago committed Apr 22, 2021
1 parent 1f6a86f commit 015a3df
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions l10n_br_fiscal/views/document_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -225,26 +225,30 @@
<field name="cancel_event_id"/>
<field name="cancel_date"/>
<field name="cancel_protocol_number"/>
<field name="cancel_reason"/>
<field name="cancel_file_id"/>
</group>
<group name="correction" string="Correction" colspan="4" attrs="{'invisible': [('correction_event_ids', '=', False)]}">
<field name="correction_event_ids">
<group name="corrections" string="Corrections" colspan="4" attrs="{'invisible': [('correction_event_ids', '=', [])]}">
<field name="correction_event_ids" nolabel="1">
<tree>
<field name="id"/>
<field name="type"/>
<field name="justification"/>
<field name="create_date"/>
<field name="state"/>
</tree>
</field>
</group>
<group name="events" string="Events" colspan="4">
<field name="event_ids" nolabel="1">
<tree>
<field name="id"/>
<field name="type"/>
<field name="origin"/>
<field name="create_date"/>
<field name="state"/>
</tree>
</field>
</group>
<field name="event_ids">
<tree>
<field name="id"/>
<field name="type"/>
<field name="origin"/>
<field name="create_date"/>
<field name="state"/>
</tree>
</field>
</group>
</page>
<page name="amounts" string="Amounts">
Expand Down

0 comments on commit 015a3df

Please sign in to comment.