Friday, October 13, 2017¶
Lino Care II is ready¶
I worked on #2072 (Lino Care version 2 without tickets) and released it to their production site.
The overview field is no longer a DisplayField but a HtmlBox. That’s because we want it to have a scrollbar when there is not enough room to view it.
lino_xl.lib.addresses.AddressOwnernow supports being used when thelino_xl.lib.addressesplugin itself is not installed. This is used forlino_xl.lib.contacts.Partnerwhich now inherits from it.the full names of their users table got lost because writing a migrator for this would have been complicated since users are no longer persons (and the original dump ws written using an older version).
This was the first test of the
lino_xl.lib.phones.ContactDetailsOwnerCheckerfor converting a production database. Passed.The template context had no name
sitealthough it was documented.I added a Sphinx directive
tcnamefor documenting template context names, and a role of same name (tcname) for referring to them.A
Personis nowCertifiableand the demo databases have a default templatecontacts/Person/Default.odtwhich prints a “Terms & Conditions” document, which they will probably need for the Lino Care site.
TODO:
For Lino Care we would like to also make
users.Userinherit fromCertifiable, and since the mixin is optional (i.e. supports being applied when its plugin is not installed), the most elegant way to get there is to make the standard User model certifiable as well. That’s currently not possible because it would create a dependency (lino depends on lino_xl). Solution would be to move excerpts from xl to lino.