c9ab9e0a4337ff496834796e164fddfa203575a8
Recently, onchanges have been converted to computed fields in sale scope (See #79093). But we noticed the conversion of the logic allowing users to update the prices of existing lines if the pricelist was modified didn't behave correctly as a precomputed computed field. This commit reverts this change and brings back the behavior of show_update_pricelist as a field update through onchange. Fixes two problem: * Show_update_pricelist value on new sales orders was not saved * SO created programmatically (not through the interface) always had show_update_pricelist set as True, even if the pricelist wasn't modified. This meant that orders created by a connector (ebay, amazon, ...) showed the "Update Prices" button even when it made no sence because the prices were specified by the connector. closes odoo/odoo#85506 X-original-commit: 99313bcff9f99215fda176f3e92516b1da16e579 Signed-off-by: Victor Feyens (vfe) <vfe@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%