Open milano-slesarik opened 1 month ago
values(...).last() returns a dict, on which getattr doesn't work, so get_initial_number always returned 1 instead of the highest Invoice.number
values(...).last()
getattr
get_initial_number
Invoice.number
values(...).last()
returns a dict, on whichgetattr
doesn't work, soget_initial_number
always returned 1 instead of the highestInvoice.number