#6489 (Voucher has no fiscal_year)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kurzbeschreibung
Kinder
Kommentare
- 11 Monate ago von Luc Saffre about #6489 (Voucher has no fiscal_year) : How to reproduce on noi1r : Click (+) to insert a service report and in the insert dialog don't only select a partner but also modify the date, then submit the dialog.
- 11 Monate ago von Luc Saffre about #6489 (Voucher has no fiscal_year) : The upgrade went smoothly but it didn't yet fix the problem (the VoucherChecker test for "Voucher without fiscal_year" was useless.
- 11 Monate ago von Luc Saffre about #6489 (Voucher has no fiscal_year) : I will upgrade Jane now.
- 11 Monate ago von Luc Saffre about #6489 (Voucher has no fiscal_year) : This is because at some moment I added a field Voucher.fiscal_year (redundant from accounting_period) in order to simplify certain operations. Now I wrote a data checker to fix existing data.
- 11 Monate ago von Luc Saffre about #6489 (Voucher has no fiscal_year) : The logger said only "Error during kernel.run_action()", I uncommented line 916 in kernel.py to see the traceback:
Traceback (most recent call last): ... File ".../lino_xl/lib/accounting/models.py", line 193, in get_next_number qs = qs.filter(fiscal_year=voucher.fiscal_year) ... - 11 Monate ago von Luc Saffre about #6489 (Voucher has no fiscal_year) : I get this error when I try to create a service report on Jane, Not reproducible in noi1r.
- 11 Monate ago von Luc Saffre about #6489 (Voucher has no fiscal_year) : Created new Ticket #6489 (Voucher has no fiscal_year).