Commit Graph

70 Commits

Author SHA1 Message Date
OCA-git-bot
428337a2c2 account_financial_report 16.0.1.3.5 2024-11-29 15:38:41 +07:00
OCA-git-bot
1145edd8b9 account_financial_report 16.0.1.3.4 2024-11-29 15:38:41 +07:00
OCA-git-bot
558dc23d7c account_financial_report 16.0.1.3.3 2024-11-29 15:38:41 +07:00
David Ramia
8048c116ff [FIX] account_financial_report: Fix report links with domain 2024-11-29 15:38:41 +07:00
OCA-git-bot
e607fba7db account_financial_report 16.0.1.3.2 2024-11-29 15:38:41 +07:00
OCA-git-bot
b334842e67 account_financial_report 16.0.1.3.1 2024-11-29 15:38:41 +07:00
OCA-git-bot
18d0513af3 account_financial_report 16.0.1.3.0 2024-11-29 15:38:41 +07:00
OCA-git-bot
4f2f39ce96 account_financial_report 16.0.1.2.3 2024-11-29 15:38:41 +07:00
OCA-git-bot
05344b631a account_financial_report 16.0.1.2.2 2024-11-29 15:38:41 +07:00
OCA-git-bot
efd547fb7f account_financial_report 16.0.1.2.1 2024-11-29 15:38:41 +07:00
OCA-git-bot
33a7178d82 account_financial_report 16.0.1.2.0 2024-11-29 15:38:41 +07:00
OCA-git-bot
80559a323f account_financial_report 16.0.1.1.0 2024-11-29 15:38:41 +07:00
OCA-git-bot
8c0dd65f7b account_financial_report 16.0.1.0.2 2024-11-29 15:38:41 +07:00
OCA-git-bot
712d837870 account_financial_report 16.0.1.0.1 2024-11-29 15:38:41 +07:00
David Ramia
4de4c3d2b1 [MIG] account_financial_report: Migration to 16.0 2024-11-29 15:38:41 +07:00
Omar (Comunitea)
8f6ee42a53 [IMP] account_financial_report: Completes the functionality of hide_parent_hierarchy_level field and fix the level of accounts for trial balance 2024-11-29 15:38:41 +07:00
Ernesto Tejeda
4af9e021a7 [IMP] account_financial_report: Remove 'Computed Accounts' option from 'trial balance'. 2024-11-29 15:38:41 +07:00
Ethan Hildick
7395d1b0ad [14.0][FIX] account_financial_report: Run compute in multi 2024-11-29 15:38:41 +07:00
Víctor Martínez
5868931866 [FIX] account_financial_report: Show records in general ledger when not grouped. 2024-11-29 15:38:41 +07:00
Víctor Martínez
f41e8a6bc2 [FIX] account_financial_report: Don't show cancelled items when clicking on interactive cells
TT39954
2024-11-29 15:38:41 +07:00
Víctor Martínez
f400a79317 [IMP] account_financial_report: Add tax grouping in general ledger
TT38721
2024-11-29 15:38:41 +07:00
Víctor Martínez
1136d89256 [FIX] account_financial_report: Sort journal ledger by move_id
Without this sort, and using auto-sequence, the numbers of the journal
entries may appear unsorted on the journal ledger. Forcing at least this
minimum sorting, we assure the items are sorted.

TT38775
2024-11-29 15:38:41 +07:00
Víctor Martínez
50775bc204 [IMP] account_financial_report: Hide values that have the same currency as the company currency
An amount_different_company_currency cell type is added to apply the following logic:
- If the currency is the same as the company's currency, we will leave the value empty.
- If the currency is different from the company's currency, we will show the value.

TT38722
2024-11-29 15:38:41 +07:00
Lois Rilo
9830cc3aed [FIX] account_financial_report: run test after install
Due to the change at 15a1b3ae5c
it is now required to run tests that require CoA after install.
2024-11-29 15:38:41 +07:00
Abraham Anes
10fd4a2e37 [14.0][FIX] account_financial_report: Memory problems setting filters
Fixes #814
2024-11-29 15:38:41 +07:00
Jasmin Solanki
2b45a4c62f [MIG] account_financial_report: Migration to 15.0 2024-11-29 15:38:41 +07:00
Iryna Vyshnevska
132df3a92e [FIX] account_financial_report: use proper methods to set context 2024-11-29 15:38:41 +07:00
Stefan Rijnhart
60de5236d8 [UPD] Update account_financial_report.pot
[a0cb11bb] [FIX] Journal ledger wizard to inherit from abstract report wizard

Fixes
    AttributeError: type object 'journal.ledger.report.wizard' has no attribute
    'button_export_xlsx'

