修改设备模块

This commit is contained in:
qihao.gong@jikimo.com
2023-07-28 15:33:31 +08:00
parent 2b69524c57
commit 06de46c084
6 changed files with 2 additions and 29 deletions

View File

@@ -29,20 +29,6 @@
<group>
<field name="maintenance_equipment_ids" widget="many2many_tags" attrs="{'invisible': [('maintenance_equipment_category_id', '=', False)]}"/>
</group>
<notebook>
<page string="维保项目">
<field name="maintenance_standards_ids" widget="ony2many">
<tree editable="top" create="true" string="维保项目">
<field name="sequence"/>
<field name="device_unit"/>
<field name="name"/>
<field name="maintenance_standards"/>
<field name="cycle"/>
</tree>
</field>
</page>
</notebook>
</sheet>
</form>
</field>

View File

@@ -160,8 +160,6 @@
<xpath expr="//div[@class='o_row'][field[@name='maintenance_duration']]" position="after">
<field name='eq_maintenance_maintenance_standards_ids'/>
<field name='overhaul_maintenance_standards_ids'/>
<field name='overhaul_id'/>
<field name="overhaul_date" string="下次预防检修"/>
<label for="overhaul_period" string="预防检修频次"/>