diff --git a/sf_base/static/src/scss/test.scss b/sf_base/static/src/scss/test.scss index 8495e5cd..39c5250f 100644 --- a/sf_base/static/src/scss/test.scss +++ b/sf_base/static/src/scss/test.scss @@ -130,3 +130,20 @@ td.o_required_modifier { .o_list_renderer .o_list_table tbody > tr > td:not(.o_list_record_selector):not(.o_handle_cell):not(.o_list_button):not(.o_list_record_remove) { white-space: nowrap !important; } + +.o_status { + width: 18px; + height: 18px; +} + +.czyg { + font-size: 12px; + margin-right: 10px; + color: #aaa; +} + +.o_kanban_primary_left { + display: flex; + flex-direction: row-reverse; + justify-content: flex-start; +} \ No newline at end of file diff --git a/sf_manufacturing/models/product_template.py b/sf_manufacturing/models/product_template.py index dbeb7814..fad83379 100644 --- a/sf_manufacturing/models/product_template.py +++ b/sf_manufacturing/models/product_template.py @@ -1,8 +1,8 @@ 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 import logging import base64 import hashlib diff --git a/sf_manufacturing/views/mrp_workcenter_views.xml b/sf_manufacturing/views/mrp_workcenter_views.xml index cda445ec..48487bfd 100644 --- a/sf_manufacturing/views/mrp_workcenter_views.xml +++ b/sf_manufacturing/views/mrp_workcenter_views.xml @@ -43,6 +43,12 @@ + + + +
绿色:正常,红色:故障,黄色:下线/暂停
+ +