Skip to content

Commit

Permalink
[IMP] account: Improve Journal Items Tax Audit UX
Browse files Browse the repository at this point in the history
Small changes to show and hide some fields by default,
and add some in the view.

task-2855459

closes odoo#92852

Signed-off-by: Quentin De Paoli <qdp@odoo.com>
  • Loading branch information
proose committed Jun 3, 2022
1 parent 65b67d4 commit 011d8ad
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions addons/account/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,24 @@
<field name="tax_audit"/>
<field name="move_id"/>
</field>
<field name="date_maturity" position="replace"/>
<field name="analytic_account_id" position="replace"/>
<field name="debit" position="replace"/>
<field name="credit" position="replace"/>
<field name="date_maturity" position="attributes">
<attribute name="optional">hide</attribute>
</field>
<field name="analytic_account_id" position="attributes">
<attribute name="optional">hide</attribute>
</field>
<field name="debit" position="attributes">
<attribute name="optional">show</attribute>
</field>
<field name="credit" position="attributes">
<attribute name="optional">show</attribute>
</field>
<field name="journal_id" position="attributes">
<attribute name="optional">show</attribute>
</field>
<field name="move_id" position="attributes">
<attribute name="optional">hide</attribute>
</field>
</field>
</record>

Expand Down

0 comments on commit 011d8ad

Please sign in to comment.