From 324ed283c4bbe6787208683896ee4e83a263e1b3 Mon Sep 17 00:00:00 2001 From: guanhuan Date: Tue, 27 Aug 2024 10:01:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=98=E5=B7=A5=E5=AF=B9=E8=B1=A1=E5=86=85?= =?UTF-8?q?=E2=80=9D=E5=B7=A5=E4=BD=9C=E7=94=B5=E5=AD=90=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E2=80=9C=E5=AD=97=E6=AE=B5=E5=8F=98=E4=B8=BA=E5=BF=85=E5=A1=AB?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_hr/__init__.py | 3 +++ sf_hr/__manifest__.py | 22 ++++++++++++++++++++++ sf_hr/models/__init__.py | 2 ++ sf_hr/security/ir.model.access.csv | 0 sf_hr/views/hr_employee.xml | 15 +++++++++++++++ 5 files changed, 42 insertions(+) create mode 100644 sf_hr/__init__.py create mode 100644 sf_hr/__manifest__.py create mode 100644 sf_hr/models/__init__.py create mode 100644 sf_hr/security/ir.model.access.csv create mode 100644 sf_hr/views/hr_employee.xml diff --git a/sf_hr/__init__.py b/sf_hr/__init__.py new file mode 100644 index 00000000..cde864ba --- /dev/null +++ b/sf_hr/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import models diff --git a/sf_hr/__manifest__.py b/sf_hr/__manifest__.py new file mode 100644 index 00000000..aaf9cfc7 --- /dev/null +++ b/sf_hr/__manifest__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. +{ + 'name': '机企猫智能工厂 员工管理', + 'version': '1.0', + 'summary': '智能工厂员工模块', + 'sequence': 1, + 'category': 'sf', + 'website': 'https://www.sf.jikimo.com', + 'depends': ['hr'], + 'data': [ + 'views/hr_employee.xml', + ], + 'demo': [ + ], + 'qweb': [ + ], + 'license': 'LGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/sf_hr/models/__init__.py b/sf_hr/models/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/sf_hr/models/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/sf_hr/security/ir.model.access.csv b/sf_hr/security/ir.model.access.csv new file mode 100644 index 00000000..e69de29b diff --git a/sf_hr/views/hr_employee.xml b/sf_hr/views/hr_employee.xml new file mode 100644 index 00000000..a3db9076 --- /dev/null +++ b/sf_hr/views/hr_employee.xml @@ -0,0 +1,15 @@ + + + + + employee_form + hr.employee + + + + 1 + + + + + \ No newline at end of file