[IMP]improve configuaration view for hr
bzr revid: sgo@tinyerp.com-20120705091801-kapmj1qkh61cs4yg
This commit is contained in:
parent
3055e82e4c
commit
c3fc472a46
|
@ -21,13 +21,11 @@
|
|||
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
|
||||
</header>
|
||||
<sheet>
|
||||
<group string="Additional Features">
|
||||
<group>
|
||||
<group>
|
||||
<group string="Additional Features" name="left_column">
|
||||
<field name="module_hr_expense"/>
|
||||
<field name="module_hr_evaluation"/>
|
||||
<field name="module_hr_holidays"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="module_hr_recruitment"/>
|
||||
<field name="module_hr_contract"/>
|
||||
<label for="module_hr_payroll"/>
|
||||
|
@ -38,14 +36,12 @@
|
|||
attrs="{'invisible': [('module_hr_payroll','=',False)]}"/>
|
||||
</div>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group string="Timesheets">
|
||||
<group name="right_column">
|
||||
<separator string="Timesheets" colspan="2"/>
|
||||
<field name="module_hr_attendance" on_change="onchange_hr_attendance(module_hr_attendance)"/>
|
||||
<field name="module_hr_timesheet" on_change="onchange_hr_timesheet(module_hr_timesheet)"/>
|
||||
<field name="module_hr_timesheet_sheet"/>
|
||||
</group>
|
||||
<group name="config_recruitment"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
|
|
|
@ -7,16 +7,15 @@
|
|||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="hr.view_human_resources_configuration"/>
|
||||
<field name="arch" type="xml">
|
||||
<group name="config_recruitment" position="replace">
|
||||
<group name="config_recruitment" string="Recruitment">
|
||||
<field name="module_document_ftp"/>
|
||||
<label for="fetchmail_applicants"/>
|
||||
<div>
|
||||
<field name="fetchmail_applicants"/>
|
||||
<button name="configure_fetchmail_applicants" type="object" string="Configure" icon="gtk-go-forward"
|
||||
attrs="{'invisible': [('fetchmail_applicants','=',False)]}"/>
|
||||
</div>
|
||||
</group>
|
||||
<group name="right_column" position="inside">
|
||||
<separator string="Recruitment" colspan="2"/>
|
||||
<field name="module_document_ftp"/>
|
||||
<label for="fetchmail_applicants"/>
|
||||
<div>
|
||||
<field name="fetchmail_applicants"/>
|
||||
<button name="configure_fetchmail_applicants" type="object" string="Configure" icon="gtk-go-forward"
|
||||
attrs="{'invisible': [('fetchmail_applicants','=',False)]}"/>
|
||||
</div>
|
||||
</group>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue