Commit 05a9fdbd by Solo Group

auto-push

1 parent 68b23d04
......@@ -200,8 +200,9 @@ def proses_odeo(data):
message = 'message' in data and data["message"] or ""
if message:
loc = message.find("SN: ")
sn = message[loc+4:loc+28]
order.serial_number=sn
if loc>-1:
sn = message[loc+4:loc+28]
order.serial_number=sn
flush_row(order)
# 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!