上传的图像用于项目: 'CST技术支持'
  1. CST技术支持
  2. SLAL2-1885

【bioray】离职交接记录打印与界面显示一致

XMLWord打印

    • Icon: Change Change
    • 解决结果: 完成
    • Icon: High High
    • 202102
    • B-博锐生物 bioray(hisun)
    • bioray
    • 人力资源等
    • 隐藏

      qweb继承视图:
      <?xml version="1.0"?>
      <data>
      <xpath expr="//div[@class='page']/table[1]/tr[1]/td[2]" position="replace">
      <td><span t-field="o.employee_id.display_name"/></td>
      </xpath>
      <xpath expr="//div[@class='page']/table[1]/tr[2]" position="replace">
      <tr>
      <td><span>岗位</span></td>
      <td><span t-field="o.job_id.name"/></td>
      <td><span>离职日期</span></td>
      <td><span t-field="o.leave_time"/></td>
      </tr>
      </xpath>
      <xpath expr="//div[@class='page']/table[1]/tr[3]" position="replace">
      <tr>
      <td colspan="1"><span>组织单元</span></td>
      <td colspan="3"><span t-field="o.employee_id.department_id.display_name"/></td>
      </tr>
      </xpath>
      <xpath expr="//div[@class='page']/table[2]/tr[1]" position="before">
      <tr>
      <td colspan="3">
      <t>
      <span>1、本离职单当由本人亲自填写; 2、请至少提前于最后工作日一周起开始履行离职清单工作。 3、如果您未能及时归还公司的财物,公司将保留上诉的权利。</span>
      <span t-field="o.x_010"/>
      </t>

      </td>
      </tr>
      </xpath>
      <xpath expr="//div[@class='page']/table[3]/tr[1]/td[4]" position="after">
      <tr>
      <td colspan="3"><span>本岗位工作相关文件资料、工艺规程、物品、设备等移交</span></td>
      <td><span t-field="o.x_001"/></td>
      </tr>
      </xpath>
      <xpath expr="//div[@class='page']/table[3]/tr[2]" position="replace">
      <tr>
      <td colspan="4">
      <t>
      其他(请注明):<br/>
      <span t-field="o.handover_remarks"/>
      </t>
      </td>
      </tr>
      </xpath>

      <xpath expr="//div[@class='page']/table[4]" position="replace">

      </xpath>

      <xpath expr="//div[@class='page']/table[4]" position="replace">

      <table class="table table-bordered">
      <h4>财务管理中心</h4>
      <tr>
      <td width="25%"><span>个人借款金额</span></td>
      <td width="25%"><span t-field="o.personal_loan"/></td>
      <td width="25%"><span>是否已结清个人借款</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.cleared_personal_loan)"/></td>
      </tr>
      <tr>
      <td width="25%"><span>备用金</span></td>
      <td width="25%"><span t-field="o.imprest"/></td>
      <td width="25%"><span>是否已结清备用金</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.cleared_imprest)"/></td>
      </tr>
      <tr>
      <td width="25%"><span></span></td>
      <td width="25%"><span/></td>
      <td width="25%"><span>公司信用卡是否归还</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.x_002)"/></td>
      </tr>
      <tr>
      <td colspan="4">
      <t>
      其他(请注明):<br/>
      <span t-field="o.fi_remarks"/>
      </t>
      </td>
      </tr>
      </table>
      </xpath>
      <xpath expr="//div[@class='page']/table[5]" position="replace">

      <table class="table table-bordered">
      <h4>综合办公室(行政相关)</h4>
      <tr>
      <td width="25%"><span>门禁卡/钥匙</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.returned_access_card)"/></td>
      <td width="25%"><span>停车证/车辆出入证</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.returned_keys)"/></td>
      </tr>
      <tr>
      <td width="25%"><span>集体宿舍或招待所退回</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.x_003)"/></td>
      <td width="25%"><span>办公文具</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.x_004)"/></td>
      </tr>
      <tr>
      <td colspan="4">
      <t>
      其他(请注明):<br/>
      <span t-field="o.ad_remarks"/>
      </t>
      </td>
      </tr>
      </table>
      </xpath>
      <xpath expr="//div[@class='page']/table[6]" position="replace">

      <table class="table table-bordered">
      <h4>运营管理中心(IT相关)</h4>
      <tr>
      <td width="25%"><span>交还电脑、笔记本等硬件设备</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.closed_the_email)"/></td>
      <td width="25%"><span>关闭邮箱账号</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.removed_from_wechat_groups)"/></td>
      </tr>
      <tr>
      <td width="25%"><span>关闭OA等所有办公系统账号</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.disable_all_acounts)"/></td>
      </tr>
      <tr>
      <td colspan="4">
      <t>
      其他(请注明):<br/>
      <span t-field="o.ad_remarks"/>
      </t>
      </td>
      </tr>
      </table>
      </xpath>
      <xpath expr="//div[@class='page']/table[6]" position="after">

      <table class="table table-bordered">
      <h4>人力资源管理中心</h4>
      <tr>
      <td width="25%"><span>离职面谈</span></td>
      <td width="25%"><span t-field="o.x_005"/></td>
      <td width="25%"><span>员工标识卡/工作证</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.termination_certification_process)"/></td>
      </tr>
      <tr>
      <td width="25%"><span>员工手册</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.cleared_leave)"/></td>
      <td width="25%"><span>培训费用</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.cleared_social_security)"/></td>
      </tr>
      <tr>
      <td width="25%"><span>竞业限制确认</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.cleared_salary)"/></td>
      <td width="25%"><span>假期、社保、工资结算</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.x_009)"/></td>
      </tr>
      <tr>
      <td width="25%"><span>离职体检、医药费结算</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.x_006)"/></td>
      <td width="25%"><span>退出公司相关微信群确认</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.x_007)"/></td>
      </tr>
      <tr>
      <td width="25%"><span>离职证明</span></td>
      <td width="25%"><span t-esc="get_formatter_field(o.x_008)"/></td>
      </tr>
      <tr>
      <td colspan="4">
      <t>
      其他(请注明):<br/>
      <span t-field="o.ad_remarks"/>
      </t>
      </td>
      </tr>
      </table>
      </xpath>
      </data>

      显示
      qweb继承视图: <?xml version="1.0"?> <data> <xpath expr="//div [@class='page'] /table [1] /tr [1] /td [2] " position="replace"> <td><span t-field="o.employee_id.display_name"/></td> </xpath> <xpath expr="//div [@class='page'] /table [1] /tr [2] " position="replace"> <tr> <td><span>岗位</span></td> <td><span t-field="o.job_id.name"/></td> <td><span>离职日期</span></td> <td><span t-field="o.leave_time"/></td> </tr> </xpath> <xpath expr="//div [@class='page'] /table [1] /tr [3] " position="replace"> <tr> <td colspan="1"><span>组织单元</span></td> <td colspan="3"><span t-field="o.employee_id.department_id.display_name"/></td> </tr> </xpath> <xpath expr="//div [@class='page'] /table [2] /tr [1] " position="before"> <tr> <td colspan="3"> <t> <span>1、本离职单当由本人亲自填写; 2、请至少提前于最后工作日一周起开始履行离职清单工作。 3、如果您未能及时归还公司的财物,公司将保留上诉的权利。</span> <span t-field="o.x_010"/> </t> </td> </tr> </xpath> <xpath expr="//div [@class='page'] /table [3] /tr [1] /td [4] " position="after"> <tr> <td colspan="3"><span>本岗位工作相关文件资料、工艺规程、物品、设备等移交</span></td> <td><span t-field="o.x_001"/></td> </tr> </xpath> <xpath expr="//div [@class='page'] /table [3] /tr [2] " position="replace"> <tr> <td colspan="4"> <t> 其他(请注明):<br/> <span t-field="o.handover_remarks"/> </t> </td> </tr> </xpath> <xpath expr="//div [@class='page'] /table [4] " position="replace"> </xpath> <xpath expr="//div [@class='page'] /table [4] " position="replace"> <table class="table table-bordered"> <h4>财务管理中心</h4> <tr> <td width="25%"><span>个人借款金额</span></td> <td width="25%"><span t-field="o.personal_loan"/></td> <td width="25%"><span>是否已结清个人借款</span></td> <td width="25%"><span t-esc="get_formatter_field(o.cleared_personal_loan)"/></td> </tr> <tr> <td width="25%"><span>备用金</span></td> <td width="25%"><span t-field="o.imprest"/></td> <td width="25%"><span>是否已结清备用金</span></td> <td width="25%"><span t-esc="get_formatter_field(o.cleared_imprest)"/></td> </tr> <tr> <td width="25%"><span></span></td> <td width="25%"><span/></td> <td width="25%"><span>公司信用卡是否归还</span></td> <td width="25%"><span t-esc="get_formatter_field(o.x_002)"/></td> </tr> <tr> <td colspan="4"> <t> 其他(请注明):<br/> <span t-field="o.fi_remarks"/> </t> </td> </tr> </table> </xpath> <xpath expr="//div [@class='page'] /table [5] " position="replace"> <table class="table table-bordered"> <h4>综合办公室(行政相关)</h4> <tr> <td width="25%"><span>门禁卡/钥匙</span></td> <td width="25%"><span t-esc="get_formatter_field(o.returned_access_card)"/></td> <td width="25%"><span>停车证/车辆出入证</span></td> <td width="25%"><span t-esc="get_formatter_field(o.returned_keys)"/></td> </tr> <tr> <td width="25%"><span>集体宿舍或招待所退回</span></td> <td width="25%"><span t-esc="get_formatter_field(o.x_003)"/></td> <td width="25%"><span>办公文具</span></td> <td width="25%"><span t-esc="get_formatter_field(o.x_004)"/></td> </tr> <tr> <td colspan="4"> <t> 其他(请注明):<br/> <span t-field="o.ad_remarks"/> </t> </td> </tr> </table> </xpath> <xpath expr="//div [@class='page'] /table [6] " position="replace"> <table class="table table-bordered"> <h4>运营管理中心(IT相关)</h4> <tr> <td width="25%"><span>交还电脑、笔记本等硬件设备</span></td> <td width="25%"><span t-esc="get_formatter_field(o.closed_the_email)"/></td> <td width="25%"><span>关闭邮箱账号</span></td> <td width="25%"><span t-esc="get_formatter_field(o.removed_from_wechat_groups)"/></td> </tr> <tr> <td width="25%"><span>关闭OA等所有办公系统账号</span></td> <td width="25%"><span t-esc="get_formatter_field(o.disable_all_acounts)"/></td> </tr> <tr> <td colspan="4"> <t> 其他(请注明):<br/> <span t-field="o.ad_remarks"/> </t> </td> </tr> </table> </xpath> <xpath expr="//div [@class='page'] /table [6] " position="after"> <table class="table table-bordered"> <h4>人力资源管理中心</h4> <tr> <td width="25%"><span>离职面谈</span></td> <td width="25%"><span t-field="o.x_005"/></td> <td width="25%"><span>员工标识卡/工作证</span></td> <td width="25%"><span t-esc="get_formatter_field(o.termination_certification_process)"/></td> </tr> <tr> <td width="25%"><span>员工手册</span></td> <td width="25%"><span t-esc="get_formatter_field(o.cleared_leave)"/></td> <td width="25%"><span>培训费用</span></td> <td width="25%"><span t-esc="get_formatter_field(o.cleared_social_security)"/></td> </tr> <tr> <td width="25%"><span>竞业限制确认</span></td> <td width="25%"><span t-esc="get_formatter_field(o.cleared_salary)"/></td> <td width="25%"><span>假期、社保、工资结算</span></td> <td width="25%"><span t-esc="get_formatter_field(o.x_009)"/></td> </tr> <tr> <td width="25%"><span>离职体检、医药费结算</span></td> <td width="25%"><span t-esc="get_formatter_field(o.x_006)"/></td> <td width="25%"><span>退出公司相关微信群确认</span></td> <td width="25%"><span t-esc="get_formatter_field(o.x_007)"/></td> </tr> <tr> <td width="25%"><span>离职证明</span></td> <td width="25%"><span t-esc="get_formatter_field(o.x_008)"/></td> </tr> <tr> <td colspan="4"> <t> 其他(请注明):<br/> <span t-field="o.ad_remarks"/> </t> </td> </tr> </table> </xpath> </data>

      人力资源——人事事件——员工离职——离职交接记录中的打印下的离职交接与界面目前显示的不一致。界面目前显示的视图是之前根据客户要求进行更改,烦请协助处理,谢谢!

        1. Termination Process.pdf
          48 kB
        2. image.png
          image.png
          155 kB
        3. image.png
          image.png
          147 kB

            grant.yang 杨光磊
            victor.huan 环志伟
            表决:
            0 为这个问题表决

              创建日期:
              已更新:
              已解决: