处理机床能力数据
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
<!-- <field string="Maintenance" name="maintenance_count" widget="statinfo"/>-->
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
|
||||
|
||||
<button name="%(action_maintenance_logs)d"
|
||||
type="action"
|
||||
class="oe_stat_button"
|
||||
@@ -46,6 +47,10 @@
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='maintenance_team_id']" position="before">
|
||||
<field name="machine_tool_picture" widget="image"/>
|
||||
<label for="enroll_machine_tool"/>
|
||||
<div class="col-12 col-lg-6 o_setting_box" style="white-space: nowrap">
|
||||
<button type="object" class="oe_highlight" name='enroll_machine_tool' string="机床注册"/>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='category_id']" position="after">
|
||||
<field name="state_zc" readonly="1"/>
|
||||
@@ -173,10 +178,12 @@
|
||||
</page>
|
||||
|
||||
<page string="图文展示">
|
||||
<field name='image_id' widget="one2many">
|
||||
<field name='image_id' widget="many2many_checkboxes" options="{'no_create': True}" style="white-space: nowrap;">
|
||||
<tree editable="bottom">
|
||||
<field name="name" />
|
||||
<field name="image" widget="image"
|
||||
options="{'size': [100, 100], 'click enlarge': True}"/>
|
||||
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
@@ -222,7 +229,7 @@
|
||||
<group string="其他">
|
||||
<field name="remark"/>
|
||||
</group>
|
||||
<button type="object" class="oe_highlight" name='enroll_machine_tool' string="机床注册"/>
|
||||
|
||||
</page>
|
||||
</xpath>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user