5f9ff7d4426a5977f498ad2dc434e3d0c1fe6be2
In the Inventory's Configuration, the option to enable expiration dates depends of the activation of lot and serial numbers. But if the user disables the tracking and the expirations dates were enabled, they still are. Also, if the module `product_expiry` is installed directly, the tracking numbers aren't enabled alongside. To fix that, this commit modifies the `res.config.settings` onchange `_onchange_group_stock_production_lot` to disable automatically expiration dates when tracking is disabled, and this commit also adds a hook in the `product_expiry` init to enable tracking numbers at the installation. Part-of: odoo/odoo#109511
…
…
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%