Files
gzth/yuthon_report/views/staff_position_report.xml
T
2026-03-12 20:13:19 +08:00

39 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="action_staff_position_report" model="ir.actions.client">
<field name="name">人员岗位报表</field>
<field name="tag">att_report_client</field>
<field name="context">
{
"report_config": {
"model": "hr.job",
"method": "get_staff_position_report",
"columns": [
{"headerName": "部门", "field": "部门", "flex": 1.5},
{"headerName": "岗位", "field": "岗位", "flex": 1.5},
{"headerName": "编制数", "field": "编制数", "flex": 0.8, "type": "number"},
{"headerName": "在岗人数", "field": "在岗人数", "flex": 0.8, "type": "number"},
{"headerName": "上月人数", "field": "上月人数", "flex": 0.8, "type": "number"},
{"headerName": "变动情况", "field": "变动情况", "flex": 1},
{"headerName": "缺岗人数", "field": "缺岗人数", "flex": 0.8, "type": "number"},
{"headerName": "编制外人数", "field": "编制外人数", "flex": 0.8, "type": "number"},
{"headerName": "状态", "field": "状态", "flex": 0.8},
{"headerName": "在岗人员", "field": "在岗人员", "flex": 2},
{"headerName": "公司", "field": "公司", "flex": 1}
]
}
}
</field>
</record>
<menuitem
id="menu_staff_position_report"
name="人员岗位报表"
parent="yuthon_property_approval.property_approval_report_menu"
action="action_staff_position_report"
sequence="420"
/>
</data>
</odoo>