Daily updates from Odoo
Friday, April 19, 2019
1 change
Resolved issues and error corrections
This fix corrects how products are ordered on the website by consistently using the dedicated website ordering field. It prevents products from appearing in the wrong position and makes website product sorting more reliable for sales and membership pages.
Original PR description
There was multiple issues with `website_sequence` field, mostly coming from commits during the last few years that tried to change the `website_sequence` order to be the same as `sequence` but changing only half of the code. Other commits tried to restore that again by changing only some parts. This commit does: 1. Originally, the `website_sequence` was supposed to be the opposite of `sequence` field, the greater the first. It allows to promote infinitly without having to recompute all the sequence tree. This commit restore that. 2. Since the order was reverse and one of the demo data had sequence set to '4' we could actually only sequence down 3 product before hitting 0. 3. Membership was not using the `website_sequence` in the supposed order 4. Add `website_sequence` field in form/list view in debug. task-1960777