BT50
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user