diff options
| author | Jeremy Kersten <jke@odoo.com> | 2018-10-22 11:54:06 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2018-10-25 14:28:08 +0000 |
| commit | ab017d767a116b2b81c09209c0acb18559155e1d (patch) | |
| tree | 1032f59f2eb42c2366d13de40646f895a53bf313 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 921fde1d37550de7844c5fd419536733e9305de0 (diff) | |
[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
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
