excerpts.ExcerptType : Excerpt Type

ExcerptType(id, name, build_method, template, attach_to_email, email_template, certifying, remark, body_template, content_type, primary, backward_compat, print_recipient, print_directly, shortcut, name_de, name_fr)

name

type

verbose name

id

BigAutoField

ID

name

BabelCharField

Designation

build_method

ChoiceListField

Print method

template

CharField

Template

attach_to_email

BooleanField

Attach to email

email_template

CharField

Email template

certifying

BooleanField

Certifying

remark

TextField

Remark

body_template

CharField

Body template

content_type

ForeignKey to ContentType

Model

primary

BooleanField

Primary

backward_compat

BooleanField

Backward compatible

print_recipient

BooleanField

Print recipient

print_directly

BooleanField

Print directly

shortcut

ChoiceListField

Excerpt shortcut

name_de

CharField

Designation (de)

name_fr

CharField

Designation (fr)

content_type_display

VirtualField

Model

name_column

VirtualField

Name

navigation_panel

VirtualField

(None)

workflow_buttons

VirtualField

Workflow

overview

VirtualField

(None)

Master tables: excerpts.ExcerptTypes : Excerpt Types

Slave tables: excerpts.ExcerptsByType : Excerpts

Referenced from excerpts.Excerpt.excerpt_type

Database fields

Internal name

Verbose name

Help text

id

ID

name

Designation

The designation of this excerpt type. One field for every language.

build_method

Print method

See lino.modlib.printing.mixins.PrintableType.build_method.

template

Template

The main template to be used when printing an excerpt of this type.

attach_to_email

Attach to email

Whether the printable file should be attached to the email when creating an email from a mailable of this type.

email_template

Email template

The template to use when sending this an excerpt of this type by email.

certifying

Certifying

Whether an excerpt of this type is a unique printout.

remark

Remark

body_template

Body template

The body template to use when printing an excerpt of this type.

content_type

Model

The database model for which this excerpt type is to be used.

primary

Primary

Whether this is the default type to use for this model. There’s at most one primary type per model. Enabling this field will automatically make the other types non-primary.

backward_compat

Backward compatible

Check this to have this in template context point to owner instead of excerpt.

print_recipient

Print recipient

Whether to print a recipient field in document.

print_directly

Print directly

shortcut

Excerpt shortcut

Optional pointer to a shortcut field. If this is not empty, then the given shortcut field will manage excerpts of this type.

name_de

Designation (de)

name_fr

Designation (fr)

content_type_display

Model

name_column

Name

navigation_panel

None

workflow_buttons

Workflow

List of actions that change the workflow state of this object.

overview

None