diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-10-24 06:46:44 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-24 08:50:22 +0000 |
| commit | 8c136e5fc57900cce39887326d798480a08d87f3 (patch) | |
| tree | 8b79cc6ee01f7222dc52e79d8e54abfac6719e11 | |
| parent | fa0d41989702c2fd717053c96dbb6242e20e21e7 (diff) | |
[FIX] website_event_sale: properly loop on tickets
Do not use `tickets` which is a recordset with more than one record.
opw-2092231
closes odoo/odoo#39312
X-original-commit: 3e2d968c55542426746b287c556b5fb05d59fdcb
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
| -rw-r--r-- | addons/website_event_sale/views/event_templates.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_event_sale/views/event_templates.xml b/addons/website_event_sale/views/event_templates.xml index 117a1f02246..0632490b4f1 100644 --- a/addons/website_event_sale/views/event_templates.xml +++ b/addons/website_event_sale/views/event_templates.xml @@ -64,8 +64,8 @@ </select> </div> </div> - <div t-if="tickets.product_id.description_sale" class="col-12"> - <p itemprop="description" t-field="tickets.product_id.description_sale" class="small py-2 border-top"/> + <div t-if="ticket.product_id.description_sale" class="col-12"> + <p itemprop="description" t-field="ticket.product_id.description_sale" class="small py-2 border-top"/> </div> </div> <div class="row no-gutters"> |
