Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix base/models/get_initial_number not fetching the highest number
`values(...).last()` returns a dict, on which `getattr` doesn't work, so `get_initial_number` always returned 1 instead of the highest `Invoice.number`
- Loading branch information