<field name="holiday_status_id" on_change="onchange_sec_id(holiday_status_id)" context="{'employee_id':employee_id}"/>
<label for="number_of_days_temp" string="Duration"/>
<div>
- <field name="date_from" on_change="onchange_date_from(date_to, date_from)" required="1"/> -
- <field name="date_to" on_change="onchange_date_from(date_to, date_from)" required="1"/>
- <field name="number_of_days_temp"/> days
+ <field name="date_from" on_change="onchange_date_from(date_to, date_from)" required="1" class="oe_inline"/> -
+ <field name="date_to" on_change="onchange_date_from(date_to, date_from)" required="1" class="oe_inline"/>
+ <div>
+ <field name="number_of_days_temp" class="oe_inline"/> days
+ </div>
</div>
</group>
</group>
<field name="model">hr.analytic.timesheet</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="Timesheet Lines">
- <group col="4">
- <field name="name" colspan="4"/>
- <field name="user_id" on_change="on_change_user_id(user_id)" required="1"/>
- <field name="date" on_change="on_change_date(date)"/>
+ <form string="Timesheet Lines" version="7.0">
+ <sheet>
+ <group>
+ <group>
+ <field name="name"/>
+ <field name="user_id" on_change="on_change_user_id(user_id)" required="1"/>
+ </group>
+ <group>
+ <field name="date" on_change="on_change_date(date)"/>
+ </group>
</group>
<notebook>
<page string="Information">
- <group>
- <group string="Product">
- <field name="product_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" required="1" domain="[('type','=','service')]"/>
- <field name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)"/>
- <field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" widget="float_time"/>
- </group>
- <group string="Accounting">
- <field domain="[('type','=','normal'),('state', '<>', 'close'),('parent_id','!=',False)]" name="account_id" select="1"/>
- <field name="amount"/>
- <field name="general_account_id"/>
- <field name="journal_id"/>
- </group>
+ <group>
+ <group string="Product">
+ <field name="product_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" required="1" domain="[('type','=','service')]"/>
+ <label string="Quantity" for="unit_amount" align="1.0"/>
+ <div>
+ <field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" class="oe_inline"/>
+ <field name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" class="oe_inline"/>
+ </div>
</group>
+ <group string="Accounting">
+ <field domain="[('type','=','normal'),('state', '<>', 'close'),('parent_id','!=',False)]" name="account_id" select="1"/>
+ <field name="amount"/>
+ <field name="general_account_id"/>
+ <field name="journal_id"/>
+ </group>
+ </group>
</page>
</notebook>
+ </sheet>
</form>
</field>
</record>