处理 客供料入库单优化 需求
This commit is contained in:
@@ -32,9 +32,9 @@ class ReSaleOrder(models.Model):
|
||||
tracking=3,
|
||||
default='draft')
|
||||
deadline_of_delivery = fields.Date('订单交期', tracking=True)
|
||||
person_of_delivery = fields.Char('交货人')
|
||||
telephone_of_delivery = fields.Char('交货人电话号码')
|
||||
address_of_delivery = fields.Char('交货人地址')
|
||||
person_of_delivery = fields.Char('收货人')
|
||||
telephone_of_delivery = fields.Char('电话号码')
|
||||
address_of_delivery = fields.Char('联系地址')
|
||||
payments_way = fields.Selection([('现结', '现结'), ('月结', '月结')], '结算方式', default='现结', tracking=True)
|
||||
pay_way = fields.Selection([('转账', '转账'), ('微信', '微信'), ('支付宝', '支付宝')], '支付方式')
|
||||
check_status = fields.Selection([('pending', '待审核'), ('approved', '已审核'), ('fail', '不通过')], '审核状态')
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user