#5924 (Menu "My invoicing plan" fails)

by Luc Saffre · in Developers · assigned to Luc Saffre

Kurzbeschreibung

Kinder

Kommentare

  • 1 Jahr, 8 Monate ago von Luc Saffre about #5924 (Menu "My invoicing plan" fails) : I pushed my changes in lino, xl, book and welfare. Next upgrade on Jane will require db migration because invoicing.Plan.invoicing_task is now nullable.
  • 1 Jahr, 8 Monate ago von Luc Saffre about #5924 (Menu "My invoicing plan" fails) : I removed two try/except ObjectDoesNotExist constructs in lino.modlib.extjs.views.ApiElement.get() and ActionRequest.set_selected_pks(), and then started the test suite. Just to see what it does. But we cannot leave these cases fully without a try/except because we don't want to get admin emails eac...
  • 1 Jahr, 8 Monate ago von Luc Saffre about #5924 (Menu "My invoicing plan" fails) : I just found the culprit: when there is no user plan for a given user, Lino creates it on the fly. At least theoretically. But we never test this. And in reality this raises a lino_xl.lib.invoicing.models.Plan.invoicing_task.RelatedObjectDoesNotExist: Plan has no invoicing_task. Because the menu com...
  • 1 Jahr, 8 Monate ago von Luc Saffre about #5924 (Menu "My invoicing plan" fails) : This is a series of at least three bugs. I'm still sorting things out. The invoicing tasks on Jane had been lost some weeks ago (I remember the error message during a db migration and that I had a feeling that something subtle is broken in the configuration of the invoicing plugin on Jane.
  • 1 Jahr, 8 Monate ago von Luc Saffre about #5924 (Menu "My invoicing plan" fails) : The server logs only a laconic "Not Found: /api/invoicing/MyPlan/row" ("row" is the default_record_id of invoicing.MyPlan).
  • 1 Jahr, 8 Monate ago von Luc Saffre about #5924 (Menu "My invoicing plan" fails) : Created new Ticket #5924 (Menu "My invoicing plan" fails).