Accept Merge Request #1350: (feature/销售和排程添加消息推送 -> develop)

Merge Request: 调拨入库消息推送

Created By: @廖丹龙
Reviewed By: @胡尧
Approved By: @胡尧 
Accepted By: @廖丹龙
URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/1350?initial=true
This commit is contained in:
廖丹龙
2024-09-24 17:59:43 +08:00
committed by Coding

View File

@@ -9,7 +9,7 @@ class SFMessageStockPicking(models.Model):
def button_validate(self):
res = super(SFMessageStockPicking, self).button_validate()
if self.location_id.name == '进货' and self.location_dest_id.name == '刀具房':
if self.location_id.name == 'Vendors' and self.location_dest_id.name == '进货':
self.add_queue('调拨入库')
return res