products.Book
: Book¶
Book(id, name, body, body_short_preview, body_full_preview, category, delivery_unit, product_type, vat_class, name_de, name_fr, body_de, body_fr, body_short_preview_de, body_short_preview_fr, body_full_preview_de, body_full_preview_fr, product_ptr, isbn, author)
name |
type |
verbose name |
id |
BigAutoField |
ID |
name |
BabelCharField |
Designation |
body |
BabelTextField |
Long description |
body_short_preview |
BabelTextField |
Preview |
body_full_preview |
BabelTextField |
Preview (full) |
category |
ForeignKey to Category |
Category |
delivery_unit |
ChoiceListField |
Delivery unit |
product_type |
ChoiceListField |
Product type |
vat_class |
ChoiceListField |
VAT class |
name_de |
CharField |
Designation (de) |
name_fr |
CharField |
Designation (fr) |
body_de |
RichTextField |
Long description (de) |
body_fr |
RichTextField |
Long description (fr) |
body_short_preview_de |
RichTextField |
Preview (de) |
body_short_preview_fr |
RichTextField |
Preview (fr) |
body_full_preview_de |
RichTextField |
Preview (full) (de) |
body_full_preview_fr |
RichTextField |
Preview (full) (fr) |
sales_account |
ForeignKey to Account |
Sales account |
sales_price |
PriceField |
Sales price |
product_ptr |
OneToOneField to Product |
Product |
isbn |
CharField |
ISBN |
author |
ForeignKey to Author |
Author |
full_page |
VirtualField |
(None) |
name_column |
VirtualField |
Name |
navigation_panel |
VirtualField |
(None) |
workflow_buttons |
VirtualField |
Workflow |
overview |
VirtualField |
(None) |
Master tables: products.Books : Books
Slave tables: sales.InvoiceItemsByProduct : Sales invoice items
Referenced from
Database fields¶
Internal name |
Verbose name |
Help text |
---|---|---|
id |
ID |
|
name |
Designation |
A one-line designation for this product. |
body |
Long description |
The long description of this product. |
body_short_preview |
Preview |
See lino.modlib.memo.Previewable.body_short_preview. |
body_full_preview |
Preview (full) |
See lino.modlib.memo.Previewable.body_full_preview. |
category |
Category |
The category of this product. |
delivery_unit |
Delivery unit |
Pointer to DeliveryUnits |
product_type |
Product type |
The type of this product. |
vat_class |
VAT class |
The VAT class. Injected by lino_xl.lib.vat. If that plugin is not installed, vat_class is a dummy field. |
name_de |
Designation (de) |
|
name_fr |
Designation (fr) |
|
body_de |
Long description (de) |
|
body_fr |
Long description (fr) |
|
body_short_preview_de |
Preview (de) |
|
body_short_preview_fr |
Preview (fr) |
|
body_full_preview_de |
Preview (full) (de) |
|
body_full_preview_fr |
Preview (full) (fr) |
|
sales_account |
Sales account |
|
sales_price |
Sales price |
|
product_ptr |
Product |
|
isbn |
ISBN |
|
author |
Author |
|
full_page |
None |
|
name_column |
Name |
|
navigation_panel |
None |
|
workflow_buttons |
Workflow |
List of actions that change the workflow state of this object. |
overview |
None |