Merge pull request #3493 from expsa/hr_traning_table
modify on official_mission_id2
This commit is contained in:
commit
6ecb1314c8
|
|
@ -287,12 +287,7 @@
|
|||
<group>
|
||||
<group>
|
||||
<field name="employee_id" readonly="1"/>
|
||||
<!-- <field name="official_mission_id" readonly="1"/>-->
|
||||
<field name="official_mission_id"
|
||||
readonly="1"
|
||||
context="{'form_view_ref': 'exp_official_mission.employee_training_action'}"
|
||||
/>
|
||||
<!-- options="{'no_create': True}"–>-->
|
||||
<field name="official_mission_id" readonly="1"/>
|
||||
<field name="days" readonly="1"/>
|
||||
</group>
|
||||
<group>
|
||||
|
|
|
|||
|
|
@ -542,7 +542,12 @@
|
|||
<group>
|
||||
<group>
|
||||
<field name="employee_id" readonly="1" />
|
||||
<field name="official_mission_id" readonly="1" string='Mission Type' />
|
||||
<!-- <field name="official_mission_id" readonly="1" string='Mission Type' />-->
|
||||
<field name="official_mission_id"
|
||||
readonly="1"
|
||||
string='Mission Type'
|
||||
context="{'form_view_ref': 'exp_official_mission.employee_training_action'}"
|
||||
/>
|
||||
<field name="days" readonly="1" />
|
||||
<field name="hours" readonly="1" widget="float_time" />
|
||||
</group>
|
||||
|
|
@ -594,6 +599,7 @@
|
|||
<field name="hour_from" widget="float_time" />
|
||||
<field name="hour_to" widget="float_time" />
|
||||
<field name="hours" widget="float_time" />
|
||||
<field name="total_hours" widget="float_time" />
|
||||
<field name="appraisal_id" invisible="1" />
|
||||
<field name="appraisal_result"
|
||||
attrs="{'invisible':[('appraisal_id','=',False)]}" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue