-
Change
-
解决结果: 完成
-
Medium
-
无
-
L-连通技术-Y2019094
-
时间管理
-
隐藏
继承视图:
{'all_employee':1}
<?xml version="1.0"?>
<data>
<xpath expr="//sheet[1]" position="replace">
<sheet>
<div>
<div>
<label for="name"/>
<h1>
<field name="name" placeholder="ID" style="width: 50%" readonly="1"/>
</h1>
</div>
</div>
<br/>
<group>
<group>
<field name="employee_dimission_id" invisible="1"/>
<field name="employee_id" context="" readonly="1"/>
<field name="department_id"/>
<field name="location_id" invisible="1" readonly="1"/>
<field name="job_id"/>
<field name="job_category_id" invisible="1"/>
</group>
<group>
<field name="expected_departure_date"/>
<field name="leave_time"/>
</group>
</group><br/>
<!-<h2><label for="termination_notification" string="Termination Notification" style="color:#3D82BF;"/></h2>->
<!-<group string="Attendance Information" name="attendance_information">->
<!-</group>->
<!-<div>->
<!-<field name="termination_notification"/>->
<!-</div>-><!-
<group string="Termination Notification">->
<!-<div>->
<!-<field name="termination_notification"/>->
<!-</div>->
<!-<field name="attachment_ids" widget="many2many_tags"/>->
<!-<field name="remarks"/>->
<!-</group>-><group string="离职交接须知" name="termination_notification">
<field name="termination_notification" nolabel="1" class="oe_inline"/>
</group>
<group>
<field name="attachment_ids" widget="many2many_binary"/>
<field name="remarks"/>
</group><br/>
<!-<label for="id" string="Department Handover" style="color:#3D82BF;"/>->
<group string="所在部门" name="department_handover">
<!-<field name="finished_work_handover"/>->
<!-<field name="handover_to"/>->
<!-- <field name="handover_remarks"/>-->
<field name="x_db_name_card"/>
<field name="x_document"/>
<field name="x_partners_card"/>
<field name="x_produce_price_list"/>
<field name="x_cancel_test_card"/>
</group>
<group string="行政" name="administrative_department">
<field name="x_key"/>
<field name="x_writing"/>
<field name="x_otherthings"/>
<field name="x_other"/>
</group>
<group string="财务部门" name="finance_department">
<field name="x_redit"/>
<field name="x_travel_reimbursement"/>
<field name="x_other_fin"/>
</group>
<group string="技术部门" name="it_department">
<field name="x_return_the_computer"/>
<field name="x_return_the_external_device"/>
<field name="x_return_the_telephone"/>
<field name="x_delete_work_mailbox"/>
<field name="x_door_card_printer_unbinding"/>
<field name="x_software_deactivation"/>
<field name="x_other_it"/>
<group string="信息安全" name="info_safe">
<field name="x_classified_authority"/>
<field name="x_delete_rsa_token"/>
<field name="x_other_safe"/>
</group>
</group>
<group string="日常运营团队(NPM)" name="NPM_department">
<field name="x_delete_unionpay_login_account"/>
<field name="x_resignation_email"/>
<field name="x_mail_archive"/>
</group>
<group string="办公环境安全" name="bghjaq_department">
<field name="x_company_access_card"/>
<field name="x_other_bghjaq"/>
</group>
<group string="地产及行政" name="dcxz_department">
<field name="x_office_building_elevator_card"/>
<field name="x_parking_space"/>
<field name="x_other_dcxz"/>
</group>
<group string="人力资源部" name="rlzy_department">
<field name="x_letter_of_resignation"/>
<field name="x_termination_of_labor_contract"/>
<field name="x_term_of_service"/>
<field name="x_noncompete_agreement"/>
<field name="x_wage_settlement"/>
<field name="x_other_rlzy"/>
</group>
<br/>
<!-<label for="id" string="IT Department" style="color:#3D82BF;"/>->
<!-<group string="IT Department" name="it_department">->
<!-- <field name="closed_the_email"/>-->
<!-- <field name="removed_from_wechat_groups"/>-->
<!-- <field name="disable_all_acounts"/>-->
<!-- <field name="return_computer"/>-->
<!-- <field name="it_remarks"/>-->
<!-</group>-><!-
<br/>->
<!-<label for="id" string="Finance Department" style="color:#3D82BF;"/>->
<!-<group string="Finance Department" name="finance_department">->
<!-- <group>-->
<!-- <field name="personal_loan"/>-->
<!-- <field name="imprest"/>-->
<!-- </group>-->
<!-- <group>-->
<!-- <field name="cleared_personal_loan"/>-->
<!-- <field name="cleared_imprest"/>-->
<!-- </group>-->
<!-- <group colspan="4">-->
<!-- <field name="fi_remarks"/>-->
<!-- </group>--><!-
</group>-><!-
<br/>->
<!-<label for="id" string="Administrative Department" style="color:#3D82BF;"/>->
<!-<group string="Administrative Department" name="administrative_department">->
<!-- <field name="returned_access_card"/>-->
<!-- <field name="returned_keys"/>-->
<!-- <field name="ad_remarks"/>-->
<!-</group>-><!-
<br/>->
<!-<label for="id" string="HR Department" style="color:#3D82BF;"/>->
<!-<group string="HR Department" name="hr_department">->
<!-- <field name="termination_certification_process"/>-->
<!-- <field name="cleared_leave"/>-->
<!-- <field name="cleared_social_security"/>-->
<!-- <field name="cleared_salary"/>-->
<!-- <field name="hr_remarks"/>-->
<!-</group>->
<label for="notify_ids"/>
<field name="notify_ids" readonly="1"/>
</sheet>
</xpath>
</data>显示继承视图: <?xml version="1.0"?> <data> <xpath expr="//sheet [1] " position="replace"> <sheet> <div> <div> <label for="name"/> <h1> <field name="name" placeholder="ID" style="width: 50%" readonly="1"/> </h1> </div> </div> <br/> <group> <group> <field name="employee_dimission_id" invisible="1"/> <field name="employee_id" context=" {'all_employee':1} " readonly="1"/> <field name="department_id"/> <field name="location_id" invisible="1" readonly="1"/> <field name="job_id"/> <field name="job_category_id" invisible="1"/> </group> <group> <field name="expected_departure_date"/> <field name="leave_time"/> </group> </group> <br/> <!- <h2><label for="termination_notification" string="Termination Notification" style="color:#3D82BF;"/></h2> -> <!- <group string="Attendance Information" name="attendance_information"> -> <!- </group> -> <!- <div> -> <!- <field name="termination_notification"/> -> <!- </div> -> <!- <group string="Termination Notification"> -> <!- <div> -> <!- <field name="termination_notification"/> -> <!- </div> -> <!- <field name="attachment_ids" widget="many2many_tags"/> -> <!- <field name="remarks"/> -> <!- </group> -> <group string="离职交接须知" name="termination_notification"> <field name="termination_notification" nolabel="1" class="oe_inline"/> </group> <group> <field name="attachment_ids" widget="many2many_binary"/> <field name="remarks"/> </group> <br/> <!- <label for="id" string="Department Handover" style="color:#3D82BF;"/> -> <group string="所在部门" name="department_handover"> <!- <field name="finished_work_handover"/> -> <!- <field name="handover_to"/> -> <!-- <field name="handover_remarks"/>--> <field name="x_db_name_card"/> <field name="x_document"/> <field name="x_partners_card"/> <field name="x_produce_price_list"/> <field name="x_cancel_test_card"/> </group> <group string="行政" name="administrative_department"> <field name="x_key"/> <field name="x_writing"/> <field name="x_otherthings"/> <field name="x_other"/> </group> <group string="财务部门" name="finance_department"> <field name="x_redit"/> <field name="x_travel_reimbursement"/> <field name="x_other_fin"/> </group> <group string="技术部门" name="it_department"> <field name="x_return_the_computer"/> <field name="x_return_the_external_device"/> <field name="x_return_the_telephone"/> <field name="x_delete_work_mailbox"/> <field name="x_door_card_printer_unbinding"/> <field name="x_software_deactivation"/> <field name="x_other_it"/> <group string="信息安全" name="info_safe"> <field name="x_classified_authority"/> <field name="x_delete_rsa_token"/> <field name="x_other_safe"/> </group> </group> <group string="日常运营团队(NPM)" name="NPM_department"> <field name="x_delete_unionpay_login_account"/> <field name="x_resignation_email"/> <field name="x_mail_archive"/> </group> <group string="办公环境安全" name="bghjaq_department"> <field name="x_company_access_card"/> <field name="x_other_bghjaq"/> </group> <group string="地产及行政" name="dcxz_department"> <field name="x_office_building_elevator_card"/> <field name="x_parking_space"/> <field name="x_other_dcxz"/> </group> <group string="人力资源部" name="rlzy_department"> <field name="x_letter_of_resignation"/> <field name="x_termination_of_labor_contract"/> <field name="x_term_of_service"/> <field name="x_noncompete_agreement"/> <field name="x_wage_settlement"/> <field name="x_other_rlzy"/> </group> <br/> <!- <label for="id" string="IT Department" style="color:#3D82BF;"/> -> <!- <group string="IT Department" name="it_department"> -> <!-- <field name="closed_the_email"/>--> <!-- <field name="removed_from_wechat_groups"/>--> <!-- <field name="disable_all_acounts"/>--> <!-- <field name="return_computer"/>--> <!-- <field name="it_remarks"/>--> <!- </group> -> <!- <br/> -> <!- <label for="id" string="Finance Department" style="color:#3D82BF;"/> -> <!- <group string="Finance Department" name="finance_department"> -> <!-- <group>--> <!-- <field name="personal_loan"/>--> <!-- <field name="imprest"/>--> <!-- </group>--> <!-- <group>--> <!-- <field name="cleared_personal_loan"/>--> <!-- <field name="cleared_imprest"/>--> <!-- </group>--> <!-- <group colspan="4">--> <!-- <field name="fi_remarks"/>--> <!-- </group>--> <!- </group> -> <!- <br/> -> <!- <label for="id" string="Administrative Department" style="color:#3D82BF;"/> -> <!- <group string="Administrative Department" name="administrative_department"> -> <!-- <field name="returned_access_card"/>--> <!-- <field name="returned_keys"/>--> <!-- <field name="ad_remarks"/>--> <!- </group> -> <!- <br/> -> <!- <label for="id" string="HR Department" style="color:#3D82BF;"/> -> <!- <group string="HR Department" name="hr_department"> -> <!-- <field name="termination_certification_process"/>--> <!-- <field name="cleared_leave"/>--> <!-- <field name="cleared_social_security"/>--> <!-- <field name="cleared_salary"/>--> <!-- <field name="hr_remarks"/>--> <!- </group> -> <label for="notify_ids"/> <field name="notify_ids" readonly="1"/> </sheet> </xpath> </data>
连通测试站:需要在离职交接记录中添加日常运营团队(NPM)、办公环境安全、地产及行政、员工等字段的视图