diff options
| author | Debauche Stéphane <std@odoo.com> | 2020-02-10 12:25:03 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-02-18 15:59:13 +0000 |
| commit | 50d1ac6263908b92a53f8880da8dc3a8e0ae9488 (patch) | |
| tree | be1759ac57162464b4803747fba399605e2b881f /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 33630da5f1f5d1d5310d9f297694e82e7b2e0136 (diff) | |
[FIX] website_event_sale: reset sale when buying free tickets
When we buy a ticket on website, a sale order is automatically created and
confirmed if the ticket is free. When we buy a second ticket we will edit the
old SO, but we can't, because the SO was confirmed.
Solution
========
In `_create_attendees_from_registration_post`, reset the sale information.
Task ID 2188857
PR #44545
X-original-commit: d0e80ffdcc3a1ca2d872df66e1aee336f1777378
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
