增加必填按钮 修改字段string

This commit is contained in:
qihao.gong@jikimo.com
2024-03-14 14:28:38 +08:00
parent b315f4b3fe
commit 20436ff6ac
4 changed files with 14 additions and 9 deletions

View File

@@ -76,6 +76,13 @@
<field name="equipment_maintenance_id"/>
</xpath>
<xpath expr="//field[@name='user_id']" position="replace">
<field name="user_id" string="维保人"/>
</xpath>
<xpath expr="//field[@name='close_date']" position="replace">
<field name="close_date" attrs="{'invisible': [('done', '!=', True)]}" readonly="True" string="维保日期"/>
</xpath>
<sheet>
<notebook>
@@ -92,6 +99,7 @@
</page>
</notebook>
</sheet>