william-andre fba1347784 [FIX] account: balance in GL on dashboard display
There were a few issues:
* we didn't always take the last statement as a reference: if we had
  two statement the same day, we needed to take the last one. Adding the
  `id` in the ORDER BY actually also improves the performances (4s to
  2.5s on the test database for all journals)
* If there is no statement, we didn't display the balance at all because
  `statement.first_line_index` is NULL, therefore the `>=` operator
  returned NULL and the condition was falsy

opw-3268956
opw-3269493
opw-3268950
opw-3270450
opw-3270143
and many more...

closes odoo/odoo#118368

X-original-commit: 5c4fb4cd15a371c0648ae4aee160f9f858b89445
Signed-off-by: Laurent Smet <las@odoo.com>
Signed-off-by: William André (wan) <wan@odoo.com>
2023-04-16 09:49:06 +02:00
…
2023-04-13 17:57:45 +02:00
…
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%