Merge remote-tracking branch 'origin/develop' into release/release_2.7

This commit is contained in:
guanhuan
2025-01-03 12:59:19 +08:00

View File

@@ -32,7 +32,7 @@ class SFMessageSale(models.Model):
for purchase_order_id in purchase_order_ids:
if purchase_order_id.purchase_type == 'outsourcing':
purchase_order_id.add_queue('委外加工采购单提醒')
if purchase_order_id.purchase_type == 'standard':
if purchase_order_id.purchase_type == 'outside':
purchase_order_id.add_queue('外购订单采购单提醒')
except Exception as e:
logging.info('add_queue error:%s' % e)