[IMP] hr.config.settings: simplify form, remove all buttons

bzr revid: rco@openerp.com-20120410140955-a8m0oxigpy7rb1bu
This commit is contained in:
Raphael Collet 2012-04-10 16:09:55 +02:00
parent 11fe6c8af9
commit 0d2ba40cf8
6 changed files with 0 additions and 81 deletions

View File

@ -20,30 +20,9 @@
</div>
<sheet layout="auto">
<separator string="Human Resources" colspan="4"/>
<label string="Departments :"/>
<label colspan="1"/>
<group colspan="2">
<button name="%(view_department_form_installer)d" string="Create Your Departments"
type="action" icon="terp-personal+"/>
</group>
<newline/>
<label string="Employees :" />
<label colspan="1"/>
<group colspan="2">
<button name="%(open_view_employee_list_my)d" string="Create Your Employees"
type="action" icon="terp-personal"/>
</group>
<newline/>
<field name="module_hr_timesheet_sheet"/>
<newline/>
<field name="module_hr_holidays"/>
<newline/>
<label string="Salary Rules :"/>
<label colspan="1"/>
<group colspan="2">
<button string="Configure Your Salary Rules" icon="gtk-go-forward"
name="%(open_payroll1_modules)d" type="action" />
</group>
<separator string="Additional Features" colspan="4"/>
<field name="module_hr_expense"/>

View File

@ -10,21 +10,5 @@
<field name="help">You can define appraisal plans (ex: first interview after 6 months, then every year). Then, each employee can be linked to an appraisal plan so that OpenERP can automatically generate interview requests to managers and/or subordinates.</field>
</record>
<!-- Hr Configuration wizard -->
<record id="view_evaluation_config_wizard_inherit" model="ir.ui.view">
<field name="name">hr settings for evaluations</field>
<field name="model">hr.config.settings</field>
<field name="type">form</field>
<field name="inherit_id" ref="hr.view_human_resources_configuration"/>
<field name="arch" type="xml">
<field name="module_hr_evaluation" position="after">
<group colspan="2">
<button name="%(action_evaluation_plans_installer)d" string="Review Appraisal Plans"
type="action" icon="terp-stock_align_left_24"/>
</group>
</field>
</field>
</record>
</data>
</openerp>

View File

@ -27,21 +27,5 @@
<field name="help">Define one product for each expense type allowed for an employee (travel by car, hostel, restaurant, etc). If you reimburse the employees at a fixed rate, set a cost and a unit of measure on the product. If you reimburse based on real costs, set the cost at 0.00. The user will set the real price when recording his expense sheet.</field>
</record>
<!-- Hr Configuration wizard -->
<record id="view_expenseconfig_wizard_inherit" model="ir.ui.view">
<field name="name">hr settings for expenses</field>
<field name="model">hr.config.settings</field>
<field name="type">form</field>
<field name="inherit_id" ref="hr.view_human_resources_configuration"/>
<field name="arch" type="xml">
<field name="module_hr_expense" position="after">
<group colspan="2">
<button name="%(product_normal_form_view_installer)d" string="Review Expenses Products"
type="action" icon="terp-accessories-archiver"/>
</group>
</field>
</field>
</record>
</data>
</openerp>

View File

@ -485,22 +485,6 @@
<field name="help">You can assign remaining Legal Leaves for each employee, OpenERP will automatically create and validate allocation requests.</field>
</record>
<!-- Hr Configuration wizard -->
<record id="view_config_wizard_inherit" model="ir.ui.view">
<field name="name">hr settings for holidays</field>
<field name="model">hr.config.settings</field>
<field name="type">form</field>
<field name="inherit_id" ref="hr.view_human_resources_configuration"/>
<field name="arch" type="xml">
<field name="module_hr_holidays" position="after">
<group colspan="2">
<button name="%(hr_holidays.hr_holidays_leaves_assign_legal)d" string="Allocate Leaves"
type="action" icon="gtk-apply"/>
</group>
</field>
</field>
</record>
<!-- Hr employee inherit Legal Leaves -->
<record id="view_employee_form_leave_inherit" model="ir.ui.view">

View File

@ -7,12 +7,6 @@
<field name="type">form</field>
<field name="inherit_id" ref="hr.view_human_resources_configuration"/>
<field name="arch" type="xml">
<field name="module_hr_recruitment" position="after">
<group colspan="2">
<button name="%(hr_recruitment_stage_form_installer)d" string="Review Recruitment Stages"
type="action" icon="terp-stage"/>
</group>
</field>
<group name="config_recruitment" position="after">
<separator string="Recruitment" colspan="4"/>
<field name="module_document_ftp"/>

View File

@ -7,12 +7,6 @@
<field name="type">form</field>
<field name="inherit_id" ref="hr.view_human_resources_configuration"/>
<field name="arch" type="xml">
<field name="module_hr_timesheet_sheet" position="after">
<group colspan="2">
<button name="%(hr_timesheet.action_define_analytic_structure)d" string="Create Your Timesheet Accounts"
type="action" icon="terp-folder-green"/>
</group>
</field>
<group name="config_timesheets" position="after">
<separator string="Timesheets" colspan="4"/>
<field name="timesheet_range"/>