lino_xl.lib.postings.mixins

Defines models for lino_xl.lib.postings.

(This module's source code is available here.)

Classes

CreatePostings([label])

Creates a series of new Postings from this Postable.

Postable(*args, **kwargs)

Mixin for models that provide a "Post" button.

class lino_xl.lib.postings.mixins.CreatePostings(label=None, **kwargs)

Bases: lino.core.actions.Action

Creates a series of new Postings from this Postable. The Postable gives the list of recipients, and there will be one Posting for each recipient.

Author of each Posting will be the user who issued the action request, even if that user is acting as someone else. You cannot create a Posting in someone else's name.

class lino_xl.lib.postings.mixins.Postable(*args, **kwargs)

Bases: lino.core.model.Model

Mixin for models that provide a "Post" button.