#5346 (Optimize RolesByCompany)

by Luc Saffre · in Developers · assigned to Luc Saffre

Résumé

It needs an insert_layout, and person_field should be learning

Concepts sous-jacents

Commentaires

  • 10 mois ago by Luc Saffre in reply to Luc Saffre about #5346 (Optimize RolesByCompany) : This was because there wasn't yet a company_choices(cls), which is needed to activate create_company_choice().
  • 10 mois ago by Luc Saffre about #5346 (Optimize RolesByCompany) (1 reply) : While the RolesByCompany.person field is now a learning combo, RolesByPerson.company isn't yet.
  • 2 ans, 9 mois ago by Luc Saffre about #5346 (Optimize RolesByCompany) : I now published my changes and wrote a [url luc.lino-framework.org/blog/2023/1227.html blog entry].
  • 2 ans, 9 mois ago by Luc Saffre about #5346 (Optimize RolesByCompany) : OMG, this avalanche is getting really big: #5353
  • 2 ans, 9 mois ago by Luc Saffre about #5346 (Optimize RolesByCompany) : Seems that we should start to use Django's mark_safe() function.
  • 2 ans, 9 mois ago by Luc Saffre about #5346 (Optimize RolesByCompany) : The pages.Pages table is a good example for showing the difference between "list" and "story" display modes. But currently Lino has a bug there: list mode shoows multi-paragraph entries while story mode shows only the headings.
  • 2 ans, 9 mois ago by Luc Saffre about #5346 (Optimize RolesByCompany) : I am taking a lot of time. I started to tidy up with as_summary_row(), as_paragraph(), as_story_item() and got into an avalanche that had been waiting there for long enough now. I guess that this series of changes is going to introduce some bugs! Yahoo!
  • 2 ans, 9 mois ago by Luc Saffre about #5346 (Optimize RolesByCompany) : A minor optimization, but I took some time to dive into a few other problems.
  • 2 ans, 9 mois ago by Luc Saffre about #5346 (Optimize RolesByCompany) : Created new Ticket #5346 (Optimize RolesByCompany).