修改设备看板
This commit is contained in:
@@ -292,7 +292,7 @@
|
|||||||
#{record.state.raw_value == '不可用' ? 'kanban_color_3' : ''}">
|
#{record.state.raw_value == '不可用' ? 'kanban_color_3' : ''}">
|
||||||
|
|
||||||
<field name="machine_tool_picture" class="o_kanban_image_fill_left d-block my-image"
|
<field name="machine_tool_picture" class="o_kanban_image_fill_left d-block my-image"
|
||||||
preview_image="image_128" widget="background_image"/>
|
preview_image="image_128" widget="image"/>
|
||||||
<!-- <field name="machine_tool_picture" widget="image" options="{'previewImage': false}"/>-->
|
<!-- <field name="machine_tool_picture" widget="image" options="{'previewImage': false}"/>-->
|
||||||
<div class="add_flex">
|
<div class="add_flex">
|
||||||
<div class="o_kanban_card_header">
|
<div class="o_kanban_card_header">
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ class ResConfigSettings(models.TransientModel):
|
|||||||
self.env['sf.functional.fixture.type'].sync_all_functional_fixture_type()
|
self.env['sf.functional.fixture.type'].sync_all_functional_fixture_type()
|
||||||
_logger.info("同步功能夹具类型")
|
_logger.info("同步功能夹具类型")
|
||||||
self.env['sf.functional.fixture'].sync_all_functional_fixture()
|
self.env['sf.functional.fixture'].sync_all_functional_fixture()
|
||||||
|
self.env['sf.machine_tool.type'].sync_all_machine_tool_type()
|
||||||
_logger.info("同步资源库机床型号")
|
_logger.info("同步资源库机床型号")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
_logger.info("捕获错误信息:%s" % e)
|
_logger.info("捕获错误信息:%s" % e)
|
||||||
|
|||||||
Reference in New Issue
Block a user