释放occ注释代码
This commit is contained in:
@@ -466,7 +466,6 @@ class Manufacturing_Connect(http.Controller):
|
|||||||
order='id asc')
|
order='id asc')
|
||||||
if workpiece_delivery:
|
if workpiece_delivery:
|
||||||
for wd in workpiece_delivery:
|
for wd in workpiece_delivery:
|
||||||
logging.info('wd.production_id:%s' % wd.production_id.name)
|
|
||||||
if wd.workorder_id.state == 'done' and wd.production_id.production_line_state == '待上产线':
|
if wd.workorder_id.state == 'done' and wd.production_id.production_line_state == '待上产线':
|
||||||
logging.info(
|
logging.info(
|
||||||
'wd.production_line_state:%s' % wd.production_id.production_line_state)
|
'wd.production_line_state:%s' % wd.production_id.production_line_state)
|
||||||
@@ -519,7 +518,6 @@ class Manufacturing_Connect(http.Controller):
|
|||||||
order='id asc')
|
order='id asc')
|
||||||
if workpiece_delivery:
|
if workpiece_delivery:
|
||||||
for wd in workpiece_delivery:
|
for wd in workpiece_delivery:
|
||||||
logging.info('wd.production_id:%s' % wd.production_id.name)
|
|
||||||
if wd.workorder_id.state == 'done' and wd.production_id.production_line_state == '已上产线':
|
if wd.workorder_id.state == 'done' and wd.production_id.production_line_state == '已上产线':
|
||||||
logging.info(
|
logging.info(
|
||||||
'wd.production_line_state:%s' % wd.production_id.production_line_state)
|
'wd.production_line_state:%s' % wd.production_id.production_line_state)
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import os
|
|||||||
from odoo import models, fields, api, _
|
from odoo import models, fields, api, _
|
||||||
from odoo.exceptions import ValidationError
|
from odoo.exceptions import ValidationError
|
||||||
from odoo.modules import get_resource_path
|
from odoo.modules import get_resource_path
|
||||||
# from OCC.Extend.DataExchange import read_step_file
|
from OCC.Extend.DataExchange import read_step_file
|
||||||
# from OCC.Extend.DataExchange import write_stl_file
|
from OCC.Extend.DataExchange import write_stl_file
|
||||||
|
|
||||||
|
|
||||||
class ResProductMo(models.Model):
|
class ResProductMo(models.Model):
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import os
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from stl import mesh
|
from stl import mesh
|
||||||
# from OCC.Core.GProp import GProp_GProps
|
# from OCC.Core.GProp import GProp_GProps
|
||||||
# from OCC.Extend.DataExchange import read_step_file
|
from OCC.Extend.DataExchange import read_step_file
|
||||||
# from OCC.Extend.DataExchange import write_stl_file
|
from OCC.Extend.DataExchange import write_stl_file
|
||||||
from odoo.addons.sf_base.commons.common import Common
|
from odoo.addons.sf_base.commons.common import Common
|
||||||
from odoo import models, fields, api
|
from odoo import models, fields, api
|
||||||
from odoo.modules import get_resource_path
|
from odoo.modules import get_resource_path
|
||||||
|
|||||||
Reference in New Issue
Block a user