Commit Graph
14 Commits
Author SHA1 Message Date
Lucas Lefèvre 91f4b4a2e1 [FIX] spreadsheet_dashboard_account: count individual invoices
In the Invoicing dashboard, the "Average Invoice" scorecoard displays
the wrong amount of invoices. It displays the number of
"account.invoice.report" lines.

This commit fixes the issue by displaying the count_unique measure
of "move_id"

task 3180524

closes odoo/odoo#120322

X-original-commit: 6232896fe06640de6d461e645811673fe27481aa
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
2023-05-02 19:07:09 +02:00
Lucas Lefèvre fccbc91cc8 [FIX] spreadsheet_dashboard_account: display unpaid amount absolute value
In the Invoicing dashboard, the upper-left most scorecard displays the total
invoiced amount.
The baseline "X unpaid" is wrong. It was displaying the difference between
the key value (total invoiced amount) and the unpaid amount.
That means if not a single invoice was paid (everything unpaid), it would
display "0 unpaid". That obviously not correct.

opw-3248761

closes odoo/odoo#118030

X-original-commit: 2b795ee59ef063b5b7298382008ebd61c51de36e
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
2023-04-07 17:46:42 +02:00
Lucas Lefèvre e6990ed2b8 [FIX] spreadsheet_dashboard: remove currency formats
Some of the dashboard files were using currency formats, which are
hardcoded with a given currency.

Because of that, some amounts are displayed with a $ sign, even if
the amount is in €, according to the record's currency.

It should use the automatic currency formatting of LIST functions
to use the record's currency.

This commits removes the hardcoded currency formats.
Note that the automatic format displays the decimal values while
the hardcoded format did not.
This is a functional change.

opw 3071160
opw 3058192

closes odoo/odoo#107557

X-original-commit: 54c99ede032775b9699ae85f3112de427c4b12b5
Related: odoo/enterprise#34834
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
2022-12-12 13:18:59 +01:00
Adrien Minne f043908df8 [FIX] spreadsheet_dashboard_*: fix dashboards
Update dashboard with latest version.

closes odoo/odoo#107512

X-original-commit: bd116406002f9d0a196141fe742de36ac6dbaa55
Related: odoo/enterprise#34815
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
2022-12-09 16:41:01 +01:00
Adrien Minne 22d35da810 [FIX] spreadsheet_dashboard_*: update dashboards
Update dashboard to latest version

closes odoo/odoo#102006

X-original-commit: 4d6fb4549d4069fc52af0ba500f91ba271e9c62b
Related: odoo/enterprise#32222
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
2022-10-04 08:30:44 +02:00
Lucas Lefèvre 04892cc17e [FIX] spreadsheet_dashboard_*: adjust some spreadsheet dashboards
This commit fixes/improves spreadsheet dashboards.

closes odoo/odoo#101315

X-original-commit: 7e4cc7cf7be6c196abf0e467630dd5cd86bf15a7
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
2022-09-27 17:11:51 +02:00
Lucas Lefèvre 291d752ad5 [FIX] spreadsheet_dashboard_*: mark translatable cell content
closes odoo/odoo#101120

X-original-commit: 50e2c92fafa8640f9e23e70d2b10b5cf85373998
Related: odoo/enterprise#31780
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
2022-09-26 14:43:21 +02:00
Lucas Lefèvre d9e1017c50 [FIX] spreadsheet_dashboard_account: correct link to top invoices
X-original-commit: b609a166220c31be8e85679593103be513e15933
Part-of: odoo/odoo#100757
2022-09-21 21:41:48 +02:00
Lucas Lefèvre daafe98acc [FIX] spreadsheet_dashboard_account: link chart to invoicing menu
The chart is currently linked to a menu from the account_accountant module
which only exists in the Enterprise edition

X-original-commit: d7992d014d53c71e96857216d1131e49cc64eb1f
Part-of: odoo/odoo#100757
2022-09-21 21:41:48 +02:00
Lucas Lefèvre 5ec97eb5a2 [FIX] spreadsheet: remove filter matching when chart is deleted
If you insert an odoo chart, match a filter with one of the
chart field, then delete the chart
=> the field matching is not removed and is still exported

The same goes for pivot and list matching when they are removed

closes odoo/odoo#100390

Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
2022-09-19 16:10:17 +02:00
Lucas Lefèvre f4b7265466 [FIX] spreadsheet: delete odoo link when chart is deleted
Create a chart and link an odoo menu to it.
Now delete the chart.
=> the link is not properly removed and is still exported

Part-of: odoo/odoo#100390
2022-09-19 16:10:16 +02:00
Lucas Lefèvre 1ca605fe12 [IMP] spreadsheet_dashboard_*: update dashboards
*_account, _event_sale, _hr_expense, _pos_hr, _sale

closes odoo/odoo#100101

Related: odoo/enterprise#31283
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
2022-09-14 16:18:02 +02:00
Lucas Lefèvre 3a2196d73c [MOV] spreadsheet_dashboard_account: move dashboard to account_accountant
closes odoo/odoo#99985

Related: odoo/enterprise#31221
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
2022-09-12 12:43:49 +02:00
Lucas LefèvreandNathan Grognet 123a0fc739 [ADD] spreadsheet_dashboard_account: add finance dashboards
Part-of: odoo/odoo#97606
Co-authored-by: Nathan Grognet <ngr@odoo.com>
2022-09-10 02:54:53 +02:00