Skip to content

Commit

Permalink
fixup! [MIG] account_move_update_analytic to v16
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Jul 31, 2023
1 parent 06fa73c commit 8d4a2db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion account_move_update_analytic/views/account_move_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<xpath
expr="//field[@name='line_ids']/tree/field[@name='analytic_distribution']"
expr="//field[@name='invoice_line_ids']/tree/field[@name='analytic_distribution']"
position="after"
>
<field name="parent_state" invisible="1" />
<button
name="account_move_update_analytic.action_view_account_move_update_analytic"
string="Update Analytic"
type="action"
groups="analytic.group_analytic_accounting"
attrs="{'column_invisible': [('parent.state', '!=', 'posted')]}"
/>
</xpath>
</field>
Expand Down

0 comments on commit 8d4a2db

Please sign in to comment.