解决频繁报错弹窗,新增判断

This commit is contained in:
黄焱
2024-03-15 10:10:17 +08:00
parent 2352f862ee
commit f639e59b91
2 changed files with 7 additions and 5 deletions

View File

@@ -981,16 +981,16 @@
<xpath expr="//field[@name='next_action_date']" position="before">
<field name='eq_maintenance_id' force_save="1" widget="many2one" class="custom_required"/>
<field name='eq_maintenance_id' force_save="1" widget="many2one"/>
</xpath>
<xpath expr="//div[hasclass('o_row')][field[@name='maintenance_duration']]" position="after">
<field name='overhaul_id' class="custom_required"/>
<field name='overhaul_id'/>
<field name="overhaul_date" string="下次预防检修"/>
<label for="overhaul_period" string="预防检修频次" class="custom_required"/>
<label for="overhaul_period" string="预防检修频次"/>
<div class="o_row">
<field name="overhaul_period"/>
days