#5809 (Optimize as_summary_item())
by Luc Saffre · in Developers · assigned to Luc Saffre
Kokkuvõte
When finished, update the [url dev.lino-framework.org/dev/format.html] page.
Examples to cover:
- noi1r -> Person detail -> Roles (contacts.RolesByPerson and contacts.RolesByCompany)
- noi1r -> Ticket detail -> Triage -> Tags (topics.TagsByOwner)
Children
Kommentaarid
- 1 aasta, 10 kuud ago by Luc Saffre about #5809 (Optimize as_summary_item()) : This ticket also needs more usage examples. So for now i just put it to sleep.
- 1 aasta, 10 kuud ago by Luc Saffre about #5809 (Optimize as_summary_item()) : I worked already more than an hour on the documentation at [url dev.lino-framework.org/dev/format.html] but I am about to give up (for this time). There's more urgent work to do for me: #5762 (Lino Prima first draft) and #5670 (Support e-invoices using PEPPOL)
- 1 aasta, 10 kuud ago by Luc Saffre about #5809 (Optimize as_summary_item()) : Example: sign in as robin in prima1, select group 5A, in the "Projects by group" panel click on the first pupil (Marceau Brouck). This opens the detail of the enrolment. The title says (correctly): "Enrolments » Marceau Broucq (5A)". Then in the "Certificates" panel click on the "1". This opens the ...
- 1 aasta, 10 kuud ago by Luc Saffre about #5809 (Optimize as_summary_item()) : Oops, I realized only now that having get_choices_text() use as_str() doesn't work as easy as i thought because the action request is (of course) on the master's actor and thus it cannot say which fields are "obvious".
- 1 aasta, 10 kuud ago by Luc Saffre about #5809 (Optimize as_summary_item()) : While trying to find examples for the new feature, I stumbled into some duplicate code (which ironically is in the dupable module).
- 1 aasta, 10 kuud ago by Luc Saffre about #5809 (Optimize as_summary_item()) : TableRow.get_choices_text(ar) now returns the new TableRow.as_str(ar). TODO: test it.
- 1 aasta, 10 kuud ago by Luc Saffre about #5809 (Optimize as_summary_item()) : Created new Ticket #5809 (Optimize as_summary_item()).