采购单参考销售订单可见性设置
This commit is contained in:
@@ -25,9 +25,9 @@
|
||||
<!-- 添加销售订单号字段-->
|
||||
<xpath expr="//sheet/group/group[2]/div[@name='date_approve']" position="after">
|
||||
<field name="origin_sale_id" readonly="1" string="参考销售订单"
|
||||
attrs="{'invisible': [('origin_sale_id' , '=', False)]}"/>
|
||||
attrs="{'invisible': [('origin_sale_ids' , '!=', False)]}"/>
|
||||
<field name="origin_sale_ids" readonly="1" string="参考销售订单" widget="many2many_tags"
|
||||
attrs="{'invisible': [('origin_sale_ids' , '=', [])]}"/>
|
||||
attrs="{'invisible': [('origin_sale_ids' , '=', False)]}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user