增加外层group标签
This commit is contained in:
@@ -7,34 +7,27 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page//field[@name='cnc_ids']" position="before">
|
<xpath expr="//page//field[@name='cnc_ids']" position="before">
|
||||||
<group>
|
<group>
|
||||||
<field name="compensation_value_x"/>
|
<group>
|
||||||
<field name="compensation_value_y"/>
|
<field name="compensation_value_x"/>
|
||||||
</group>
|
<field name="compensation_value_y"/>
|
||||||
<div>
|
</group>
|
||||||
<div>
|
<div>
|
||||||
<field name="button_compensation_state" attrs='{"invisible": ["|",
|
<div>
|
||||||
("state","!=","progress"),("user_permissions","=",False)]}'/>
|
<field name="button_compensation_state" attrs='{"invisible": ["|",
|
||||||
<button string="一键补偿" name="compensation" type="object" confirm="是否确认下发补偿"
|
("state","!=","progress"),("user_permissions","=",False)]}'/>
|
||||||
class="btn-primary" attrs='{"invisible": ["|",
|
<button string="一键补偿" name="compensation" type="object" confirm="是否确认下发补偿"
|
||||||
("state","!=","progress"),("user_permissions","=",False)]}'/>
|
class="btn-primary" attrs='{"invisible": ["|",
|
||||||
<span> </span>
|
("state","!=","progress"),("user_permissions","=",False)]}'/>
|
||||||
<field name="button_up_all_state" attrs='{"invisible": ["|",
|
<span> </span>
|
||||||
("state","!=","progress"),("user_permissions","=",False)]}'/>
|
<field name="button_up_all_state" attrs='{"invisible": ["|",
|
||||||
<button string="一键下发" name="up_all" type="object" style="text-align: right;" confirm="是否确认一键下发"
|
("state","!=","progress"),("user_permissions","=",False)]}'/>
|
||||||
class="btn-primary" attrs='{"invisible": ["|",
|
<button string="一键下发" name="up_all" type="object" style="text-align: right;" confirm="是否确认一键下发"
|
||||||
("state","!=","progress"),("user_permissions","=",False)]}'/>
|
class="btn-primary" attrs='{"invisible": ["|",
|
||||||
|
("state","!=","progress"),("user_permissions","=",False)]}'/>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</group>
|
||||||
|
|
||||||
<!-- <button string="显示补偿" name="compensation1" type="object" confirm="是否确认下发补偿" class="btn-primary"/>-->
|
|
||||||
<!-- <button string="修改状态" name="get__state" type="object" class="btn-primary"/>-->
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<!-- <div>-->
|
|
||||||
<!-- <button string="一键下发" name="up_all" type="object" confirm="是否确认一键下发"-->
|
|
||||||
<!-- class="btn-primary" attrs='{"invisible": ["|",-->
|
|
||||||
<!-- ("state","!=","progress"),("user_permissions","=",False)]}'/>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
</field>
|
</field>
|
||||||
|
|||||||
Reference in New Issue
Block a user