Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
Lino Noi Overview¶
The goal of Lino Noi is managing tickets (problems reported by customers or other users) and registering the working time needed by developers or other users to work on these tickets. It is then possible to publish service reports. It is also used for managing agile development projects.
This page contains code snippets (lines starting with >>>), which are
being tested during our development workflow. The following
snippet initializes the demo project used throughout this page.
>>> from lino_book.projects.noi1e.startup import *
>>> translation.activate("en")
Configuration options¶
Lino Noi defines two application options:
with_accounting
and
with_cms.
Plugin dependencies¶
>>> dd.is_installed('products')
True
>>> dd.plugins.tickets
lino_noi.lib.tickets
>>> list(dd.plugins.tickets.get_needed_plugins())
['lino_xl.lib.excerpts', 'lino_noi.lib.noi']
>>> dd.plugins.working
lino_xl.lib.working
>>> list(dd.plugins.working.get_needed_plugins())
['lino.modlib.summaries', 'lino.modlib.checkdata']
>>> dd.plugins.trading
lino_noi.lib.trading
>>> list(dd.plugins.trading.get_needed_plugins())
['lino.modlib.memo', 'lino_xl.lib.products', 'lino_xl.lib.vat']
Ticket management versus worktime tracking¶
Lino Noi uses both lino_xl.lib.tickets (Ticket management) and
lino_xl.lib.working (Worktime tracking).
But lino_xl.lib.tickets is an independent plugin that might be reused by
other applications that have no worktime tracking. Lino Noi uses them both and
extends the “library” version of tickets:
>>> sc = rt.models.checkdata.Checkers.get_by_value('working.SessionChecker')
>>> sc.get_checkable_models()
[<class 'lino_xl.lib.working.models.Session'>]
>>> m = sc.get_checkable_models()[0]
>>> m._meta.abstract
False
Countries¶
>>> rt.show(countries.Countries)
============================= ================================ ================================= ==========
Designation Designation (de) Designation (fr) ISO code
----------------------------- -------------------------------- --------------------------------- ----------
Bangladesh Bangladesh Bangladesh BD
Belgium Belgien Belgique BE
Congo (Democratic Republic) Kongo (Demokratische Republik) Congo (République democratique) CD
Estonia Estland Estonie EE
France Frankreich France FR
Germany Deutschland Allemagne DE
Maroc Marokko Maroc MA
Netherlands Niederlande Pays-Bas NL
Russia Russland Russie RU
United States United States United States US
============================= ================================ ================================= ==========
Lino Noi and Scrum¶
Every sprint is registered as a project
Usually there is at least one ticket per project for planning and discussion.
Every backlog item is registered as a ticket on that project
The detail view of a project is the equivalent of a backlog
Don’t read this¶
On 20211014 we had a TypeError: get_requirements() takes 1 positional
argument but 2 were given. This is now covered for Noi by the following
snippet:
>>> settings.SITE.get_requirements()
['Pillow', 'PyMuPDF', 'appy', 'atelier', 'beautifulsoup4', 'channels',
'channels_redis', 'daphne', 'djangorestframework', 'imagesize', 'num2words',
'odfpy', 'openpyxl', 'pywebpush', 'social-auth-app-django<7']
>>> show_dashboard('jean', ignore_links=True)
...
Quick links: My settings | Unassigned Tickets | Active tickets | All tickets | Submit new Ticket | Upload a file | Calendar | Search
Hello, Jean! Your nicknamed Tickets are daily, friday, inbox.
**You are working on**#87 (Bars have no foo) (■/⏏), #90 (No more foo when bar
is gone) (■/⏏).
Luc is working on #25 ('NoneType' object has no attribute 'isocode'), #28 (How
to get bar from foo).
Mathieu is working on #81 (Irritating message when bar), #84 (Default account
in invoices per partner), #87 (Bars have no foo), #90 (No more foo when bar is
gone).
This is a Lino demo site. Try also the other demo sites. Your feedback is
welcome to users@lino-framework.org or directly to the person who invited you.
**We are running with simulated date set to Friday, 22 May 2015.**
## My Tickets  ⓘ ⏏
\- (+) Insert a new Ticket. \- [#12 (Foo cannot bar)](…) ( 50 in
[Developers](…) assigned to [Robin Rood](…)) [▶] **☉ Open** → [⚹] [☾] [🗪] [⚒]
[☐] [☑] [☒] [⧖] \- [#3 (Baz sucks)](…) ( 40 in [Developers](…) assigned to
[Jean](…)) [▶] **☉ Open** → [⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖] \- [#111 (Bars
have no foo)](…) (in [Developers](…) assigned to [Jean](…)) [▶] **☉ Open** →
[⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖] \- [#102 (No more foo when bar is gone)](…)
(in [Developers](…) assigned to [Mathieu](…)) [▶] **☉ Open** → [⚹] [☾] [🗪] [⚒]
[☐] [☑] [☒] [⧖] \- [#93 (Irritating message when bar)](…) (in [Developers](…))
[▶] **☉ Open** → [⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖] \- [#84 (Default account in
invoices per partner)](…) (in [Developers](…) assigned to [Robin Rood](…)) [▶]
**☉ Open** → [⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖] \- [#75 (Bars have no foo)](…)
(in [Developers](…) assigned to [Jean](…)) [▶] **☉ Open** → [⚹] [☾] [🗪] [⚒]
[☐] [☑] [☒] [⧖] \- [#66 (No more foo when bar is gone)](…) (in [Developers](…)
assigned to [Mathieu](…)) [▶] **☉ Open** → [⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖] \-
[#57 (Irritating message when bar)](…) (in [Developers](…)) [▶] **☉ Open** →
[⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖] \- [#48 (Default account in invoices per
partner)](…) (in [Developers](…) assigned to [Robin Rood](…)) [▶] **☉ Open** →
[⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖] \- [#39 (Bars have no foo)](…) (in
[Developers](…) assigned to [Jean](…)) [▶] **☉ Open** → [⚹] [☾] [🗪] [⚒] [☐]
[☑] [☒] [⧖] \- [#30 (No more foo when bar is gone)](…) (in [Developers](…)
assigned to [Mathieu](…)) [▶] **☉ Open** → [⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖] \-
[#21 (Irritating message when bar)](…) (in [Developers](…)) [▶] **☉ Open** →
[⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖]
## Tickets to work  ⓘ ⏏
\- (+) Insert a new Ticket. \- [#15 (Bars have no foo)](…) ( 45 by
[Mathieu](…) in [Developers](…) assigned to [Jean](…)) [▶] **☐ Ready** → [⚹]
[☾] [🗪] [⚒] [☑] [☒] \- [#3 (Baz sucks)](…) ( 40 by [Jean](…) in
[Developers](…) assigned to [Jean](…)) [▶] **☉ Open** → [⚹] [☾] [🗪] [⚒] [☐]
[☑] [☒] [⧖] \- [#111 (Bars have no foo)](…) (by [Jean](…) in [Developers](…)
assigned to [Jean](…)) [▶] **☉ Open** → [⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖] \-
[#87 (Bars have no foo)](…) (by [Mathieu](…) in [Developers](…) assigned to
[Jean](…)) [■] **☐ Ready** → [⚹] [☾] [🗪] [⚒] [☑] [☒] \- [#75 (Bars have no
foo)](…) (by [Jean](…) in [Developers](…) assigned to [Jean](…)) [▶] **☉
Open** → [⚹] [☾] [🗪] [⚒] [☐] [☑] [☒] [⧖] \- [#51 (Bars have no foo)](…) (by
[Mathieu](…) in [Developers](…) assigned to [Jean](…)) [▶] **☐ Ready** → [⚹]
[☾] [🗪] [⚒] [☑] [☒] \- [#39 (Bars have no foo)](…) (by [Jean](…) in
[Developers](…) assigned to [Jean](…)) [▶] **☉ Open** → [⚹] [☾] [🗪] [⚒] [☐]
[☑] [☒] [⧖]
## Worked hours ⓘ ⏏
================================
==================================================== =========== ==========
=========== Description Tickets Regular Free Total
\--------------------------------
---------------------------------------------------- ----------- ----------
----------- `Friday, 22 May 2015 <…>`__ `#90 <…>`__, `#87 <…>`__ 0:02 0:02
`Thursday, 21 May 2015 <…>`__ `#81 <…>`__, `#84 <…>`__ 3:19 0:37 3:56
`Wednesday, 20 May 2015 <…>`__ `#72 <…>`__, `#75 <…>`__, `#69 <…>`__, `#78
<…>`__ 4:10 1:30 5:40 `Tuesday, 19 May 2015 <…>`__ `#66 <…>`__, `#60 <…>`__,
`#63 <…>`__ 0:17 3:43 4:00 `Monday, 18 May 2015 <…>`__ `#57 <…>`__, `#54
<…>`__ 3:51 3:51 `Sunday, 17 May 2015 <…>`__ 0:00 `Saturday, 16 May 2015
<…>`__ 0:00 **Total (7 rows)** **11:39** **5:50** **17:29**
================================
==================================================== =========== ==========
===========
## Recent comments ⓘ ⏏
\- [[ntime]](… "Created 24.04.2015 07:24 \\(UTC\\)") by **Robin Rood** in reply to _Mathieu_ about [#105 (Irritating message when bar)](…) : | Who | What | Done? | |------|---------------|-------| | Him | Bar | | | Her | Foo the Bar | **x** | | Them | Floop the pig | | | x | \- [[ntime]](… "Created 24.04.2015 06:50 \\(UTC\\)") by **Rolf Rompen** in reply to _Mathieu_ about [#105 (Irritating message when bar)](…) : Styled comment pasted from word! \- [[ntime]](… "Created 24.04.2015 06:16 \\(UTC\\)") by **Romain Raffault** in reply to _Mathieu_ about [#105 (Irritating message when bar)](…) : This is a comment about [#12](/api/tickets/Tickets/12 "Foo cannot bar") (Foo cannot bar) and [#13](/api/tickets/Tickets/13 "Bar cannot foo") (Bar cannot foo). \- [[ntime]](… "Created 24.04.2015 05:42 \\(UTC\\)") by **Mathieu** in reply to _Jean_ about [#105 (Irritating message when bar)](…) (9 replies) : This is a comment about [#10](/api/tickets/Tickets/10 "Where can I find a Foo when bazing Bazes?") (Where can I find a Foo when bazing Bazes?) and [#11](/api/tickets/Tickets/11 "Class-based Foos and Bars?") (Class-based Foos and Bars?). \- [[ntime]](… "Created 24.04.2015 05:08 \\(UTC\\)") by **Marc** in reply to _Jean_ about [#105 (Irritating message when bar)](…) : Two paragraphs of plain text. The second paragraph. \- [[ntime]](… "Created 24.04.2015 04:34 \\(UTC\\)") by **Luc** in reply to _Jean_ about [#105 (Irritating message when bar)](…) : Some plain text. \- [[ntime]](… "Created 24.04.2015 04:00 \\(UTC\\)") by **Jean** about [#105 (Irritating message when bar)](…) (9 replies) : Hello \- [[ntime]](… "Created 24.04.2015 00:02 \\(UTC\\)") by **Jean** about [#106 (How can I see where bar?)](…) (2 replies) : Here is a screenshot:  \- [[ntime]](… "Created 23.04.2015 23:28 \\(UTC\\)") by **Robin Rood** in reply to _Rolf Rompen_ about [#107 (Misc optimizations in Baz)](…) : Two paragraphs of plain text. The second paragraph. \- [[ntime]](… "Created 23.04.2015 22:54 \\(UTC\\)") by **Rolf Rompen** in reply to _Marc_ about [#107 (Misc optimizations in Baz)](…) (2 replies) : Some plain text.
## My Teams  ⓘ ⏏
====================
===========================================================================================================================================================================================================
Team Tickets \--------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
`Developers <…>`__ `#12 <…>`__, `#15 <…>`__, `#3 <…>`__, `#114 <…>`__, `#111
<…>`__, `#105 <…>`__, `#102 <…>`__, `#96 <…>`__, `#93 <…>`__, `#87 <…>`__,
`#84 <…>`__, `#78 <…>`__, `#75 <…>`__, `#69 <…>`__, `#66 <…>`__, ...
====================
===========================================================================================================================================================================================================
>>> show_choicelists()
...
=========================== ======== ================= ============================ ========================== ============================
name #items preferred_width en de fr
--------------------------- -------- ----------------- ---------------------------- -------------------------- ----------------------------
accounting.CommonAccounts 22 23 Common accounts Gemeinkonten Comptes communs
accounting.DC 2 6 Booking directions Buchungsrichtungen Directions d'imputation
accounting.JournalGroups 6 26 Journal groups Journalgruppen Groupes de journaux
accounting.TradeTypes 6 19 Trade types Handelsarten Types de commerce
accounting.VoucherStates 3 10 Voucher states Belegzustände Voucher states
accounting.VoucherTypes 4 51 Voucher types Belegarten Types de pièce
calview.Planners 1 8 None None None
changes.ChangeTypes 6 12 Change Types Änderungsarten Change Types
checkdata.Checkers 14 31 Data checkers Datentests Tests de données
comments.CommentEvents 2 8 Observed events Beobachtungskriterien Évènements observés
comments.Emotions 3 8 Emotions Emotionen Emotions
contacts.CivilStates 7 18 Civil states Zivilstände Etats civils
contacts.PartnerEvents 1 18 Observed events Beobachtungskriterien Évènements observés
countries.PlaceTypes 28 14 None None None
excerpts.Shortcuts 1 17 Excerpt shortcuts Excerpt shortcuts Excerpt shortcuts
invoicing.Periodicities 4 9 Subscription periodicities Abonnementperiodizitäten Subscription periodicities
jinja.TableClasses 2 9 Table classes Table classes Table classes
linod.LogLevels 5 8 Logging levels Logging levels Logging levels
linod.Procedures 9 25 Background procedures Background procedures Background procedures
memo.MarkupTypes 2 16 None None None
notify.MailModes 5 19 Notification modes Benachrichtigungsmodi Modes de notification
notify.MessageTypes 3 15 Message types Message types Types de message
peppol.OnboardingStates 6 10 Onboarding states Onboarding states Onboarding states
periods.PeriodStates 2 6 States Zustände États
periods.PeriodTypes 4 9 Period types Period types Period types
printing.BuildMethods 11 20 None None None
printing.DocumentClasses 4 26 Document classes Document classes Document classes
products.BarcodeDrivers 2 4 Barcode drivers Barcode drivers Barcode drivers
products.DeliveryUnits 13 13 Delivery units Liefereinheiten Unités de livraison
products.PriceFactors 0 4 Price factors Preisfaktoren Price factors
products.ProductTypes 1 8 Product types Product types Product types
react.PrimeReactThemes 41 23 None None None
react.TextBoxSizeUnits 4 4 None None None
storage.ProvisionStates 1 9 Provision states Provision states Provision states
system.DateFormats 4 8 Date formats Date formats Date formats
system.DisplayColors 30 10 Display colors Display colors Display colors
system.DurationUnits 7 7 None None None
system.Genders 3 9 Genders Geschlechter Sexes
system.PeriodEvents 3 9 Observed events Beobachtungskriterien Évènements observés
system.Recurrences 11 18 Recurrences Wiederholungen Récurrences
system.TimeZones 4 15 Time zones Zeitzonen Fuseaux horaires
system.Weekdays 7 9 None None None
system.YesNo 2 12 Yes or no Ja oder Nein Oui ou non
tickets.TicketEvents 3 18 Observed events Beobachtungskriterien Évènements observés
tickets.TicketStates 9 8 Ticket states Ticketzustände Ticket states
uploads.ImageFormats 5 13 Image formats Image formats Image formats
uploads.ImageSizes 9 7 Image sizes Image sizes Image sizes
uploads.Shortcuts 1 15 Upload shortcuts Upload shortcuts Upload shortcuts
uploads.UploadAreas 1 7 Upload areas Upload-Bereiche Domaines de téléchargement
users.UserTypes 5 19 User types Benutzerarten Types d'utilisateur
vat.DeclarationFieldsBase 0 4 Declaration fields Deklarationsfelder 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 38 VAT rules MwSt-Regeln VAT rules
working.ReportingTypes 2 7 Reporting types Reporting types Reporting types
xl.Priorities 5 8 Priorities Prioritäten Priorités
=========================== ======== ================= ============================ ========================== ============================
>>> show_fields(system.SiteConfig)
...
- Default build method (default_build_method) : The default build method to use when rendering printable documents.
- Simulated date (simulate_today) : A constant user-defined date to be substituted as current system date.
- Workflow (workflow_buttons) : Shows the current workflow state of this database row and a list of available workflow actions.
- None (overview) : A multi-paragraph representation of this database row.
Display modes¶
>>> show_display_modes()
...