调拨入库消息推送

This commit is contained in:
liaodanlong
2024-09-24 17:57:03 +08:00
parent 7a8753408b
commit 84a37a970f

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