Merge remote-tracking branch 'origin/feature/销售和排程添加消息推送' into feature/销售和排程添加消息推送

This commit is contained in:
guanhuan
2024-09-25 10:49:10 +08:00

View File

@@ -9,7 +9,7 @@ class SFMessageStockPicking(models.Model):
def button_validate(self): def button_validate(self):
res = super(SFMessageStockPicking, self).button_validate() 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('调拨入库') self.add_queue('调拨入库')
return res return res