Overview

This document is part of the Lino test suite and has been tested using doctest. You can re-play the instructions on this page in the demo project, either interactively in a Django shell session or by writing a script and run it using pm run. Read also the general documentation about Doctests in Lino. The following instructions are used for initialization:

>>> from lino import startup
>>> startup('lino_presto.projects.presto1.settings.doctests')
>>> from lino.api.doctest import *

Some vocabulary

English

German

Furniture

Möbel

Used furniture

Gebrauchtmöbel

Renovation

Renovierungsarbeiten

Bicycle studio

Fahrradwerkstatt

Furniture store

Möbellager

Garden services

Gartenarbeiten

Home help

Haushaltshilfe

Small repair

Kleinreparaturen im Haushalt

Laundry service

Wäschedienst (Waschbären)

Transport

Transport

Moving

Umzüge

Delivery note

Lieferschein

  • Managed as contracts : Garden contracts, Home help

  • Managed as delivery notes : Bicycle, Transport, Small repair, Moving, Furniture store, Renovation

Complexity factors

>>> print(analyzer.show_complexity_factors())
... 
- 44 plugins
- 83 models
- 4 user types
- 314 views
- 25 dialog actions

Don’t read me

>>> show_choicelists()
... 
=============================== ======== ================= =============================== ================================== ==================================
 name                            #items   preferred_width   en                              de                                 fr
