[IMP]reorganize group in contract form and remove total from my timesheet
authorSanjay Gohel (Open ERP) <sgo@tinyerp.com>
Fri, 29 Jun 2012 06:44:43 +0000 (12:14 +0530)
committerSanjay Gohel (Open ERP) <sgo@tinyerp.com>
Fri, 29 Jun 2012 06:44:43 +0000 (12:14 +0530)
bzr revid: sgo@tinyerp.com-20120629064443-kwyp4r59620qse3k

addons/hr_contract/hr_contract_view.xml
addons/hr_payroll/hr_payroll_view.xml
addons/hr_payroll_account/hr_payroll_account_view.xml
addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
addons/l10n_be_hr_payroll/l10n_be_hr_payroll_view.xml

index 0c6d961..447461c 100644 (file)
                                     <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>
index f789f85..cca555b 100644 (file)
@@ -18,7 +18,7 @@
             <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>
index e06a435..ff0293a 100644 (file)
             <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>
index bd691fc..36827fe 100644 (file)
                             </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">
index 5482b9a..c40ddbc 100644 (file)
                     <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>