How i can resolve error "AttributeError: 'str' object has no attribute 'strftime'" and "TranslateModel object has no member named..."

Hi Mr.@ced , If you mean that i should try replace (return " " by return None) better —>I have tried to do that like this in the origin_date property :

@property
def origin_date(self):
    if isinstance(self.origin, self.__class__):
        return self.origin.invoice.invoice_date
    else:
        return None

But the same error displayed.