odoo-addon-account-financial-report 15.0.2.12.1.2__py3-none-any.whl → 15.0.2.13.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of odoo-addon-account-financial-report might be problematic. Click here for more details.

@@ -7,7 +7,7 @@ Account Financial Reports
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:80acd6b2fff0b0817cc7e978b4eb91669c3e6a9d6e1289d4721e8a790f858f1c
10
+ !! source digest: sha256:3121efa26eabd1f91b11d7831fa71ec8e51fb667c9557da6cb7a42856be2766a
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -6,7 +6,7 @@
6
6
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
7
7
  {
8
8
  "name": "Account Financial Reports",
9
- "version": "15.0.2.12.1",
9
+ "version": "15.0.2.13.0",
10
10
  "category": "Reporting",
11
11
  "summary": "OCA Financial Reports",
12
12
  "author": "Camptocamp,"
@@ -150,6 +150,7 @@ class GeneralLedgerXslx(models.AbstractModel):
150
150
  tags_data = res_data["tags_data"]
151
151
  filter_partner_ids = res_data["filter_partner_ids"]
152
152
  foreign_currency = res_data["foreign_currency"]
153
+ company_currency = res_data["company_currency"]
153
154
  # For each account
154
155
  for account in general_ledger:
155
156
  # Write account title
@@ -171,7 +172,7 @@ class GeneralLedgerXslx(models.AbstractModel):
171
172
  "initial_balance": account["init_bal"]["balance"],
172
173
  }
173
174
  )
174
- if foreign_currency:
175
+ if foreign_currency and account["currency_id"]:
175
176
  account.update(
176
177
  {"initial_bal_curr": account["init_bal"]["bal_curr"]}
177
178
  )
@@ -185,7 +186,10 @@ class GeneralLedgerXslx(models.AbstractModel):
185
186
  "journal": journals_data[line["journal_id"]]["code"],
186
187
  }
187
188
  )
188
- if line["currency_id"]:
189
+ line_currency_id = (
190
+ line["currency_id"][0] if line["currency_id"] else False
191
+ )
192
+ if line_currency_id and line_currency_id != company_currency.id:
189
193
  line.update(
190
194
  {
191
195
  "currency_name": line["currency_id"][1],
@@ -207,7 +211,11 @@ class GeneralLedgerXslx(models.AbstractModel):
207
211
  "tags": tags,
208
212
  }
209
213
  )
210
- if foreign_currency:
214
+ if (
215
+ foreign_currency
216
+ and line_currency_id
217
+ and line_currency_id != company_currency.id
218
+ ):
211
219
  total_bal_curr += line["bal_curr"]
212
220
  line.update({"total_bal_curr": total_bal_curr})
213
221
  self.write_line_from_dict(line, report_data)
@@ -219,7 +227,7 @@ class GeneralLedgerXslx(models.AbstractModel):
219
227
  "final_balance": account["fin_bal"]["balance"],
220
228
  }
221
229
  )
222
- if foreign_currency:
230
+ if foreign_currency and account["currency_id"]:
223
231
  account.update(
224
232
  {
225
233
  "final_bal_curr": account["fin_bal"]["bal_curr"],
@@ -262,7 +270,7 @@ class GeneralLedgerXslx(models.AbstractModel):
262
270
  ],
263
271
  }
264
272
  )
265
- if foreign_currency:
273
+ if foreign_currency and account["currency_id"]:
266
274
  group_item.update(
267
275
  {
268
276
  "initial_bal_curr": group_item["init_bal"]["bal_curr"],
@@ -278,7 +286,10 @@ class GeneralLedgerXslx(models.AbstractModel):
278
286
  "journal": journals_data[line["journal_id"]]["code"],
279
287
  }
280
288
  )
281
- if line["currency_id"]:
289
+ line_currency_id = (
290
+ line["currency_id"][0] if line["currency_id"] else False
291
+ )
292
+ if line_currency_id and line_currency_id != company_currency.id:
282
293
  line.update(
283
294
  {
284
295
  "currency_name": line["currency_id"][1],
@@ -300,7 +311,11 @@ class GeneralLedgerXslx(models.AbstractModel):
300
311
  "tags": tags,
301
312
  }
302
313
  )
303
- if foreign_currency:
314
+ if (
315
+ foreign_currency
316
+ and line_currency_id
317
+ and line_currency_id != company_currency.id
318
+ ):
304
319
  total_bal_curr += line["bal_curr"]
