73e213edef053c2e08d7791efe0b1a399da0eed7
In a warehouse, mostly most of the products have no lot. It stays important however to avoid having old products in stock, certainly if we can distinguish them by pack or location. As now in stable, in_date is not put on the quant for non-tracked products, databases might mix quants with and without in_date of the same product. We should see those without in_date as the oldest. That is why we need to be able to apply a ASC NULLS FIRST (ASC is NULLS LAST by default) for FIFO or DESC NULLS LAST for LIFO. In order to do that, we copied the code from the _search method of the ORM to be able to do this special order as the orm itself is restrictive as it supposes the order itself has no spaces. We adapted and added some tests to check it handles the combination of NULL/NOT NULL well.
…
…
…
…
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%