Add Order.meta_info_data

This commit is contained in:
Raphael Michel
2017-05-23 12:38:00 +02:00
parent a3bf85754a
commit 78a8a7d744

View File

@@ -1,4 +1,5 @@
import copy
import json
import os
import string
from datetime import datetime
@@ -183,6 +184,10 @@ class Order(LoggedModel):
def __str__(self):
return self.full_code
@cached_property
def meta_info_data(self):
return json.loads(self.meta_info)
@property
def full_code(self):
"""