#3724 (Make lino_react support dynamic actor handles)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kokkuvõte
This feature is used only in lino_welfare.modlib.debts. Reproducible by switching the `default_ui` to `react` in the lino_welfare.projects.gerd demo project.
Children
- #4581 (makehelp for welcht says "Tried to get static handle for debts.PrintEntriesByBudget") (by Luc Saffre in Developers)
Kommentaarid
- 4 aastat, 6 kuud ago by Luc Saffre about #3724 (Make lino_react support dynamic actor handles) : Ha! This was a quick win! After diving into it, I repented from my first idea of deprecating the feature. The feature is actually quite useful in this case. Should be better documented. And it was easy to have react renderer support it (I just had to take care that the renderer doesn't try to build...
- 4 aastat, 6 kuud ago by Luc Saffre about #3724 (Make lino_react support dynamic actor handles) : The feature is used for the data_box htmlbox ("Entered data"). This report is available both on screen (in the Preview tab of the detail of a budget) and on the printed document. And debts.Budget.data_story() is responsible for building this report. It is basically a "story" of slave tables, one tab...
- 4 aastat, 6 kuud ago by Luc Saffre about #3724 (Make lino_react support dynamic actor handles) : debts.Group.entries_layout is a pointer to the TableLayouts choicelist, which has 5 choices. The resulting column_names depends furthermore on the number of "actors" of the budget ("dynamic_amounts" is a pseudocolumn to be expanded "dynamically"). I hope that they don't need to get multiplied...
- 4 aastat, 6 kuud ago by Luc Saffre about #3724 (Make lino_react support dynamic actor handles) : When you do this, then runserver says "Exception: Tried to get static handle for debts.PrintEntriesByBudget (get_handle_name is <bound method PrintEntriesByBudget.get_handle_name of lino_welfare.modlib.debts.ui.PrintEntriesByBudget>)"