0
我想知道哪些表用於保存OpenERP第7版考勤和留言記錄。 我發現resource_resource表,res_users和hr_employee表用於保留員工的記錄。保持以上記錄。OpenERP HR考勤影響表
我想知道哪些表用於保存OpenERP第7版考勤和留言記錄。 我發現resource_resource表,res_users和hr_employee表用於保留員工的記錄。保持以上記錄。OpenERP HR考勤影響表
select
h.id as employee_id,h.name as leave_reason,
e.resource_id,e.name_related,s.name,r.id as resource,r.name as res_name
from
hr_holidays h,hr_employee e,hr_holidays_status s,
resource_resource r
where
h.employee_id=e.id and
h.holiday_status_id=s.id and
e.resource_id=r.id