<field name="date_end" />
<field name="working_hours"/>
</group>
- <group string="Trial Period">
+ <group name="trail" string="Trial Period">
<field name="trial_date_start" />
<field name="trial_date_end" />
+ <separator string="Advantages" colspan="2"/>
+ <field name="advantages" nolabel="1"/>
</group>
</group>
- <group>
- <group name="right_column" string="Advantages">
- <field name="advantages" nolabel="1"/>
- </group>
- </group>
<separator string="Notes"/>
<field name="notes"/>
</page>
<field name="inherit_id" ref="hr_contract.hr_contract_view_form"/>
<field name="arch" type="xml">
<data>
- <xpath expr="//group[@name='right_column']" position="before">
+ <xpath expr="//group[@name='trail']" position="after">
<group string="Payslip Info">
<field name="struct_id" required="1"/>
</group>
<field name="type">form</field>
<field name="inherit_id" ref="hr_contract.hr_contract_view_form"/>
<field name="arch" type="xml">
- <xpath expr="//field[@name='advantages']" position="after">
- <separator colspan="4" string="Accounting"/>
- <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
- <field name="journal_id"/>
+ <xpath expr="//group[@name='trail']" position="after">
+ <group string="Accounting">
+ <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
+ <field name="journal_id"/>
+ </group>
</xpath>
</field>
</record>
</group>
<group col="4">
<field name="state_attendance"/>
- <field name="total_attendance_day" widget="float_time"/>
</group>
<field colspan="4" context="{'date':date_current,'user_id':user_id}" domain="[('name','=',date_current)]" name="timesheet_ids" nolabel="1">
<tree editable="top" string="Timesheet Lines">
<field name="user_id" required="1"/>
</form>
</field>
- <field name="total_difference_day" widget="float_time"/>
- <field name="total_timesheet_day" widget="float_time"/>
</page>
<page string="Summary">
<field colspan="4" name="period_ids" nolabel="1">
<field name="misc_onss_deduction"/>
<field name="meal_voucher_amount"/>
<field name="misc_advantage_amount"/>
- <separator string="Miscellaneous" colspan="2"/>
- <field name="additional_net_amount"/>
- <field name="retained_net_amount"/>
</xpath>
- <xpath expr="//field[@name='trial_date_end']" position="after">
- <separator string="By Worker" colspan="2"/>
- <field name="insurance_employee_deduction"/>
- <field name="meal_voucher_employee_deduction"/>
- <field name="car_employee_deduction"/>
+ <xpath expr="//group[@name='trail']" position="after">
+ <group string="Miscellaneous">
+ <field name="additional_net_amount"/>
+ <field name="retained_net_amount"/>
+ </group>
+ <group string="By Worker">
+ <field name="insurance_employee_deduction"/>
+ <field name="meal_voucher_employee_deduction"/>
+ <field name="car_employee_deduction"/>
+ </group>
</xpath>
</data>
</field>