From ebb800754991f785233bc448b77a72beeca7fe7c Mon Sep 17 00:00:00 2001 From: hujiaying Date: Tue, 27 Aug 2024 09:46:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=94=80=E5=94=AE=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=86=85=E2=80=9D=E5=8F=96=E6=B6=88=E2=80=9C=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=8F=98=E4=B8=BA=E2=80=9D=E6=8B=92=E7=BB=9D=E6=8E=A5=E5=8D=95?= =?UTF-8?q?=E2=80=9C=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_sale/views/sale_order_view.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sf_sale/views/sale_order_view.xml b/sf_sale/views/sale_order_view.xml index d5af8ebd..ee34fc3e 100644 --- a/sf_sale/views/sale_order_view.xml +++ b/sf_sale/views/sale_order_view.xml @@ -129,6 +129,9 @@ {'readonly': [('state', 'in', ['cancel','sale'])]} + + 拒绝接单 + From 324ed283c4bbe6787208683896ee4e83a263e1b3 Mon Sep 17 00:00:00 2001 From: guanhuan Date: Tue, 27 Aug 2024 10:01:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=91=98=E5=B7=A5=E5=AF=B9=E8=B1=A1?= =?UTF-8?q?=E5=86=85=E2=80=9D=E5=B7=A5=E4=BD=9C=E7=94=B5=E5=AD=90=E9=82=AE?= =?UTF-8?q?=E4=BB=B6=E2=80=9C=E5=AD=97=E6=AE=B5=E5=8F=98=E4=B8=BA=E5=BF=85?= =?UTF-8?q?=E5=A1=AB=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