Files
odoo_source/addons/website_sale/models
Jeremy Kersten ab017d767a [FIX] website_sale: optimize last_website_so_id
Don't compute it for public user that can have thousand of SO
Improve request to find the last one.

'Sent' state should be included, but in case of wire transfer, state is sent,
while we should not be able to update this order.
-> to imp in master

Courtesy of @nseinlet that spotted this issue and propose similar fix

This commit closes #27779 #28158

closes odoo/odoo#28164
2018-10-25 14:28:08 +00:00
..