放开注释
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
<record id="sf_group_equipment_manager" model="res.groups">
|
||||
<field name="name">设备总监</field>
|
||||
<field name="implied_ids" eval="[(4, ref('sf_group_equipment_user'))]"/>
|
||||
<field name="category_id" ref="base.module_category_manufacturing_maintenance"/>
|
||||
<field name="category_id" ref="base.
|
||||
"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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__)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user