1、订单详情字段显示优化;2、采购单页面优化
This commit is contained in:
@@ -170,8 +170,14 @@
|
||||
<field name="manual_quotation" />
|
||||
<field name="is_incoming_material"/>
|
||||
</xpath>
|
||||
<xpath expr="//sheet//group//group[@name='order_details']//div[@class='o_td_label'][2]//label[@for='date_order']" position="attributes">
|
||||
<attribute name="string">下单日期</attribute>
|
||||
<xpath expr="//div[@class='o_td_label'][2]" position="replace"></xpath>
|
||||
<xpath expr="//field[@name='date_order'][1]" position="replace"></xpath>
|
||||
<xpath expr="//field[@name='date_order']" position="replace"></xpath>
|
||||
<xpath expr="//div[@class='o_td_label'][1]" position="replace">
|
||||
<div class="o_td_label" attrs="{'invisible': [('state', 'in', ['done', 'cancel'])]}">
|
||||
<label for="date_order" string="下单日期"/>
|
||||
</div>
|
||||
<field name="date_order" attrs="{'invisible': [('state', 'in', ['done', 'cancel'])], 'required': True}" nolabel="1"/>
|
||||
</xpath>
|
||||
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user