紧急采购默认为是

This commit is contained in:
guanhuan
2025-04-25 14:57:56 +08:00
parent 151bc5da4f
commit 128bebf338

View File

@@ -323,7 +323,7 @@ class RePurchaseOrder(models.Model):
contract_summary = fields.Text(string='合同概况')
# 选择是否为紧急采购
urgent_purchase = fields.Selection([('no', ''), ('yes', '')], string='紧急采购', default='no')
urgent_purchase = fields.Selection([('no', ''), ('yes', '')], string='紧急采购', default='yes')
@api.depends('origin')
def _compute_purchase_type(self):