diff --git a/sf_maintenance/security/group_security.xml b/sf_maintenance/security/group_security.xml
index e5a90368..4966ef8a 100644
--- a/sf_maintenance/security/group_security.xml
+++ b/sf_maintenance/security/group_security.xml
@@ -1,5 +1,7 @@
-
+
+
+
维保岗
@@ -11,7 +13,44 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sf_maintenance/views/maintenance_views.xml b/sf_maintenance/views/maintenance_views.xml
index ff0b6e73..b7cb707e 100644
--- a/sf_maintenance/views/maintenance_views.xml
+++ b/sf_maintenance/views/maintenance_views.xml
@@ -50,7 +50,9 @@
+ attrs="{'invisible': [('equipment_type', '!=', '机床'), ('brand_id','!=',False),
+ ('type_id','!=',False),('control_system_id','!=',False),('code','!=', False)]}"
+ groups="sf_maintenance.sf_group_equipment_manager"/>
diff --git a/sf_manufacturing/models/product_template.py b/sf_manufacturing/models/product_template.py
index 5a079abe..29aa7c67 100644
--- a/sf_manufacturing/models/product_template.py
+++ b/sf_manufacturing/models/product_template.py
@@ -6,8 +6,8 @@ import os
from odoo import models, fields, api, _
from odoo.exceptions import ValidationError
from odoo.modules import get_resource_path
-from OCC.Extend.DataExchange import read_step_file
-from OCC.Extend.DataExchange import write_stl_file
+#from OCC.Extend.DataExchange import read_step_file
+#from OCC.Extend.DataExchange import write_stl_file
class ResProductMo(models.Model):
diff --git a/sf_sale/models/auto_quatotion_common.py b/sf_sale/models/auto_quatotion_common.py
index 09ea3f0f..1b29c6d2 100644
--- a/sf_sale/models/auto_quatotion_common.py
+++ b/sf_sale/models/auto_quatotion_common.py
@@ -2,7 +2,7 @@
import logging
from odoo.modules import get_resource_path
from odoo import fields, models, api
-from quatotion import readSql, feature_recognize, auto_quatotion
+#from quatotion import readSql, feature_recognize, auto_quatotion
__author__ = 'jinling.yang'
_logger = logging.getLogger(__name__)
diff --git a/sf_sale/models/quick_easy_order.py b/sf_sale/models/quick_easy_order.py
index 1e5f274c..5ec1fd52 100644
--- a/sf_sale/models/quick_easy_order.py
+++ b/sf_sale/models/quick_easy_order.py
@@ -5,8 +5,8 @@ import os
import json
from datetime import datetime
import requests
-from OCC.Extend.DataExchange import read_step_file
-from OCC.Extend.DataExchange import write_stl_file
+#from OCC.Extend.DataExchange import read_step_file
+#from OCC.Extend.DataExchange import write_stl_file
from odoo import models, fields, api
from odoo.modules import get_resource_path
from odoo.exceptions import ValidationError, UserError
diff --git a/sf_sale/security/group_security.xml b/sf_sale/security/group_security.xml
index 33890d49..b94c67c3 100644
--- a/sf_sale/security/group_security.xml
+++ b/sf_sale/security/group_security.xml
@@ -1,42 +1,42 @@
-
- 销售经理只可以查看本人所在的团队
-
- [('crm_team_member_ids.user_id','=',user.id)]
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
- 销售总监
-
- [(1,'=',1)]
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
- 销售总监查看所有的订单
-
- [(1,'=',1)]
-
-
-
-
+
+
+
+
+
+
+
+
-
- 销售经理查看自己的订单
-
- ['|',('partner_id','=',user.partner_id.id),('create_uid', '=',user.id)]
-
-
-
-
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file