shcool/yuthon_employee/__manifest__.py
2026-07-31 18:15:34 +08:00

34 lines
1.2 KiB
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
'name': 'Yuthon 员工管理',
'version': '18.0.1.0.0',
'summary': '大学人事基础:教职工档案(工号/部门/岗位/基本工资)',
'description': """
教学模块①基础层yuthon_employee
======================================
定义教职工(员工)主数据模型 yuthon.employee是整个「出勤-薪资」体系的
数据根root。后续 yuthon_attendance、yuthon_salary 都依赖本模块。
教学要点:
- 模型定义_name / _description
- 字段类型Char / Selection / Float / Date / Boolean
- 唯一约束_sql_constraints工号不可重复
- 模块组合:被其它模块通过 _inherit 追加反向关联attendance_ids / payslip_ids
- ACLir.model.access.csv 授权
""",
'author': 'Yuthon',
'website': '',
'category': 'Education',
'depends': ['base', 'web'],
'data': [
'security/ir.model.access.csv',
'views/employee_views.xml',
],
'demo': [
'data/demo.xml',
],
'license': 'LGPL-3',
'installable': True,
'application': True,
'auto_install': False,
}