21c5613bf8d37310d8572fa109e7a9a832741145
Current behaviour: After archiving the public pricelist (14.0 to 16.1, as 16.2 does no longer have a public pricelist), when creating a new pricelist, it replaces the previous pricelist with all partners. 1 Second pricelist 2 First pricelist Expected behaviour: New pricelists should go after the previous one 1 First pricelist 2 Second pricelist Steps to reproduce: 1. Go to settings, activate Pricelists 2. Head over to Sales->Products->Pricelists 3. If applicable, archive the public pricelist 4. Create a new pricelist (named 'First') 5. Create another pricelist (named 'Second') 6. Go to Contacts, select any contact 7. In Sales & Purchase see Pricelist 8. Second pricelist is set, should be First Cause of the issue: _order is set to "sequence asc, id desc" Since new pricelists have a sequence of 16 by default, new pricelists (with a higher id) get placed first. Fix: New pricelists without a sequence number get sequenced based on the highest sequence number in existing pricelists opw-3282880 closes odoo/odoo#121441 Related: odoo/enterprise#43591 Signed-off-by: Antoine Demany (ande) <ande@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%