80f213c2bd545f89b0a996a9dcfb5e3fdeef028f
Step to reproduce: - Install l10n_it (or l10n_fr) - Run test `.test_standard_manual_to_auto_1` Issue: Test fail. Cause: Since this [commit](https://github.com/odoo/odoo/commit/0d84cc7aa17d325600e093aa58b0a82f6c0605aa), when changing the property valuation of a product category to `manual_periodic`, the properties `property_stock_*` are set to False. When setting back the property valuation to 'real_time', on the write of the product, we will try to 'Replenish the stock with the new cost method'. By doing so it will check a stock_input_account is found but since remove property from product category and property not set on company, it will not find any account and raise an error. Solution: Only for the test (since should consider that must set the default propreties on the company), when changing the property valuation, set also all the property_stock_* properties. opw-2767684 closes odoo/odoo#110054 X-original-commit: 7b6c25ec7945bf8aae7530696c3ef9e1afbc8c19 Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Nasreddin Boulif (bon) <bon@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%