Commit 05a9fdbd by Solo Group

auto-push

1 parent 68b23d04
...@@ -200,8 +200,9 @@ def proses_odeo(data): ...@@ -200,8 +200,9 @@ def proses_odeo(data):
message = 'message' in data and data["message"] or "" message = 'message' in data and data["message"] or ""
if message: if message:
loc = message.find("SN: ") loc = message.find("SN: ")
sn = message[loc+4:loc+28] if loc>-1:
order.serial_number=sn sn = message[loc+4:loc+28]
order.serial_number=sn
flush_row(order) flush_row(order)
# todo: add to customer notify table # todo: add to customer notify table
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!