- <group col="4">
- <field name="name"/>
- <field name="account_id"/>
- <field name="date" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id)"/>
- <field name="journal_id"/>
- <field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id)"/>
- <field name="product_id" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id, journal_id)"/>
- <field name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id)"/>
- <field invisible="True" name="general_account_id"/>
- <field name="amount"/>
- <field name="currency_id" />
- <field name="amount_currency" />
- <field name="company_id" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id)"/>
+ <group>
+ <group>
+ <field name="name"/>
+ <field name="account_id"/>
+ <field name="journal_id"/>
+ </group>
+ <group>
+ <field name="date" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id)"/>
+ <field name="company_id" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id)"/>
+ </group>
+ <group string="Amount">
+ <field name="amount"/>
+ <label for="amount_currency" groups="base.group_multi_currency"/>
+ <div groups="base.group_multi_currency">
+ <field name="amount_currency" class="oe_inline"/>
+ <field name="currency_id" class="oe_inline"/>
+ </div>
+ <field invisible="1" name="general_account_id"/>
+ </group>
+ <group string="Product Information">
+ <field name="product_id" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id, journal_id)"/>
+ <label for="unit_amount"/>
+ <div>
+ <field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id)" class="oe_inline"/>
+ <field name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, company_id, product_uom_id)" class="oe_inline"/>
+ </div>
+ </group>