def appstruct(self): """ Return the current edited context as a colander data model """ dbdatas = self.get_dbdatas_as_dict() # Get colander's schema compatible datas return get_invoice_appstruct(dbdatas)
def appstruct(self): """ Return the current edited context as a colander data model """ dbdatas = self.context.__json__(self.request) # Get colander's schema compatible datas return get_invoice_appstruct(dbdatas)