Commit 7a787c82 authored by Aurel's avatar Aurel

activity : fix the way to get the order validation text

This should have been part of commit 4b35b558. It is a report of what has been done in SQLQueue
parent b45870ff
...@@ -167,7 +167,7 @@ class SQLDict(SQLBase): ...@@ -167,7 +167,7 @@ class SQLDict(SQLBase):
for line in result: for line in result:
message = Message.load(line.message, uid=line.uid, line=line) message = Message.load(line.message, uid=line.uid, line=line)
if not hasattr(message, 'order_validation_text'): # BBB if not hasattr(message, 'order_validation_text'): # BBB
message.order_validation_text = line.order_validation_text message.order_validation_text = self.getOrderValidationText(message)
self.getExecutableMessageList(activity_tool, message, message_dict, self.getExecutableMessageList(activity_tool, message, message_dict,
validation_text_dict, now_date=now_date) validation_text_dict, now_date=now_date)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment