询价单字段排版及增加逻辑验证
This commit is contained in:
@@ -287,6 +287,11 @@ class RePurchaseOrder(models.Model):
|
||||
|
||||
origin_sale_id = fields.Many2one('sale.order', string='销售订单号', compute='_compute_origin_sale_id')
|
||||
|
||||
# 合同编号
|
||||
contract_number = fields.Char(string='合同编号', size=20)
|
||||
# 合同概况
|
||||
contract_summary = fields.Text(string='合同概况')
|
||||
|
||||
@api.depends('origin')
|
||||
def _compute_purchase_type(self):
|
||||
for purchase in self:
|
||||
|
||||
Reference in New Issue
Block a user