81136e4dc98211a705f66bf007da52c92addfa7b
Steps to reproduce: - Go to Inventory -> Reporting -> Location. - Enable the 'Value(value)' to be displayed on the view. - Group by Location. Issue: There is no value displayed under the 'value' column Reason: When overriding the ``_read_group()`` in ``StockQuant``, in the stack it's called by the ``BaseMode.read_group()`` where the aggregated fields are computed. As ``StockQuant.value`` is a computed field(not stored), it will never be part of it https://github.com/odoo/odoo/blob/6d785a9cacf9f592eb76e8edccabf514bf348f08/odoo/models.py#L2516. So when entering the ``StockQuant._read_group()``, ``{'value:sum'}.isdisjoint(aggregates)`` will always be true. opw-3440766 closes odoo/odoo#135150 X-original-commit: 4fb6415c8ddfbcf691b92441e72fbfda6f2f3875 Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Eteil Junior Djoumatchoua (etdj) <etdj@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%