fixed a litle bug of documentId representation

This commit is contained in:
Cayo Puigdefabregas 2021-02-04 20:42:50 +01:00
parent 2619f88a9f
commit a0546e284e

View file

@ -83,4 +83,4 @@ class Deliverynote(Thing):
db.session.delete(self)
def __repr__(self) -> str:
return '<Deliverynote {0.documentID}>'.format(self)
return '<Deliverynote {0.document_id}>'.format(self)