Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] account_financial_report #1101

Merged
merged 258 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
258 commits
Select commit Hold shift + click to select a range
351fb17
Increasing version because of #PR403
BT-astauder Jul 14, 2018
9605448
[FIX] account_financial_report: Fix tests + sql for integration tests
pedrobaeza Jul 18, 2018
5b55c55
move font-family from generic tags
HviorForgeFlow Jul 26, 2018
7460763
[ADD] 11.0 account_financial_report: add filter by journals
mpanarin Jul 19, 2018
2d880a4
[11][FIX] Replace partner_ids by journal_ids
ons-eco Aug 16, 2018
3bec7ba
[11.0][IMP] Improve transient models cleaning
p-tombez Aug 21, 2018
82398b8
Translated using Weblate (German)
rschnapka Aug 23, 2018
5b6d453
Translated using Weblate (Spanish)
pedrobaeza Sep 6, 2018
f3538bb
[FIX] _transient_clean_rows_older_than() WHERE clause
astirpe Sep 21, 2018
266a411
Translated using Weblate (Arabic)
yaseentai Sep 22, 2018
61de819
Translated using Weblate (Spanish)
jimmybanegas Sep 24, 2018
9cf6f08
Translated using Weblate (Dutch)
Oct 2, 2018
82c695c
Translated using Weblate (Spanish)
Oct 20, 2018
d9a0d6e
Translated using Weblate (Italian)
alessandrocamilli Oct 25, 2018
6d8fee3
[account_financial_report] adds the following features to Trial Balance:
JordiBForgeFlow Nov 7, 2018
e7a10f3
remove account groups if hierarchy = 'none'
JordiBForgeFlow Nov 15, 2018
b2b5d19
account_financial_report: set backgroud-color to table
leemannd Nov 16, 2018
6514297
Translated using Weblate (German)
psc Nov 20, 2018
4c600b9
[FIX] account_financial_report_qweb: Widget date for t-raw date (#483)
Nov 27, 2018
fcf373e
Translated using Weblate (Spanish)
pedrobaeza Nov 27, 2018
d4b9da5
[account_financial_report][IMP] Adds the following:
JordiBForgeFlow Nov 22, 2018
0f3d135
[FIX+IMP] account_financial_report: new README structure + fixes in u…
JordiBForgeFlow Nov 29, 2018
90b9fe6
Translated using Weblate (Romanian)
dhongu Nov 29, 2018
9c9e74b
[FIX] account_financial_report: 2 things:
pedrobaeza Jan 7, 2019
110f17a
Translated using Weblate (Italian)
primes2h Dec 4, 2018
2d746de
Translated using Weblate (Spanish)
JordiBForgeFlow Dec 13, 2018
da37e1f
[IMP] account_financial_report: adapt the wizards to multicompany
MiquelRForgeFlow Mar 23, 2018
1ffccff
add proper titles
JordiBForgeFlow Dec 19, 2018
041ad8f
[FIX] account_financial_report: multicompany+layout behaviour (#498)
JordiBForgeFlow Jan 9, 2019
c8c82d9
[account_financial_report]
JordiBForgeFlow Jan 9, 2019
cfe63b2
[account_financial_report] fix title formatting for all reports
JordiBForgeFlow Jan 10, 2019
7edfe15
[FIX] account_financial_report: singleton error in aged partner balan…
MiquelRForgeFlow Jan 31, 2019
1581c06
[FIX] account_financial_report: Incorrect SQL query for cost centers
pedrobaeza Feb 7, 2019
ca3c8eb
Translated using Weblate (Spanish)
mvrodriguez Feb 6, 2019
316b0bb
Translated using Weblate (German)
tv-openbig Feb 13, 2019
6219e92
[IMP] account_financial_report: autoajust columns
cubells Mar 21, 2019
e56d866
account_financial_report: add option to hide parent hierarchy levels
JordiBForgeFlow Apr 26, 2019
84885da
Translated using Weblate (Spanish)
pedrobaeza May 8, 2019
7252ae8
Translated using Weblate (Italian)
May 14, 2019
4c8164e
fix check value param self.hierarchy for account grouping
May 14, 2019
db28dcb
[IMP] account_financial_reports: Several improvements:
Jan 28, 2019
47881d6
Translated using Weblate (Spanish)
pedrobaeza May 27, 2019
5aca5c7
[FIX] Few fixes to solve warnings:
qgroulard Mar 28, 2019
b7fc8bf
[11.0][FIX] open Account Move Line view from Aged Partner Balance report
AdriaGForgeFlow May 28, 2019
146f063
[MIG] account_financial_report: Migration to 12.0
wpichler Jan 16, 2019
e4a2785
[MIG] account_financial_report: Finalize migration to 12.0
eLBati May 30, 2019
29f5ed3
[FIX] account_financial_report: add group access to report actions (#…
i-vyshnevska Jun 18, 2019
54703ee
Translated using Weblate (Italian)
MarcoCalcagni Jul 19, 2019
84d3583
Added translation using Weblate (Japanese)
yostashiro Jul 21, 2019
0535017
Translated using Weblate (Japanese)
yostashiro Jul 21, 2019
b918bac
Translated using Weblate (Spanish)
josepmy Jul 22, 2019
5d2746e
Added translation using Weblate (Portuguese (Brazil))
eduaparicio Jul 22, 2019
5f37030
Translated using Weblate (Spanish)
josepmy Jul 22, 2019
99e39a1
Translated using Weblate (Portuguese (Brazil))
eduaparicio Jul 22, 2019
53ee072
Translated using Weblate (Portuguese (Brazil))
eduaparicio Jul 23, 2019
0fba412
Translated using Weblate (Portuguese (Brazil))
eduaparicio Jul 23, 2019
6366aa1
[FIX] account_financial_report: Update to bootstrap 4
pedroslopez Jun 21, 2019
481d379
[FIX] account_financial_report: Don't fail with installed l10n
pedrobaeza Jun 3, 2019
13ffd68
Translated using Weblate (French)
Jul 25, 2019
9ec3e5b
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Aug 2, 2019
70c9dc1
Fix display of captions in pdf
Sep 17, 2019
4a4d55f
account_financial_report: fix Trial Balance line order
gaikaz Sep 18, 2019
4ec1a05
Translated using Weblate (French)
Sep 23, 2019
ed3b59c
Translated using Weblate (French)
yterrettaz Sep 23, 2019
338057c
[12.0][FIX] - Hide ending balance if general ledger is filtered by pa…
sbejaoui Sep 25, 2019
b41859d
[FIX] account_financial_report: Avoid slow vacuum due to ondelete=cas…
pedrobaeza Aug 17, 2019
eb8443c
Translated using Weblate (French)
Martronic-SA Dec 24, 2019
abfba15
Added translation using Weblate (Croatian)
badbole Feb 5, 2020
fd34423
[12.0] account_financial_report: refactor
JoanSForgeFlow Jan 23, 2020
c048380
[IMP] account_financial_report: black, isort
Mar 23, 2020
e5703d5
[MIG] account_financial_report: Migration to 13.0
Mar 23, 2020
efe5eea
[FIX] account_financial_report: general_ledger
JoanSForgeFlow Apr 1, 2020
08c7b70
[FIX] account_financial_report: Fix error when generating reports
Apr 9, 2020
0b1b53b
[FIX] account_financial_report: open_items
traviswaelbro Apr 16, 2020
72f0660
account_financial_report: Increase columns width in general ledger
grindtildeath Mar 11, 2020
28336cc
fixup! account_financial_report: Increase columns width in general le…
Tonow-c2c May 6, 2020
27487c4
FIX missing date in invoice
Jun 30, 2020
c76690c
[IMP] account_financial_report: open_items & aged_partner_balance
JoanSForgeFlow Apr 30, 2020
5b59bba
[IMP] account_financial_report: select accounts between two codes
JoanSForgeFlow Apr 30, 2020
129bb71
[IMP] account_financial_report: open_items
JoanSForgeFlow Apr 29, 2020
1378649
[IMP] account_financial_report: multiple fixes and improvements
JordiBForgeFlow May 1, 2020
b4c53ae
[IMP] account_financial_report: Fix VAT Report and other improvements
JoanSForgeFlow May 22, 2020
8dbf1bf
[IMP] account_financial_report:
JoanSForgeFlow Jun 11, 2020
78c0fcd
[IMP] account_financial_report:
JordiBForgeFlow Jun 12, 2020
620cd9f
[FIX] account_financial_report:
JoanSForgeFlow Jun 18, 2020
7a41014
[IMP] account_financial_report: general_ledger
JoanSForgeFlow Jun 23, 2020
32a3808
Added translation using Weblate (Spanish (Argentina))
ibuioli Aug 9, 2020
35a0021
Translated using Weblate (Spanish (Argentina))
ibuioli Aug 9, 2020
e7973a1
[FIX] duplicates in es.po
sbidoul Aug 11, 2020
0f56e5c
Translated using Weblate (Spanish (Argentina))
ibuioli Aug 11, 2020
892aef6
[FIX] translation not loaded
astirpe Aug 5, 2020
efac89c
Translated using Weblate (Spanish (Argentina))
ibuioli Aug 21, 2020
df0ebb7
[FIX+IMP] account_financial_report: data can be None + no context man…
pedrobaeza Aug 28, 2020
faa0da3
[ADD] domain field for additional filtering
JoanSForgeFlow Aug 20, 2020
b2ea119
[IMP] domain widget performance fix
JoanSForgeFlow Aug 20, 2020
80038cc
[FIX] General ledger XLSX: solved mistake in the info
JoanSForgeFlow Sep 4, 2020
76a80b0
Translated using Weblate (Romanian)
dhongu Sep 23, 2020
1f35459
Translated using Weblate (Romanian)
dhongu Sep 23, 2020
9918a4a
Translated using Weblate (Romanian)
dhongu Sep 25, 2020
d503706
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
92c0fd9
Translated using Weblate (Spanish (Argentina))
ibuioli Oct 5, 2020
d8636ea
[IMP] account_financial_report: black, isort, prettier
tupaq Oct 11, 2020
239c3f0
[MIG] account_financial_report: Migration to 14.0
joao-p-marques Jan 25, 2021
a925ade
[FIX] account_financial_report: Fix tests
joao-p-marques Feb 25, 2021
87b39e2
[FIX] account_financial_report: Refactor tests
joao-p-marques Mar 1, 2021
a6f9427
Translated using Weblate (Spanish)
anasuarez1 Mar 10, 2021
19c4dd2
Added translation using Weblate (Spanish (Mexico))
alan196 Mar 17, 2021
0908db9
Translated using Weblate (Spanish (Mexico))
alan196 Mar 17, 2021
676f036
Translated using Weblate (French)
Yvesldff Mar 22, 2021
2417c82
Translated using Weblate (Spanish (Argentina))
ibuioli Mar 31, 2021
6f0e5c5
[FIX] account_financial_report: Actions
Tardo Mar 23, 2021
348f332
Translated using Weblate (Spanish (Argentina))
ibuioli Apr 2, 2021
9295e0b
[FIX] Default company should not be used since it doesn't mutate when…
Apr 6, 2021
5737d3c
Added translation using Weblate (French (France))
Yvesldff Apr 10, 2021
7affea3
Translated using Weblate (French (France))
Yvesldff Apr 10, 2021
0878da1
[FIX] account_financial_report: fix VAT report template
JordiMForgeFlow Apr 19, 2021
1b320f8
[FIX] account_financial_report: fix test
MiquelRForgeFlow Apr 20, 2021
466660c
Translated using Weblate (Dutch)
bosd Apr 27, 2021
c78a56b
[FIX] account_financial_report: allow navigation on all fields
joao-p-marques Apr 27, 2021
b9e8ade
[FIX] account_financial_report: Fix tests
joao-p-marques Apr 28, 2021
4f13d2d
[FIX] account_financial_report: Don't include unaffected account if a…
joao-p-marques May 12, 2021
3929e99
[FIX] account_financial_report: filter by correct data in trial balance
joao-p-marques May 13, 2021
04f56ae
[account_financial_report][fix] display correct target_move in Trial …
JordiBForgeFlow Jun 12, 2021
c61d75c
[IMP] account_financial_report: added 'auto sequence' option in Journ…
ValentinVinagre Jun 14, 2021
c8d7b3d
Update translation files
oca-transbot Jun 15, 2021
f4a6d79
Translated using Weblate (Spanish (Argentina))
ibuioli Jun 25, 2021
3e26c04
Translated using Weblate (Portuguese)
pedrocs-exo Jul 2, 2021
cdc1cad
[14.0][FIX] account_financial_report: fix method parameter order
ferran-S73 Aug 9, 2021
3c0fcf0
[14.0][IMP] account_financial_report: add keyword to function calls
ferran-S73 Aug 9, 2021
87fea66
[14.0][FIX] account_financial_report: Incorrect format definition
Zar21 Jun 10, 2021
d546151
Translated using Weblate (Spanish)
ernestotejeda Aug 23, 2021
c969aea
[FIX] account_financial_report: Print report with details
SimoRubi Aug 23, 2021
12af2f1
[14.0][FIX] account_financial_reporting: wrong view_id
Sep 15, 2021
6019103
[FIX] account_financial_report: Filter column creation to have correc…
joao-p-marques Sep 22, 2021
6b04da1
Translated using Weblate (Italian)
francesco-ooops Dec 3, 2021
2eb98c3
[13.0][FIX] account_financial_report: Correct all uses of
LoisRForgeFlow Oct 21, 2020
2ecec03
[FIX] account_financial_report: filter cancelled journal items
JoanSForgeFlow Oct 21, 2020
499b211
[IMP] account_financial_report: abstract for avoiding duplicated code…
JoanSForgeFlow Dec 24, 2020
cc9ea42
[UPD] Update account_financial_report.pot
StefanRijnhart Jan 6, 2021
6d62a00
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 9, 2022
30b7fc3
[FIX] account_financial_report: use proper methods to set context
i-vyshnevska Feb 14, 2022
523b2ff
[IMP] account_financial_report: black, isort, prettier
JasminSForgeFlow Mar 15, 2022
f4921f7
[MIG] account_financial_report: Migration to 15.0
JasminSForgeFlow Mar 16, 2022
fd9de1e
[14.0][FIX] account_financial_report: Memory problems setting filters
May 10, 2022
f054a25
Translated using Weblate (Catalan)
jabelchi May 26, 2022
3b399aa
[IMP] account_financial_report: common format for all amounts
LoisRForgeFlow Jul 19, 2022
4eab2d2
[FIX] account_financial_report: run test after install
LoisRForgeFlow Jul 20, 2022
b547360
Translated using Weblate (Spanish)
pedrobaeza Aug 26, 2022
6ebce9c
[IMP] account_financial_report: Remove "Cur." column (currency is now…
victoralmau Sep 1, 2022
6a9d8c7
[IMP] account_financial_report: Add "Cumul cur." column to general_le…
victoralmau Sep 1, 2022
ee90c41
[IMP] account_financial_report: Hide values that have the same curren…
victoralmau Sep 8, 2022
b6244fb
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 17, 2022
0811f1d
[FIX] account_financial_report: Sort journal ledger by move_id
victoralmau Sep 5, 2022
63f9c4c
[IMP] account_financial_report: Add tax_line_id field to taxes column…
victoralmau Sep 15, 2022
aa487be
[IMP] account_financial_report: Refactor
victoralmau Sep 14, 2022
0fe5aea
[IMP] account_financial_report: Add tax grouping in general ledger
victoralmau Sep 17, 2022
ac7c63f
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 26, 2022
846d5c7
[FIX] account_financial_report: Don't show cancelled items when click…
victoralmau Oct 26, 2022
c73e3c0
[FIX] account_financial_report: Show records in general ledger when n…
victoralmau Nov 29, 2022
2b5cce9
[14.0][FIX] account_financial_report: sort based partner name in open…
fredzamoabg Jan 13, 2022
b89a6b4
[14.0][FIX] account_financial_report: Run compute in multi
hildickethan Feb 15, 2022
3958a1c
[FIX] account_financial_report: Trial Balance with 'hide account at 0'
Feb 23, 2022
c35858b
[FIX] account_financial_report: trial balance hierarchy
May 27, 2022
7cf6d54
[IMP] account_financial_report: Remove 'Computed Accounts' option fro…
May 31, 2022
6a634e8
[IMP] account_financial_report: Completes the functionality of hide_p…
omar7r Apr 11, 2022
18bed0c
[IMP] account_financial_report: Improve domain to reduce code in gene…
victoralmau Nov 10, 2022
101f6f7
[FIX] account_financial_report: Set the correct value of column 'Cumu…
victoralmau Nov 9, 2022
36d7d32
[FIX] account_financial_report: Change partner_domain to misc_grouped…
victoralmau Nov 11, 2022
a3cde97
[MIG] account_financial_report: Migration to 16.0
ramiadavid Dec 20, 2022
e0cc209
[IMP] account_financial_report: change report access groups to only '…
ramiadavid Dec 24, 2022
753c82b
[UPD] Update account_financial_report.pot
Dec 24, 2022
88eb3d2
[UPD] README.rst
OCA-git-bot Dec 24, 2022
6b2762f
Update translation files
weblate Dec 24, 2022
7c9e5a7
[16.0][FIX] account_financial_report: generate ledger document
Reyes4711-S73 Dec 28, 2022
c3ed52d
account_financial_report 16.0.1.0.1
OCA-git-bot Dec 28, 2022
4270ddb
Translated using Weblate (Croatian)
badbole Jan 5, 2023
652fda9
[IMP] account_financial_report: extensibility: ml fields
AaronHForgeFlow Nov 22, 2022
70d9a4e
[IMP] account_financial_report: extensibility xlsx: allow to use othe…
AaronHForgeFlow Nov 22, 2022
fa74643
account_financial_report 16.0.1.0.2
OCA-git-bot Jan 16, 2023
d8a95e6
[FIX] account_financial_report: General ledger changes:
victoralmau Jan 5, 2023
75d51ee
account_financial_report 16.0.1.1.0
OCA-git-bot Jan 17, 2023
a0efc04
[IMP] account_financial_report: Trial balance changes:
victoralmau Jan 10, 2023
286f6ec
[UPD] Update account_financial_report.pot
Jan 25, 2023
ee9d53e
account_financial_report 16.0.1.2.0
OCA-git-bot Jan 25, 2023
3214db9
Update translation files
weblate Jan 25, 2023
d6d9518
[FIX] account_financial_report: endless installation
yajo Feb 9, 2023
afd2b8c
account_financial_report 16.0.1.2.1
OCA-git-bot Feb 9, 2023
f03b9aa
Translated using Weblate (Portuguese (Brazil))
douglascstd Feb 13, 2023
e7bd0b2
[IMP] account_financial_report: Remove amount_different_company_curre…
victoralmau Jan 17, 2023
a8d334d
account_financial_report 16.0.1.2.2
OCA-git-bot Feb 28, 2023
c0e7167
Added translation using Weblate (Turkish)
tate11 Mar 7, 2023
149b44b
Translated using Weblate (Turkish)
tate11 Mar 7, 2023
a085b95
[FIX] account_financial_report: Assure the aml order
pedrobaeza Mar 16, 2023
7c4916c
account_financial_report 16.0.1.2.3
OCA-git-bot Mar 16, 2023
1bbfcd6
[FIX] account_financial_report: Account group styling in qweb and xlsx
florian-dacosta Mar 20, 2023
5879df4
account_financial_report 16.0.1.3.0
OCA-git-bot Mar 20, 2023
30982bc
Fixed the amount_residual_currency on partial reconcile
are-agilebg Oct 7, 2022
0e86fd4
[FIX] account_financial_report: Replace wrong field `amount_currency`…
RachidAlassir Mar 21, 2023
b7f0b44
Translated using Weblate (Spanish)
gerard-vacas Mar 22, 2023
4b020eb
account_financial_report 16.0.1.3.1
OCA-git-bot Mar 24, 2023
3f68749
[FIX] account_financial_report fix to take the id of the currency if …
Apr 11, 2023
042b9d8
account_financial_report 16.0.1.3.2
OCA-git-bot Apr 18, 2023
98964b4
[FIX] account_financial_report: Replace deprecated t-raw to t-out
ramiadavid Apr 28, 2023
fea2429
[FIX] account_financial_report: Fix report links with domain
ramiadavid Apr 28, 2023
40c9db3
[IMP] account_financial_report: Show move_name in entry column from g…
victoralmau Apr 24, 2023
24712a6
account_financial_report 16.0.1.3.3
OCA-git-bot Apr 28, 2023
ddb553e
account_financial_report 16.0.1.3.4
OCA-git-bot Apr 28, 2023
81a212e
Translated using Weblate (Italian)
mymage May 9, 2023
bcd0feb
Translated using Weblate (French)
sanrav May 10, 2023
04afe52
Translated using Weblate (French (France) (fr_FR))
sanrav May 10, 2023
543a063
Translated using Weblate (Italian)
francesco-ooops May 12, 2023
977498b
[FIX] account_financial_report: Prevent error related to currency fro…
victoralmau Apr 27, 2023
85c7000
account_financial_report 16.0.1.3.5
OCA-git-bot May 15, 2023
f37faa6
Translated using Weblate (Spanish)
Ivorra78 May 31, 2023
11f91f2
Translated using Weblate (Portuguese (Brazil))
adrianojprado Jul 31, 2023
22e8b8e
[UPD] README.rst
OCA-git-bot Sep 3, 2023
ba92aa8
[FIX] account_financial_report: Prevent error related to currency fro…
victoralmau Jul 25, 2023
b42fa66
[FIX] account_financial_report: Initial currency balance value on tri…
aritzolea Sep 14, 2023
b6c4d41
oca-github-bot post-merge updates
OCA-git-bot Sep 18, 2023
cc1f1f8
[FIX] account_financial_report: Empty format
SirTakobi May 24, 2023
febae66
[BOT] post-merge updates
OCA-git-bot Sep 28, 2023
a20bd81
Update translation files
weblate Oct 9, 2023
7fbb2fe
Translated using Weblate (Spanish)
victoralmau Oct 11, 2023
c909ff2
[IMP] account_financial_report: test performance improvement
josep-tecnativa Oct 13, 2023
7d2c4c9
[BOT] post-merge updates
OCA-git-bot Oct 13, 2023
3399004
Translated using Weblate (Italian)
francesco-ooops Oct 13, 2023
cbf961c
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 13, 2023
2cd291c
Avoid error on installation with missing analytic account
grindtildeath Oct 13, 2023
2757f85
[BOT] post-merge updates
OCA-git-bot Oct 16, 2023
be5e4de
Added translation using Weblate (Swedish)
jakobkrabbe Oct 25, 2023
97ea195
Translated using Weblate (Swedish)
jakobkrabbe Oct 25, 2023
93d3143
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 28, 2023
db1e215
Translated using Weblate (French)
Nov 1, 2023
8d94779
Translated using Weblate (Dutch)
Nov 14, 2023
ac9cb6d
Translated using Weblate (Portuguese (Brazil))
adrianojprado Dec 27, 2023
e40ec27
[FIX] account_financial_report: fixing bug when calculation of credit…
May 23, 2023
199fd17
[15.0][FIX] account_financial_report: generate ledger document
Reyes4711-S73 Dec 26, 2022
0a081f2
[BOT] post-merge updates
OCA-git-bot Jan 3, 2024
e36239f
Translated using Weblate (Spanish)
pedrobaeza Jan 9, 2024
05f2517
Translated using Weblate (Swedish)
jakobkrabbe Jan 23, 2024
16ef570
[IMP] account_financial_report: pre-commit auto fixes
norlinhenrik Jan 24, 2024
6e78670
[MIG] account_financial_report: Migration to 17.0
norlinhenrik Jan 24, 2024
aa40a92
[FIX] account_financial_report: optimize computation of analytic acco…
yajo Feb 1, 2024
f155d3e
[16.0][FIX]account_financial_report: missing accounts
ChristophAbenthungCibex Jan 22, 2024
85be9c9
[IMP] account_financial_report: Add Missing partner support in trial …
victoralmau Feb 15, 2024
c7c0faf
[IMP] account_financial_report: Change Missing Partner as translatable
victoralmau Feb 16, 2024
94fb973
[FIX] account_financial_report: show currency name instead of dictionary
eLBati Mar 4, 2024
108791b
[FIX] account_financial_report: Filter correctly by account_type in G…
victoralmau Mar 19, 2024
03a3a6f
[IMP] account_financial_report: reversed variable only_one_unaffected…
norlinhenrik Mar 31, 2024
9f60cdf
[FIX] account_financial_report: report_action javascript
norlinhenrik Mar 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion account_financial_report/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Account Financial Reports",
"version": "16.0.1.4.0",
"version": "17.0.1.0.0",
"category": "Reporting",
"summary": "OCA Financial Reports",
"author": "Camptocamp SA,"
Expand Down
2 changes: 0 additions & 2 deletions account_financial_report/report/general_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ def _prepare_gen_ld_data_group_partners(self, data, domain, grouped_by):
else:
prt_id = gl["partner_id"][0]
prt_name = gl["partner_id"][1]
prt_name = prt_name._value
acc_id = gl["account_id"][0]
data[acc_id][prt_id] = self._prepare_gen_ld_data_item(gl)
data[acc_id][prt_id]["id"] = prt_id
Expand All @@ -236,7 +235,6 @@ def _prepare_gen_ld_data_group_taxes(self, data, domain, grouped_by):
if "tax_line_id" in gl and gl["tax_line_id"]:
tax_id = gl["tax_line_id"][0]
tax_name = gl["tax_line_id"][1]
tax_name = tax_name._value
else:
tax_id = 0
tax_name = "Missing Tax"
Expand Down
2 changes: 1 addition & 1 deletion account_financial_report/report/open_items_xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,6 @@ def write_ending_balance_from_dict(
name = my_object["code"] + " - " + my_object["name"]
my_object["residual"] = total_amount[account_id]["residual"]
label = _("Ending balance")
return super(OpenItemsXslx, self).write_ending_balance_from_dict(
return super().write_ending_balance_from_dict(
my_object, name, label, report_data
)
2 changes: 1 addition & 1 deletion account_financial_report/report/trial_balance_xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def write_line(self, line_object, type_object, report_data):
line_object.currency_id = line_object.report_account_id.currency_id
elif type_object == "account":
line_object.currency_id = line_object.currency_id
return super(TrialBalanceXslx, self).write_line(line_object, report_data)
return super().write_line(line_object, report_data)

def write_account_footer(self, account, name_value, report_data):
"""Specific function to write account footer for Trial Balance"""
Expand Down
72 changes: 36 additions & 36 deletions account_financial_report/static/src/js/report_action.esm.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
/** @odoo-module **/
import {ReportAction} from "@web/webclient/actions/reports/report_action";
import {patch} from "web.utils";
import {useEnrichWithActionLinks} from "./report.esm";
// /** @odoo-module **/
// import {ReportAction} from "@web/webclient/actions/reports/report_action";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feature is lost due to this commented:

imagen

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

patch(ReportAction.prototype, "account_financial_report.ReportAction", {
This line is causing error. How to do it in 17.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

patch(ReportAction.prototype, {
    setup() {

this._super.apply(this, arguments);
TypeError: Cannot read properties of undefined (reading 'apply')

super.apply(...arguments);
TypeError: (intermediate value).apply is not a function

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// super.apply(arguments);
TypeError: Cannot read properties of undefined (reading 'el')

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super.setup(...arguments);
This worked

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pedrobaeza Could you check if last changes solves pending issues? Thanks

// import { patch } from "@web/core/utils/patch";
// import {useEnrichWithActionLinks} from "./report.esm";

const MODULE_NAME = "account_financial_report";
// const MODULE_NAME = "account_financial_report";

patch(ReportAction.prototype, "account_financial_report.ReportAction", {
setup() {
this._super.apply(this, arguments);
this.isAccountFinancialReport = this.props.report_name.startsWith(
`${MODULE_NAME}.`
);
useEnrichWithActionLinks(this.iframe);
},
// patch(ReportAction.prototype, "account_financial_report.ReportAction", {
// setup() {
// this._super.apply(this, arguments);
// this.isAccountFinancialReport = this.props.report_name.startsWith(
// `${MODULE_NAME}.`
// );
// useEnrichWithActionLinks(this.iframe);
// },

export() {
this.action.doAction({
type: "ir.actions.report",
report_type: "xlsx",
report_name: this._get_xlsx_name(this.props.report_name),
report_file: this._get_xlsx_name(this.props.report_file),
data: this.props.data || {},
context: this.props.context || {},
display_name: this.title,
});
},
// export() {
// this.action.doAction({
// type: "ir.actions.report",
// report_type: "xlsx",
// report_name: this._get_xlsx_name(this.props.report_name),
// report_file: this._get_xlsx_name(this.props.report_file),
// data: this.props.data || {},
// context: this.props.context || {},
// display_name: this.title,
// });
// },

/**
* @param {String} str
* @returns {String}
*/
_get_xlsx_name(str) {
if (!_.isString(str)) {
return str;
}
const parts = str.split(".");
return `a_f_r.report_${parts[parts.length - 1]}_xlsx`;
},
});
// /**
// * @param {String} str
// * @returns {String}
// */
// _get_xlsx_name(str) {
// if (!_.isString(str)) {
// return str;
// }
// const parts = str.split(".");
// return `a_f_r.report_${parts[parts.length - 1]}_xlsx`;
// },
// });
1 change: 0 additions & 1 deletion account_financial_report/static/src/xml/report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
t-name="info.ReportAction"
t-inherit="web.ReportAction"
t-inherit-mode="extension"
owl="1"
>
<xpath expr="//button" position="after">
<button
Expand Down
16 changes: 4 additions & 12 deletions account_financial_report/wizard/general_ledger_wizard_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
groups="base.group_multi_company"
/>
</group>
<div
attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', True)]}"
>
<div invisible="not_only_one_unaffected_earnings_account == True">
pedrobaeza marked this conversation as resolved.
Show resolved Hide resolved
<group name="filters">
<group name="date_range">
<field name="date_range_id" />
Expand Down Expand Up @@ -95,9 +93,7 @@
</page>
</notebook>
</div>
<div
attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', False)]}"
>
<div invisible="not_only_one_unaffected_earnings_account == False">
pedrobaeza marked this conversation as resolved.
Show resolved Hide resolved
<field
name="not_only_one_unaffected_earnings_account"
invisible="1"
Expand All @@ -110,9 +106,7 @@
<group />
</div>
<footer>
<div
attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', True)]}"
>
<div invisible="not_only_one_unaffected_earnings_account == True">
<button
name="button_export_html"
string="View"
Expand All @@ -135,9 +129,7 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</div>
<div
attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', False)]}"
>
<div invisible="not_only_one_unaffected_earnings_account == False">
<button string="Cancel" class="oe_link" special="cancel" />
</div>
</footer>
Expand Down
28 changes: 10 additions & 18 deletions account_financial_report/wizard/trial_balance_wizard_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
groups="base.group_multi_company"
/>
</group>
<div
attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', True)]}"
>
<div invisible="not_only_one_unaffected_earnings_account == True">
<group name="filters">
<group name="date_range">
<field name="date_range_id" />
Expand All @@ -29,26 +27,26 @@
<field name="show_partner_details" />
<field
name="show_hierarchy"
attrs="{'invisible':[('show_partner_details','=',True)]}"
invisible="show_partner_details == True"
/>
<field
name="limit_hierarchy_level"
attrs="{'invisible':['|', ('show_hierarchy','=',False),('show_partner_details','=',True)]}"
invisible="show_hierarchy == False or show_partner_details == True"
/>
<field
name="show_hierarchy_level"
attrs="{'invisible':[('limit_hierarchy_level','=', False)]}"
invisible="limit_hierarchy_level == False"
/>
<field
name="hide_parent_hierarchy_level"
attrs="{'invisible':[('limit_hierarchy_level','=', False)]}"
invisible="limit_hierarchy_level == False"
/>
<field name="foreign_currency" />
</group>
</group>
<group
name="partner_filter"
attrs="{'invisible':[('show_partner_details','!=',True)]}"
invisible="show_partner_details == True"
col="1"
>
<label for="partner_ids" />
Expand All @@ -66,7 +64,7 @@
nolabel="1"
options="{'no_create': True}"
/>
<group attrs="{'invisible':[('show_partner_details','!=',True)]}" />
<group invisible="show_partner_details == True" />
<div />
<group name="account_filter" col="4">
<label for="account_ids" colspan="4" />
Expand Down Expand Up @@ -97,9 +95,7 @@
/>
</group>
</div>
<div
attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', False)]}"
>
<div invisible="not_only_one_unaffected_earnings_account == False">
<field
name="not_only_one_unaffected_earnings_account"
invisible="1"
Expand All @@ -112,9 +108,7 @@
<group />
</div>
<footer>
<div
attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', True)]}"
>
<div invisible="not_only_one_unaffected_earnings_account == True">
<button
name="button_export_html"
string="View"
Expand All @@ -137,9 +131,7 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</div>
<div
attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', False)]}"
>
<div invisible="not_only_one_unaffected_earnings_account == False">
<button string="Cancel" class="oe_link" special="cancel" />
</div>
</footer>
Expand Down
Loading