-
- Downloads
[FIX] website_quote: prevent modifying the quote state if it's already been processed
Before this fix, it was possible to validate then cancel a quote (or the other way around) simply by using two tabs in your browser. From now on, we only validate/cancel a quote if it's the 'sent' state and advise the customer of the situation if he tries to abuse the process.
Showing
- addons/website_quote/controllers/main.py 4 additions, 0 deletionsaddons/website_quote/controllers/main.py
- addons/website_quote/static/src/js/website_quotation.js 2 additions, 1 deletionaddons/website_quote/static/src/js/website_quotation.js
- addons/website_quote/views/website_quotation.xml 8 additions, 0 deletionsaddons/website_quote/views/website_quotation.xml
Please register or sign in to comment