添加功能
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<field name="name">property.meter.archives.tree</field>
|
||||
<field name="model">property.meter.archives</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="电表库" create="False" editable="bottom"
|
||||
<tree string="电表库" create="False" editable="bottom" decoration-success="is_push"
|
||||
decoration-danger="archives_state == 'stop'">
|
||||
<header>
|
||||
<button class="oe_highlight" name="batch_reading_push" string="推送" type="object"/>
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
<field name="model">property.meter.water</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="水表库" create="False" editable="bottom"
|
||||
decoration-danger="water_state == 'stop'">
|
||||
decoration-danger="water_state == 'stop'"
|
||||
decoration-success="is_push" >
|
||||
<header>
|
||||
<button class="oe_highlight" name="batch_reading_water_push" string="推送" type="object"/>
|
||||
<button class="oe_highlight" name="button_water_state" string="停用" type="object"/>
|
||||
|
||||
Reference in New Issue
Block a user