305
320
  line.update({"total_bal_curr": total_bal_curr})
306
321
  self.write_line_from_dict(line, report_data)
@@ -367,7 +367,7 @@ ul.auto-toc {
367
367
  !! This file is generated by oca-gen-addon-readme !!
368
368
  !! changes will be overwritten. !!
369
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:80acd6b2fff0b0817cc7e978b4eb91669c3e6a9d6e1289d4721e8a790f858f1c
370
+ !! source digest: sha256:3121efa26eabd1f91b11d7831fa71ec8e51fb667c9557da6cb7a42856be2766a
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-reporting/tree/15.0/account_financial_report"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-reporting-15-0/account-financial-reporting-15-0-account_financial_report"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
373
  <p>This module adds a set of financial reports. They are accessible under
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_financial_report
3
- Version: 15.0.2.12.1.2
3
+ Version: 15.0.2.13.0
4
4
  Summary: OCA Financial Reports
5
5
  Home-page: https://github.com/OCA/account-financial-reporting
6
6
  Author: Camptocamp,initOS GmbH,redCOR AG,ForgeFlow,Odoo Community Association (OCA)
@@ -11,9 +11,9 @@ Classifier: Framework :: Odoo
11
11
  Classifier: Framework :: Odoo :: 15.0
12
12
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
13
13
  Requires-Python: >=3.8
14
- Requires-Dist: odoo-addon-date-range <15.1dev,>=15.0dev
15
- Requires-Dist: odoo-addon-report-xlsx <15.1dev,>=15.0dev
16
- Requires-Dist: odoo <15.1dev,>=15.0a
14
+ Requires-Dist: odoo-addon-date-range<15.1dev,>=15.0dev
15
+ Requires-Dist: odoo-addon-report-xlsx<15.1dev,>=15.0dev
16
+ Requires-Dist: odoo<15.1dev,>=15.0a
17
17
 
18
18
  =========================
19
19
  Account Financial Reports
@@ -24,7 +24,7 @@ Account Financial Reports
24
24
  !! This file is generated by oca-gen-addon-readme !!
25
25
  !! changes will be overwritten. !!
26
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
- !! source digest: sha256:80acd6b2fff0b0817cc7e978b4eb91669c3e6a9d6e1289d4721e8a790f858f1c
27
+ !! source digest: sha256:3121efa26eabd1f91b11d7831fa71ec8e51fb667c9557da6cb7a42856be2766a
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
29
 
30
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,6 +1,6 @@
1
- odoo/addons/account_financial_report/README.rst,sha256=Uj6Nc5AeVlw2BQ0-wK77T1dCEc2UPeUXUsX43FCuLi4,6889
1
+ odoo/addons/account_financial_report/README.rst,sha256=nwsLqm4dE3XeDfGonvCs6AgoblSVhF2M-17uVWrIRU4,6889
2
2
  odoo/addons/account_financial_report/__init__.py,sha256=YoL8hk5QxSifbFJL7gPzpOSk-3zB1OSHJBXyZK25G6Q,187
3
- odoo/addons/account_financial_report/__manifest__.py,sha256=4he9vpa0X9GJaoVtLnOClEZNEYq0W-OyldPewaRGw3Y,2308
3
+ odoo/addons/account_financial_report/__manifest__.py,sha256=khQP_6tzGsbjcoJK9wWt6Y_tqkkbNfb2XFmCC_sOVAg,2308
4
4
  odoo/addons/account_financial_report/menuitems.xml,sha256=k20N6cNRlDsnPhc378MVs7jwzJhbbJQ2k-P3WdsmF_M,1206
5
5
  odoo/addons/account_financial_report/reports.xml,sha256=c2KamS250rNzHUInjNwC0G2dhwiIqtYgbked51PtmVw,9254
6
6
  odoo/addons/account_financial_report/i18n/account_financial_report.pot,sha256=6iqE5_K5jkKvTdP_azbWriMLqkyTzoCPZ9gkGJntJDU,84679
@@ -41,7 +41,7 @@ odoo/addons/account_financial_report/report/abstract_report_xlsx.py,sha256=ugty0
41
41
  odoo/addons/account_financial_report/report/aged_partner_balance.py,sha256=p-D_r-PA8dKl0tHYawEcP5QpvjwiBq7eSQm2kRBHY-A,20848
42
42
  odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py,sha256=9xB660H5Xv8aX65oy-1gDXBSjQERIpRrlJhbtXtyToQ,14492
43
43
  odoo/addons/account_financial_report/report/general_ledger.py,sha256=wRXeQsrMlaZtGbjcSDDCyN5EjGM3Wlp4CGfmWIhcQmE,35441
44
- odoo/addons/account_financial_report/report/general_ledger_xlsx.py,sha256=EHkkVgdt2_Vpw01KjqVb6RKZBfEKWBqdsXvMBu3iRPY,15599
44
+ odoo/addons/account_financial_report/report/general_ledger_xlsx.py,sha256=lYk-CJ8n9H_fVOBRe6pPnqkDLibs3WIpEIptZXEX-xk,16456
45
45
  odoo/addons/account_financial_report/report/journal_ledger.py,sha256=j83-QCAONs7AAh1C3C7_3_nByKk43B7o3Atx42OhdOc,15362
46
46
  odoo/addons/account_financial_report/report/journal_ledger_xlsx.py,sha256=Pp7iDkBjSk0BqZkSPAiKI2hBHNcjKYjZoBxuL_ENz5E,10126
47
47
  odoo/addons/account_financial_report/report/open_items.py,sha256=7iIrnkCLuH17Lx0I98Nvt0KfYpcyhVcNRSJMr9i_PS8,13788
@@ -60,7 +60,7 @@ odoo/addons/account_financial_report/report/templates/vat_report.xml,sha256=F5hQ
60
60
  odoo/addons/account_financial_report/security/ir.model.access.csv,sha256=S1VQLLwLeaOeAMYGqtoOqHUaZVrvDUVE4Z-0-SRjSGQ,1134
61
61
  odoo/addons/account_financial_report/security/security.xml,sha256=gpNJnzruXfeYskn26FqY9U04FiuTf8vgLCKEGY8PADM,422
62
62
  odoo/addons/account_financial_report/static/description/icon.png,sha256=WW-eOIjW5-jo7tgBieNv6K2DUKMoHFSVctnp0htstHI,15230
63
- odoo/addons/account_financial_report/static/description/index.html,sha256=OOG8AmMXwXaD0da_im6BD3ZCWLs8NoT15UKk4t88fBI,19748
63
+ odoo/addons/account_financial_report/static/description/index.html,sha256=h-S5aP201xgBXNNAyVl1VZweTto393bkxwCzaBfhvjo,19748
64
64
  odoo/addons/account_financial_report/static/src/css/report.css,sha256=y0CysZUK3afkYSHgBaMi_qmh8da3XXEZwJDjRBg6HqQ,2335
65
65
  odoo/addons/account_financial_report/static/src/css/report_html.css,sha256=I1kX1RsThtjGNLOaNJEWCvMnB9iAFW6nGkcyFYZzJoA,135
66
66
  odoo/addons/account_financial_report/static/src/js/action_manager_report.js,sha256=g8aZkSRMgNcFzQ4f_3mmeKl7oNnoap_cDUxuyGxMT4M,1608
@@ -98,7 +98,7 @@ odoo/addons/account_financial_report/wizard/trial_balance_wizard.py,sha256=hFaHY
98
98
  odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml,sha256=7oNGPs3s8DVw3movVGe2ryRUNl1MtN7O76UH8zaFFtI,7048
99
99
  odoo/addons/account_financial_report/wizard/vat_report_wizard.py,sha256=pJATDNWLcEWvctby5e5yvv4Kz7YDfCTi7YZP7slA8a4,3424
100
100
  odoo/addons/account_financial_report/wizard/vat_report_wizard_view.xml,sha256=T3P81O4csDGP7Jmf7eAtmbIIldja3IoXbBmweMMt8vA,2330
101
- odoo_addon_account_financial_report-15.0.2.12.1.2.dist-info/METADATA,sha256=QsS026QvLbIkJG6mZYVHCTLbeV21bITJO87St8Dp4k8,7571
102
- odoo_addon_account_financial_report-15.0.2.12.1.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
103
- odoo_addon_account_financial_report-15.0.2.12.1.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
104
- odoo_addon_account_financial_report-15.0.2.12.1.2.dist-info/RECORD,,
101
+ odoo_addon_account_financial_report-15.0.2.13.0.dist-info/METADATA,sha256=asj72Mnp-ahD1pArLMdBltsaKsIZ2pc14gWo6Okx8z0,7566
102
+ odoo_addon_account_financial_report-15.0.2.13.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
103
+ odoo_addon_account_financial_report-15.0.2.13.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
104
+ odoo_addon_account_financial_report-15.0.2.13.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5