Commit Graph

588 Commits (3cb1c6a9cdf18973ca1ba555fbc92acff0738b51)

Author SHA1 Message Date
João Marques 6aa1743214 [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
2022-04-05 08:39:48 +05:30
Bosd ffd86094db 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/
2022-04-05 08:39:48 +05:30
mreficent ce55142c74 [FIX] account_financial_report: fix test
Due to fcaa54939e
2022-04-05 08:39:48 +05:30
JordiMForgeFlow 7d182010a7 [FIX] account_financial_report: fix VAT report template 2022-04-05 08:39:48 +05:30
Yves Le Doeuff 96c8f661a7 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/
2022-04-05 08:39:48 +05:30
Yves Le Doeuff 1b983b8897 Added translation using Weblate (French (France)) 2022-04-05 08:39:48 +05:30
OCA-git-bot 79ff785d08 account_financial_report 14.0.1.1.1 2022-04-05 08:39:48 +05:30
Cas Vissers d542cd078b [FIX] Default company should not be used since it doesn't mutate when switching companies. 2022-04-05 08:39:48 +05:30
Ignacio Buioli 03d4b40036 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/
2022-04-05 08:39:48 +05:30
OCA Transbot 708a760cbe 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/
2022-04-05 08:39:48 +05:30
OCA-git-bot 2496b117af account_financial_report 14.0.1.1.0 2022-04-05 08:39:48 +05:30
oca-travis d60c00e604 [UPD] Update account_financial_report.pot 2022-04-05 08:39:48 +05:30
Alexandre D. Díaz bab4a4cf05 [FIX] account_financial_report: Actions 2022-04-05 08:39:48 +05:30
Ignacio Buioli 8efb09399c 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/
2022-04-05 08:39:48 +05:30
Yves Le Doeuff 218edcc031 Translated using Weblate (French)
Currently translated at 98.3% (241 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/
2022-04-05 08:39:48 +05:30
Yves Le Doeuff 5f620dfc7a Translated using Weblate (French)
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/fr/
2022-04-05 08:39:48 +05:30
Yves Le Doeuff e40261fb58 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/
2022-04-05 08:39:48 +05:30
Jesús Alan Ramos Rodríguez 130489dde1 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/
2022-04-05 08:39:48 +05:30
Jesús Alan Ramos Rodríguez ec719f220c Added translation using Weblate (Spanish (Mexico)) 2022-04-05 08:39:48 +05:30
Ana Suárez d082c0af74 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/
2022-04-05 08:39:48 +05:30
OCA-git-bot f92ca9b533 account_financial_report 14.0.1.0.1 2022-04-05 08:39:48 +05:30
João Marques 436a6e028d [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
2022-04-05 08:39:48 +05:30
João Marques f23450bbed [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
2022-04-05 08:39:48 +05:30
OCA-git-bot 4d0acbe72e [UPD] README.rst 2022-04-05 08:39:48 +05:30
oca-travis c3d34684a4 [UPD] Update account_financial_report.pot 2022-04-05 08:39:48 +05:30
João Marques 1fc07d0633 [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>
2022-04-05 08:39:48 +05:30
Alex Cuellar 1e92a40691 [IMP] account_financial_report: black, isort, prettier 2022-04-05 08:39:48 +05:30
Ignacio Buioli 5abbac64d7 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/
2022-04-05 08:39:48 +05:30
mreficent bfa13361ed [UPD] Eficent -> ForgeFlow 2022-04-05 08:39:48 +05:30
Dorin Hongu 7f43e77ab5 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/
2022-04-05 08:39:48 +05:30
Dorin Hongu c18eb67bcd 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/
2022-04-05 08:39:48 +05:30
Dorin Hongu 7c082c21b6 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/
2022-04-05 08:39:48 +05:30
Joan Sisquella 91d736f242 [FIX] General ledger XLSX: solved mistake in the info 2022-04-05 08:39:48 +05:30
Joan Sisquella 159c772efd [IMP] domain widget performance fix 2022-04-05 08:39:48 +05:30
Joan Sisquella bf8ba49e8b [ADD] domain field for additional filtering 2022-04-05 08:39:48 +05:30
Pedro M. Baeza 28f3aed4b0 [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.
2022-04-05 08:39:48 +05:30
Ignacio Buioli 1ae6530d59 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (242 of 242 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/
2022-04-05 08:39:48 +05:30
Andrea b82a75136b [FIX] translation not loaded 2022-04-05 08:39:48 +05:30
Ignacio Buioli af8e3e8817 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (241 of 241 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/
2022-04-05 08:39:48 +05:30
Stéphane Bidoul 7d7fbcdce0 [FIX] duplicates in es.po 2022-04-05 08:39:48 +05:30
Ignacio Buioli 2cdb3f7a63 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (229 of 229 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/
2022-04-05 08:39:48 +05:30
Ignacio Buioli e6bf8bf5f1 Added translation using Weblate (Spanish (Argentina)) 2022-04-05 08:39:48 +05:30
Joan Sisquella d36074655d [IMP] account_financial_report: general_ledger
* "hide account at 0" hides account/partner if inital cumul balance is 0 and there are not movements in the period
2022-04-05 08:39:48 +05:30
Joan Sisquella a6a385b930 [FIX] account_financial_report:
Not showing journal items with amount residual equal to 0
2022-04-05 08:39:48 +05:30
Jordi Ballester Alomar fc1b0c3f4f [IMP] account_financial_report:
* fix speed issue in VAT report
* rename Cost Center to Analytic Account in General Ledger
2022-04-05 08:39:48 +05:30
Joan Sisquella d0fe1909f5 [IMP] account_financial_report:
* filter by analytic_account
2022-04-05 08:39:48 +05:30
Joan Sisquella 0c6a1a0c5b [IMP] account_financial_report: Fix VAT Report and other improvements 2022-04-05 08:39:48 +05:30
Jordi Ballester Alomar a00866d80e [IMP] account_financial_report: multiple fixes and improvements 2022-04-05 08:39:48 +05:30
Joan Sisquella c3af3b9ef7 [IMP] account_financial_report: open_items
* added option "show_partner_details"
2022-04-05 08:39:48 +05:30
Joan Sisquella 9efdfd7208 [IMP] account_financial_report: select accounts between two codes 2022-04-05 08:39:48 +05:30