------------------------------- -------- ----------------- ------------------------------- ---------------------------------- ----------------------------------
 about.DateFormats               4        8                 Date formats                    Date formats                       Date formats
 about.TimeZones                 1        4                 Time zones                      Zeitzonen                          Time zones
 addresses.AddressTypes          6        18                Address types                   Adressenarten                      Types d'adresses
 addresses.DataSources           2        16                Data sources                    Datenquellen                       Sources de données
 cal.DisplayColors               16       7                 Display colors                  Display colors                     Display colors
 cal.EntryStates                 5        10                Entry states                    Kalendereintrag-Zustände           Entry states
 cal.EventEvents                 2        8                 Observed events                 Beobachtungskriterien              Évènements observés
 cal.GuestStates                 3        17                Presence states                 Anwesenheits-Zustände              Presence states
 cal.NotifyBeforeUnits           4        7                 Notify Units                    Notify Units                       Notify Units
 cal.PlannerColumns              5        10                Planner columns                 Tagesplanerkolonnen                Colonnes planificateur
 cal.ReservationStates           0        4                 States                          Zustände                           États
 cal.TaskStates                  5        9                 Task states                     Aufgaben-Zustände                  Task states
 cal.YearMonths                  12       9                 None                            None                               None
 calview.Planners                2        15                None                            None                               None
 checkdata.Checkers              17       90                Data checkers                   Datentests                         Tests de données
 clients.ClientEvents            3        8                 Observed events                 Beobachtungskriterien              Évènements observés
 clients.ClientStates            3        8                 Client states                   Bearbeitungszustände Klienten      Etats bénéficiaires
 clients.KnownContactTypes       2        5                 Known contact types             Standard-Klientenkontaktarten      Types de contact connus
 contacts.CivilStates            7        18                Civil states                    Zivilstände                        Etats civils
 contacts.PartnerEvents          1        18                Observed events                 Beobachtungskriterien              Évènements observés
 countries.PlaceTypes            23       14                None                            None                               None
 excerpts.Shortcuts              0        4                 Excerpt shortcuts               Excerpt shortcuts                  Excerpt shortcuts
 healthcare.Tariffs              3        6                 Healthcare tariffs              Krankenkassen-Tarife               Healthcare tariffs
 households.MemberDependencies   3        16                Household Member Dependencies   Haushaltsmitgliedsabhängigkeiten   Dépendances de membres de ménage
 households.MemberRoles          9        17                Household member roles          Haushaltsmitgliedsrollen           Rôles de membres de ménage
 humanlinks.LinkTypes            13       33                Parency types                   Verwandschaftsarten                Types de parenté
 invoicing.Periodicities         3        9                 Subscription periodicities      Abonnementperiodizitäten           Subscription periodicities
 ledger.CommonAccounts           21       23                Common accounts                 Gemeinkonten                       Comptes communs
 ledger.DC                       2        6                 Booking directions              Buchungsrichtungen                 Booking directions
 ledger.JournalGroups            7        26                Journal groups                  Journalgruppen                     Groupes de journaux
 ledger.PeriodStates             2        6                 States                          Zustände                           États
 ledger.TradeTypes               6        19                Trade types                     Handelsarten                       Types de commerce
 ledger.VoucherStates            4        10                Voucher states                  Belegzustände                      Voucher states
 ledger.VoucherTypes             4        39                Voucher types                   Belegarten                         Types de pièce
 linod.LogLevels                 5        8                 Logging levels                  Logging levels                     Logging levels
 linod.Procedures                3        25                Background procedures           Background procedures              Background procedures
 notes.SpecialTypes              0        4                 Special note types              Sondernotizarten                   Special note types
 orders.OrderStates              5        10                Voucher states                  Belegzustände                      Voucher states
 phones.ContactDetailTypes       6        7                 Contact detail types            Kontaktangabenarten                Contact detail types
 presto.IncomeCategories         4        4                 Income categories               Einkommenskategorien               Income categories
 printing.BuildMethods           10       20                None                            None                               None
 products.BarcodeDrivers         2        4                 Barcode drivers                 Barcode drivers                    Barcode drivers
 products.DeliveryUnits          4        6                 Delivery units                  Liefereinheiten                    Unités de livraison
 products.PriceFactors           1        15                Price factors                   Price factors                      Price factors
 products.ProductTypes           2        9                 Product types                   Product types                      Product types
 system.DashboardLayouts         0        4                 None                            None                               None
 system.DurationUnits            7        7                 None                            None                               None
 system.Genders                  3        9                 None                            None                               None
 system.PeriodEvents             3        9                 Observed events                 Beobachtungskriterien              Évènements observés
 system.Recurrences              11       18                Recurrences                     Wiederholungen                     Récurrences
 system.Weekdays                 7        9                 None                            None                               None
 system.YesNo                    2        12                Yes or no                       Ja oder Nein                       Oui ou non
 uploads.Shortcuts               2        20                Upload shortcuts                Upload shortcuts                   Upload shortcuts
 uploads.UploadAreas             1        7                 Upload areas                    Upload-Bereiche                    Domaines de téléchargement
 users.UserTypes                 4        19                User types                      Benutzerarten                      Types d'utilisateur
 vat.DeclarationFieldsBase       0        4                 Declaration fields              Declaration fields                 Declaration fields
 vat.VatAreas                    3        13                VAT areas                       MWSt-Zonen                         Zones TVA
 vat.VatClasses                  8        25                VAT classes                     MwSt.-Klassen                      Classes TVA
 vat.VatColumns                  0        4                 VAT columns                     MWSt-Kolonnen                      VAT columns
 vat.VatRegimes                  1        6                 VAT regimes                     MwSt.-Regimes                      VAT regimes
 vat.VatRules                    1        39                VAT rules                       MwSt-Regeln                        VAT rules
 xl.Priorities                   5        8                 Priorities                      Prioritäten                        Priorités
=============================== ======== ================= =============================== ================================== ==================================
>>> rt.show(printing.BuildMethods)
... 
============ ============ ======================
 value        name         text
------------ ------------ ----------------------
 appydoc      appydoc      AppyDocBuildMethod
 appyodt      appyodt      AppyOdtBuildMethod
 appypdf      appypdf      AppyPdfBuildMethod
 appyrtf      appyrtf      AppyRtfBuildMethod
 latex        latex        LatexBuildMethod
 pub          pub          PublisherBuildMethod
 rtf          rtf          RtfBuildMethod
 weasy2html   weasy2html   WeasyHtmlBuildMethod
 weasy2pdf    weasy2pdf    WeasyPdfBuildMethod
 xml          xml          XmlBuildMethod
============ ============ ======================