d4eb7afcf1f052c74869c6532ca32f9e168e1a84
When a warehouse is renamed, associated route's name shall be renamed accordingly. As previously, the call to 'route.write()' in method '_update_name_and_code' was done after the 'super().write()', there was no way to remember the old name of the warehouse, and the 'replace' was so uneffective. The effectivenes of the replace is reestablished by doing the 'super().write' after the call to '_update_name_and_code', however, it breaks the method '_get_sequence_values' because it expects the name and code to be already written. That's why the optional parameters 'name' and 'code' are added to this last method. Task : 2985735 closes odoo/odoo#102968 X-original-commit: 3ebb80828f2d0bc15dd53c594c07bc374cc5be8d Signed-off-by: Arnold Moyaux (arm) <arm@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%