Commit Graph

302 Commits

Author SHA1 Message Date
Jasmin Solanki
dba1ed1287 [IMP] account_financial_report: black, isort, prettier 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
Ignacio Buioli
6d80804d4a Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (249 of 249 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/es_AR/
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
Joan Sisquella
68d7bb5e7a [IMP] account_financial_report: abstract for avoiding duplicated code and increase readability 2024-11-29 15:38:41 +07:00
Joan Sisquella
a04f638f23 [FIX] account_financial_report: filter cancelled journal items 2024-11-29 15:38:41 +07:00
Lois Rilo
31bed0f68f [13.0][FIX] account_financial_report: Correct all uses of
self.env.user.company_id. Also move company_id to the
wizard abstract model.
2024-11-29 15:38:41 +07:00
Francesco Foresti
8b9bad9807 Translated using Weblate (Italian)
Currently translated at 66.5% (165 of 248 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/it/
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
Ernesto Tejeda
87d23aab50 Translated using Weblate (Spanish)
Currently translated at 91.5% (227 of 248 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/es/
2024-11-29 15:38:40 +07:00
Zar21
d8e7326f48 [14.0][FIX] account_financial_report: Incorrect format definition 2024-11-29 15:38:40 +07:00
ferran-73
ea16c97dab [14.0][IMP] account_financial_report: add keyword to function calls 2024-11-29 15:38:40 +07:00
ferran-73
b445db906c [14.0][FIX] account_financial_report: fix method parameter order 2024-11-29 15:38:40 +07:00
Pedro Castro Silva
d2c1aae73e Translated using Weblate (Portuguese)
Currently translated at 100.0% (248 of 248 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/pt/
2024-11-29 15:38:40 +07:00
Ignacio Buioli
1a8ab6d6e5 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (248 of 248 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/es_AR/
2024-11-29 15:38:40 +07:00
OCA Transbot
ab70fa5ecf Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/
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
f9c27f2824 [FIX] account_financial_report: Don't include unaffected account if accounts are filtered
When generated a General Ledger or a Trial Balance, if some accounts are already filtered in the wizard don't show the information related to the unaffected earnings account

TT29658
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
João Marques
0abfff7f16 [FIX] account_financial_report: allow navigation on all fields
Pass res_id correctly to lines to allow navigation on the fields

In the open items ledger, the res_id attribute of the invoice
in the report was getting: (id, move_name)
The result was that, when clicking the line, it would redirect
to a new record, instead of the existing.
This passes only the id to the line, solving that issue.

Fix menu item name

TT29371
2024-11-29 15:38:40 +07:00
Bosd
970f614aac Translated using Weblate (Dutch)
Currently translated at 75.5% (185 of 245 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/nl/
2024-11-29 15:38:40 +07:00
mreficent
4a32e766f9 [FIX] account_financial_report: fix test
Due to fcaa54939e
2024-11-29 15:38:40 +07:00
JordiMForgeFlow
9db2069f3f [FIX] account_financial_report: fix VAT report template 2024-11-29 15:38:40 +07:00
Yves Le Doeuff
664a8eaaa7 Translated using Weblate (French (France))
Currently translated at 97.1% (238 of 245 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/fr_FR/
2024-11-29 15:38:40 +07:00
Yves Le Doeuff
4b0b7e5b2d Added translation using Weblate (French (France)) 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
Ignacio Buioli
ec9afd07a5 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (245 of 245 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/es_AR/
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
Ignacio Buioli
2e2679232e Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (245 of 245 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/es_AR/
2024-11-29 15:38:40 +07:00
Yves Le Doeuff
e8aa2849c5 Translated using Weblate (French)
Currently translated at 93.4% (229 of 245 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/fr/
2024-11-29 15:38:40 +07:00
Jesús Alan Ramos Rodríguez
1ede209842 Translated using Weblate (Spanish (Mexico))
Currently translated at 0.0% (0 of 245 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/es_MX/
2024-11-29 15:38:40 +07:00
Jesús Alan Ramos Rodríguez
c5db5c13eb Added translation using Weblate (Spanish (Mexico)) 2024-11-29 15:38:40 +07:00
Ana Suárez
fae08fa4f1 Translated using Weblate (Spanish)
Currently translated at 94.2% (231 of 245 strings)

Translation: account-financial-reporting-14.0/account-financial-reporting-14.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report/es/
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
2e232d9a90 [FIX] account_financial_report: Fix tests
On multi-company settings, we need to make sure we are searching and creating objects with the correct company associated.
Also take into account previously created account groups

 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
Alex Cuellar
e250c0583d [IMP] account_financial_report: black, isort, prettier 2024-11-29 15:38:40 +07:00
Ignacio Buioli
ed7ef8a475 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (245 of 245 strings)

Translation: account-financial-reporting-13.0/account-financial-reporting-13.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-account_financial_report/es_AR/
2024-11-29 15:38:40 +07:00
mreficent
dc3431b348 [UPD] Eficent -> ForgeFlow 2024-11-29 15:38:40 +07:00
Dorin Hongu
cdc98d4071 Translated using Weblate (Romanian)
Currently translated at 79.2% (194 of 245 strings)

Translation: account-financial-reporting-13.0/account-financial-reporting-13.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-account_financial_report/ro/
2024-11-29 15:38:40 +07:00
Dorin Hongu
e7c1f4beb7 Translated using Weblate (Romanian)
Currently translated at 78.0% (191 of 245 strings)

Translation: account-financial-reporting-13.0/account-financial-reporting-13.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-account_financial_report/ro/
2024-11-29 15:38:40 +07:00
Dorin Hongu
cf05ddd7ea Translated using Weblate (Romanian)
Currently translated at 75.5% (185 of 245 strings)

Translation: account-financial-reporting-13.0/account-financial-reporting-13.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-account_financial_report/ro/
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
Joan Sisquella
e8cdafc8d0 [IMP] domain widget performance fix 2024-11-29 15:38:40 +07:00
Joan Sisquella
fd18f5c312 [ADD] domain field for additional filtering 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