odoo/addons/website_event_sale/models
Denis Ledoux f9ee454d42 [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
2016-01-15 16:12:50 +01:00
..
__init__.py [FIX] website_event_sale: multi tickets 2014-05-02 16:01:52 +02:00
product.py [IMP] website_event: split module: remove depends with sale and move event's ticket form into a bridge: website_event_sale 2014-01-28 12:31:01 +01:00
sale_order.py [FIX] website_event_sale: pay the displayed price 2016-01-15 16:12:50 +01:00
website.py [IMP] website_sale: some fix and imp 2014-02-21 18:28:16 +01:00