diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-01-15 15:49:40 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-01-15 16:12:50 +0100 |
| commit | f9ee454d42b4c73cc387a1873e31bc3361b67517 (patch) | |
| tree | 2bb2360d003d1f7475e1ed44bffa063692032792 /addons/web_editor/static/src/js/transcoder.js | |
| parent | b4debe9539fe3917dc1294d469e0f1048e0b52d5 (diff) | |
[FIX] website_event_sale: pay the displayed price
The price displayed on the event page is the
`event.ticket`.`price_reduce` field,
which is basically the ticket price(`event.ticket`.`price`)
minus the possible discount applied by the pricelist
Nevertheless, the price asked when ordering the ticket,
in the cart/checkout, was the `ticket.price`,
without the possible discount from the pricelist, therefore.
The price asked for the ticket was therefore different than the price displayed.
To reproduce:
1. Settings > Sales > Use pricelist
2. Sales > Configuration > Pricelist > Public Pricelist > Apply a 20% discount (-0.2)
3. Go to /event, -> Conference on Business Applications
4. Order 1 of each
5. Notice that the price asked is 800€ and 1200€ instead of 1000€ and 1500€ respectively
6. Hit Order now -> Notice that the price in the cart are the price without the discount
opw-665540
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
