去掉自定义barcode,暂时取消同步功能刀具
This commit is contained in:
@@ -54,9 +54,9 @@ class ResConfigSettings(models.TransientModel):
|
|||||||
_logger.info("同步所有刀具型号...")
|
_logger.info("同步所有刀具型号...")
|
||||||
self.env['sf.cutting.tool.model'].sync_all_tool_model()
|
self.env['sf.cutting.tool.model'].sync_all_tool_model()
|
||||||
_logger.info("同步所有刀具型号完成")
|
_logger.info("同步所有刀具型号完成")
|
||||||
_logger.info("同步所有功能刀具列表...")
|
# _logger.info("同步所有功能刀具列表...")
|
||||||
self.env['sf.functional.cutting.tool'].sync_all_functional_cutting_tool()
|
# self.env['sf.functional.cutting.tool'].sync_all_functional_cutting_tool()
|
||||||
_logger.info("同步所有功能刀具列表完成")
|
# _logger.info("同步所有功能刀具列表完成")
|
||||||
self.env['sf.fixture.material'].sync_all_fixture_material()
|
self.env['sf.fixture.material'].sync_all_fixture_material()
|
||||||
_logger.info("同步夹具物料")
|
_logger.info("同步夹具物料")
|
||||||
self.env['sf.multi_mounting.type'].sync_all_multi_mounting_type()
|
self.env['sf.multi_mounting.type'].sync_all_multi_mounting_type()
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<record id="view_location_tree2_sf_inherit" model="ir.ui.view">
|
<!-- <record id="view_location_tree2_sf_inherit" model="ir.ui.view"> -->
|
||||||
<field name="name">stock.location.tree.sf.inherit</field>
|
<!-- <field name="name">stock.location.tree.sf.inherit</field> -->
|
||||||
<field name="model">stock.location</field>
|
<!-- <field name="model">stock.location</field> -->
|
||||||
<field name="inherit_id" ref="stock.view_location_tree2"/>
|
<!-- <field name="inherit_id" ref="stock.view_location_tree2"/> -->
|
||||||
<field name="arch" type="xml">
|
<!-- <field name="arch" type="xml"> -->
|
||||||
<xpath expr="//tree/field[@name='complete_name']" position="before">
|
<!-- <xpath expr="//tree/field[@name='complete_name']" position="before"> -->
|
||||||
<field name="barcode"/>
|
<!-- <field name="barcode"/> -->
|
||||||
</xpath>
|
<!-- </xpath> -->
|
||||||
</field>
|
<!-- </field> -->
|
||||||
</record>
|
<!-- </record> -->
|
||||||
|
|
||||||
<record id="view_location_form_sf_inherit" model="ir.ui.view">
|
<record id="view_location_form_sf_inherit" model="ir.ui.view">
|
||||||
<field name="name">stock.location.form.sf.inherit</field>
|
<field name="name">stock.location.form.sf.inherit</field>
|
||||||
|
|||||||
Reference in New Issue
Block a user