Regression of #735
2024-11-29 15:38:41 +07:00
João Marques
f80eda0180 [FIX] account_financial_report: Filter column creation to have correct offset in Journal Ledger
Fixes https://github.com/OCA/account-financial-reporting/issues/815
Seems like a missing change from 0e3b4d2972
2024-11-29 15:38:41 +07:00
Abraham Anes
edb0fcb184 [14.0][FIX] account_financial_reporting: wrong view_id 2024-11-29 15:38:41 +07:00
SimoRubi
e0a41eca2d [FIX] account_financial_report: Print report with details 2024-11-29 15:38:41 +07:00
ferran-73
ea16c97dab [14.0][IMP] account_financial_report: add keyword to function calls 2024-11-29 15:38:40 +07:00
valen
93d3792bae [IMP] account_financial_report: added 'auto sequence' option in Journal Ledger 2024-11-29 15:38:40 +07:00
Jordi Ballester
6fc73b237a [account_financial_report][fix] display correct target_move in Trial Balance XLSX 2024-11-29 15:38:40 +07:00
João Marques
0b1044d039 [FIX] account_financial_report: filter by correct data in trial balance
When on a Trial Balance report and filtering by hierarchical accounts or for a foreing currency, an error was produced when generating the report.

The report fields were dependant on data that is no longer present, such as line data.

This uses the correct data provided when generating the report to avoid this errors

TT29261
2024-11-29 15:38:40 +07:00
João Marques
70ad31174d [FIX] account_financial_report: Fix tests
Add date to invoice to be able to post
2024-11-29 15:38:40 +07:00
Cas Vissers
6a3b23106e [FIX] Default company should not be used since it doesn't mutate when switching companies. 2024-11-29 15:38:40 +07:00
Alexandre D. Díaz
3ce1d6b4fc [FIX] account_financial_report: Actions 2024-11-29 15:38:40 +07:00
João Marques
6e5ea71620 [FIX] account_financial_report: Refactor tests
Use core account test base, helping to ensure we have the correct accounting environment setup.
If any of the localization modules are loaded, this will make this tests be skipped, instead of simply failing

TT28423
2024-11-29 15:38:40 +07:00
João Marques
12034178bb [MIG] account_financial_report: Migration to 14.0
Since v14, Odoo defines the `__slots__` attribute in the `BaseModel` class (ea3e39506a)
This makes it impossible to add attributes to an instance like it was done here in v13.
The use of the `report_data` dictionary passed between method is the closes and simples solution to this "issue".

TT26415

Co-authored-by: Alex Cuellar <acuellar@grupoyacck.com>
2024-11-29 15:38:40 +07:00
mreficent
dc3431b348 [UPD] Eficent -> ForgeFlow 2024-11-29 15:38:40 +07:00
Joan Sisquella
fda4a2a169 [FIX] General ledger XLSX: solved mistake in the info 2024-11-29 15:38:40 +07:00
Pedro M. Baeza
cbacc1455c [FIX+IMP] account_financial_report: data can be None + no context mangling
Depending on the calling method, data can be something different from a dictionary
(like `None` if no keyword argument is provided), so this will crash. Example:
mis_builder is crashing in its tests.

We prevent that checking for a falsy value before trying to access the dictionary.

We also avoid context mangling for non AFR reports (those without the key
`account_financial_report_lang` in the dictionary), not callign to `with_context`
in that case.
2024-11-29 15:38:40 +07:00
Andrea
8cb94660e0 [FIX] translation not loaded 2024-11-29 15:38:40 +07:00
Stéphane Bidoul
7603bdaac9 [FIX] duplicates in es.po 2024-11-29 15:38:40 +07:00
Hughes Damry
88a00ef4cb FIX missing date in invoice
The second invoice created has no explicit so taking the current date could lead to failing tests because the invoice is out of search as the the setup sets date_from as time.strftime("%Y-%m-01") and date_to as time.strftime("%Y-%m-28"). So i choose the easy way by setting an explicit date for the invoice.
2024-11-29 15:38:40 +07:00
Travis Waelbroeck
72c6843d9b [FIX] account_financial_report: open_items
* Missing import causes failure when running Open Items with Date At in the past
2024-11-29 15:38:40 +07:00
Ernesto Tejeda
db9f316980 [FIX] account_financial_report: Fix error when generating reports
Some reports crash if account move line implicated are Sections lines or Notes lines in an invoice
2024-11-29 15:38:40 +07:00
Ernesto Tejeda
712d4a898a [MIG] account_financial_report: Migration to 13.0 2024-11-29 15:38:40 +07:00
Ernesto Tejeda
40c874a112 [IMP] account_financial_report: black, isort 2024-11-29 15:38:40 +07:00