modify on contract view
This commit is contained in:
parent
5c27143711
commit
41f7be68bd
|
|
@ -11,9 +11,12 @@
|
|||
<header position="replace">
|
||||
<header>
|
||||
<button name="program_directory" string="program Director" class="oe_highlight" type="object"
|
||||
states="hr_head_approval" groups="hr_base.group_executive_manager"/>
|
||||
<button name="hr_head_approval" string="HR Head Approval" class="oe_highlight"
|
||||
type="object" states="employeed_aproval" groups="hr.group_hr_manager"/>
|
||||
states="employeed_aproval" groups="hr.group_hr_manager"/>
|
||||
<!-- states="employeed_aproval" groups="hr_base.group_executive_manager"/>-->
|
||||
|
||||
<!-- <button name="hr_head_approval" string="HR Head Approval" class="oe_highlight"-->
|
||||
<!-- type="object" states="employeed_aproval" groups="hr.group_hr_manager"/>-->
|
||||
|
||||
<button name="employeed_aproval" string="Employee Approval" class="oe_highlight"
|
||||
type="object" states="draft" groups="hr.group_hr_user"/>
|
||||
<button name="end_contract_state" string="End Contract" class="oe_highlight"
|
||||
|
|
@ -22,8 +25,11 @@
|
|||
type="object" attrs="{'invisible':[('state','=','draft')]}" groups="hr.group_hr_user"/>
|
||||
|
||||
<field name="state" widget="statusbar"
|
||||
statusbar_visible="draft,employeed_aproval,hr_head_approval,program_directory,end_contract"/>
|
||||
statusbar_visible="draft,employeed_aproval,program_directory,end_contract"/>
|
||||
</header>
|
||||
|
||||
<!-- statusbar_visible="draft,employeed_aproval,hr_head_approval,program_directory,end_contract"/>-->
|
||||
<!-- -->
|
||||
</header>
|
||||
|
||||
<field name="employee_id" position="replace"/>
|
||||
|
|
@ -288,6 +294,7 @@
|
|||
>
|
||||
<field name="name"/>
|
||||
<field name="employee_id"/>
|
||||
<field name="department_id"/>
|
||||
<field name="job_id"/>
|
||||
<field name="type_id" invisible="1"/>
|
||||
<field name="emp_type"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue