处理 客供料入库单优化 需求

This commit is contained in:
yuxianghui
2024-11-06 17:24:10 +08:00
parent 8ea72198ea
commit 211d74d9ff
8 changed files with 83 additions and 20 deletions

View File

@@ -192,11 +192,11 @@
<field name="inherit_id" ref="sale_stock.view_order_form_inherit_sale_stock"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='picking_policy']" position="before">
<field name="person_of_delivery" string="货人"
<field name="person_of_delivery" string="货人"
attrs="{'readonly': [('state', 'in', ('sale','cancel'))]}"/>
<field name="telephone_of_delivery" string="交货人联系方式"
<field name="telephone_of_delivery" string="电话号码"
attrs="{'readonly': [('state', 'in', ('sale','cancel'))]}"/>
<field name="address_of_delivery" string="交货人地址"
<field name="address_of_delivery" string="联系地址"
attrs="{'readonly': [('state', 'in', ('sale','cancel'))]}"/>
</xpath>
</field>