Commit Graph

96 Commits

Author SHA1 Message Date
Víctor Martínez
defdc2f0fd [IMP] account_financial_report: Remove amount_different_company_currency type from xlsx 2024-11-29 15:38:41 +07:00
Víctor Martínez
babce27fd8 [IMP] account_financial_report: Trial balance changes:
- Show Initial balance and Ending balance only when it is necessary with currency + hide currency column
- Show currency in the correct column
- Create a dict with all keys when it does not exist
- Prevent wrong values

TT41158
2024-11-29 15:38:41 +07:00
Víctor Martínez
fcdf1ba8bf [FIX] account_financial_report: General ledger changes:
- Fix total_bal_curr value from General ledger to prevent wrong values
- Prevent wrong values

TT41041
2024-11-29 15:38:41 +07:00
AaronHForgeFlow
4104852ce0 [IMP] account_financial_report: extensibility xlsx: allow to use other column types 2024-11-29 15:38:41 +07:00
AaronHForgeFlow
74787ee588 [IMP] account_financial_report: extensibility: ml fields 2024-11-29 15:38:41 +07:00
Reyes4711
981680063e [16.0][FIX] account_financial_report: generate ledger document
In general ledger report shows an error due to the fact that the ball_curr varible does not generated
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
Víctor Martínez
0e20eeb133 [FIX] account_financial_report: Change partner_domain to misc_grouped_domain in general_ledger.
TT39754
2024-11-29 15:38:41 +07:00
Víctor Martínez
10a1fa4858 [FIX] account_financial_report: Set the correct value of column 'Cumul cur.' in general ledger
TT39754
2024-11-29 15:38:41 +07:00
Víctor Martínez
c9e2b9d17b [IMP] account_financial_report: Improve domain to reduce code in general ledger.
TT39754
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
Ernesto Tejeda
9efca74d7d [FIX] account_financial_report: trial balance hierarchy
When the report is generated with 'hierarchy' option checked,
the group hierarchy values are not calculated correctly
2024-11-29 15:38:41 +07:00
Ernesto Tejeda
dd455bacc4 [FIX] account_financial_report: Trial Balance with 'hide account at 0' 2024-11-29 15:38:41 +07:00
Alfredo Zamora
8e2e3f6e1f [14.0][FIX] account_financial_report: sort based partner name in open_items report 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
9807b68953 [IMP] account_financial_report: Refactor
TT38721
2024-11-29 15:38:41 +07:00
Víctor Martínez
4f8823b290 [IMP] account_financial_report: Add tax_line_id field to taxes column 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
Víctor Martínez
2e678ee7b9 [IMP] account_financial_report: Add "Cumul cur." column to general_ledger.
TT38722
2024-11-29 15:38:41 +07:00
Víctor Martínez
0cd327f198 [IMP] account_financial_report: Remove "Cur." column (currency is now added in "Amount cur.") from general_ledger.
TT38722
2024-11-29 15:38:41 +07:00
Lois Rilo
4ac0f4efbb [IMP] account_financial_report: common format for all amounts
In the open items report, the currency original and residual
fields were being displayed as regular float fields. With
this change they are printed with the corresponding format
for the currency of the journal item.
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
Jasmin Solanki
dba1ed1287 [IMP] account_financial_report: black, isort, prettier 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
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
SimoRubi
e0a41eca2d [FIX] account_financial_report: Print report with details 2024-11-29 15:38:41 +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
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
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
JordiMForgeFlow
9db2069f3f [FIX] account_financial_report: fix VAT report template 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
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
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
Joan Sisquella
fd18f5c312 [ADD] domain field for additional filtering 2024-11-29 15:38:40 +07:00
Joan Sisquella
a7113073fb [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
2024-11-29 15:38:40 +07:00
Joan Sisquella
67bc2beefd [FIX] account_financial_report:
Not showing journal items with amount residual equal to 0
2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
707b147c6c [IMP] account_financial_report:
* fix speed issue in VAT report
* rename Cost Center to Analytic Account in General Ledger
2024-11-29 15:38:40 +07:00