- <field name="product_id" on_change="onchange_product_id(product_id, uom_id, parent.employee_id)"/>
- <field name="uom_id" on_change="onchange_product_id(product_id, uom_id, parent.employee_id)" widget="selection"/>
- <field name="name" select="1"/>
- <field name="date_value" select="1"/>
- <field name="unit_quantity"/>
- <field name="unit_amount"/>
- <field name="ref"/>
- <field name="sequence" groups="base.group_extended"/>
- <field domain="[('type','=','normal')]" name="analytic_account" groups="base.group_extended"/>
- <newline/>
- <field name="total_amount"/>
+ <group col="6" colspan="4">
+ <field name="product_id" on_change="onchange_product_id(product_id, uom_id, parent.employee_id, context)"/>
+ <field name="name" colspan="4"/>
+ <newline/>
+ <field name="unit_amount"/>
+ <field name="unit_quantity"/>
+ <field name="uom_id" on_change="onchange_product_id(product_id, uom_id, parent.employee_id, context)"/>
+ </group>
+ <group colspan="2" col="2" groups="analytic.group_analytic_accounting">
+ <separator string="Customer Project" colspan="2"/>
+ <field domain="[('type','=','normal')]" name="analytic_account"/>
+ </group>
+ <group colspan="2" col="2">
+ <separator string="References" colspan="2"/>
+ <field name="date_value" />
+ <field name="ref"/>
+ </group>