[IMP] account_invoice_margin: show margin and margin % in the same line

This commit is contained in:
Salomon Chambi
2023-07-31 22:57:33 +00:00
parent aae74a8d08
commit bb88a2dc1d
2 changed files with 4 additions and 3 deletions

View File

@@ -7,8 +7,9 @@
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='amount_residual']" position="after">
<field name="margin" groups="base.group_user"/>
<span class="oe_inline" groups="base.group_user">
<span class="oe_inline oe_right" groups="base.group_user" colspan="2">
<span>Margin:</span>
<field name="margin" class="oe_inline"/>
(<field name="margin_percent" nolabel="1" class="oe_inline" widget="percentage"/>)
</span>
</xpath>