This commit is contained in:
qihao.gong@jikimo.com
2023-09-15 14:26:04 +08:00
parent 757a1ef102
commit d78fe872ae
2 changed files with 9 additions and 5 deletions

View File

@@ -53,8 +53,8 @@
</div>
</xpath>
<xpath expr="//field[@name='category_id']" position="after">
<field name="state_zc" readonly="1"/>
<field name="code" readonly="1"/>
<field name="state_zc"/>
<field name="code"/>
<field name="equipment_type" invisible="1"/>
<field name="brand_id" attrs="{'invisible': [('equipment_type', '!=', '机床')]}"
@@ -177,15 +177,19 @@
</page>
<page string="图文展示">
<page string="加工能力">
<field name='image_id' widget="custom_many2many_checkboxes">
<tree editable="bottom">
<tree>
<field name="name"/>
<field name="image" widget="image"
options="{'size': [100, 100], 'click enlarge': True}"/>
</tree>
</field>
</page>