Invoicing

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 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.noereth.settings.doctests')
>>> from lino.api.doctest import *
>>> with translation.override("en"):
...     print(dd.plugins.invoicing.verbose_name)
Invoicing
class lino_presto.lib.invoicing.Plan

An extended invoicing plan.

order

If this field is nonempty, select only enrolments of that given order.

class lino_presto.lib.invoicing.StartInvoicingForOrder

Start an invoicing plan for this order.

This action is installed onto the orders.Order model as start_invoicing.