diff options
| author | Thibault Delavallée <tde@odoo.com> | 2020-01-22 12:17:59 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-01-30 15:18:08 +0000 |
| commit | 1a2fcf0add42def532cf407671c11089c3285268 (patch) | |
| tree | d9e6573fe49c1c8eb4f8cc281ea850f0a046c202 /doc/python3.rst | |
| parent | 6b09c1b8c62fc8b5bbd210d4759561ec67269155 (diff) | |
[IMP] event(_sale): add a description on event tickets
PURPOSE
This commit is part of ticket model support directly in event application.
SPECIFICATIONS
In this commit we add a description on event.type.ticket and event.event.type
models. Its purpose is to have a description to use notably in frontend
(website_event and website_event_sale).
Currently a ticket description is available only in website_event_sale and is
the description_sale field of the ticket product. As we now have tickets
independent from products, we introduce a real description field on ticket
that is either put by hand (event), either coming from the product with
event_sale.
Field is therefore also copied from event type tickets configuration to its
event tickets.
Naming on sale order does not take into account ticket description as we
consider this fields as being used for front-end mainly. SO line descripiton
is now updated as the following
* either we have a description_sale on the product, and SO line description
is 'product.description_sale \n event.display_name';
* either not and SO line description is 'ticket.name \n event.display_name';
LINKS
Task ID 2177281
Community PR #43488
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
