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

Pro-字段默认逻辑

XMLWord打印

    • Icon: Change Change
    • 解决结果: 完成
    • Icon: Medium Medium
    • 202012
    • Y-易路产品-
    • 基础通用功能
    • 隐藏

      入职前工龄(x_onboardbeforeworkyear)=工龄(social_working_age)-司龄(inner_working_age)

      for record in self:
      if record.social_working_age and record.inner_working_age:
      record['x_onboardbeforeworkyear'] = str(record.social_working_age-record.inner_working_age)
      else:
      record['x_onboardbeforeworkyear'] = 0

      显示
      入职前工龄(x_onboardbeforeworkyear)=工龄(social_working_age)-司龄(inner_working_age) for record in self: if record.social_working_age and record.inner_working_age: record ['x_onboardbeforeworkyear'] = str(record.social_working_age-record.inner_working_age) else: record ['x_onboardbeforeworkyear'] = 0

      入职前工龄(x_onboardbeforeworkyear)=工龄(social_working_age)-司龄(inner_working_age)

            wenqiang.liu 刘文强
            eva.chen 陈小娟
            表决:
            0 为这个问题表决

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