odoo-addon-account-financial-report 16.0.1.9.0.4__py3-none-any.whl → 16.0.1.10.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:1265efe25f74efb74cc3ed61f3b3cb01d2e93aa3c3c7970572d3bc325d5b2316
10
+ !! source digest: sha256:4165a502aed1ea293b49e9a4c346be23dcd94e67ea7b8308e3995e2871b30a93
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": "16.0.1.9.0",
9
+ "version": "16.0.1.10.0",
10
10
  "category": "Reporting",
11
11
  "summary": "OCA Financial Reports",
12
12
  "author": "Camptocamp,"
@@ -9,8 +9,8 @@ msgstr ""
9
9
  "Project-Id-Version: Odoo Server 11.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2018-03-16 08:14+0000\n"
12
- "PO-Revision-Date: 2024-07-09 10:58+0000\n"
13
- "Last-Translator: Jaime Ruiz Maccione <jaime.ruiz@sygel.es>\n"
12
+ "PO-Revision-Date: 2024-09-11 16:38+0000\n"
13
+ "Last-Translator: Jaume Planas <jaumeplan@gmail.com>\n"
14
14
  "Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
15
15
  "Language: ca\n"
16
16
  "MIME-Version: 1.0\n"
@@ -1213,7 +1213,7 @@ msgstr "Falta contacte"
1213
1213
  #: code:addons/account_financial_report/report/open_items.py:0
1214
1214
  #, python-format
1215
1215
  msgid "Missing Salesperson"
1216
- msgstr ""
1216
+ msgstr "Falta comercial"
1217
1217
 
1218
1218
  #. module: account_financial_report
1219
1219
  #: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
@@ -1429,7 +1429,7 @@ msgstr "Saldo inicial partner"
1429
1429
  #. module: account_financial_report
1430
1430
  #: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__salesperson
1431
1431
  msgid "Partner Salesperson"
1432
- msgstr ""
1432
+ msgstr "Comercial del soci"
1433
1433
 
1434
1434
  #. module: account_financial_report
1435
1435
  #. odoo-python
@@ -142,10 +142,11 @@ class GeneralLedgerXslx(models.AbstractModel):
142
142
  analytic_data = res_data["analytic_data"]
143
143
  filter_partner_ids = res_data["filter_partner_ids"]
144
144
  foreign_currency = res_data["foreign_currency"]
145
+ company_currency = res_data["company_currency"]
145
146
  # For each account
146
147
  for account in general_ledger:
147
148
  # Write account title
148
- total_bal_curr = account["init_bal"].get("bal_curr", 0)
149
+ total_bal_curr = 0
149
150
  self.write_array_title(
150
151
  account["code"] + " - " + accounts_data[account["id"]]["name"],
151
152
  report_data,
@@ -163,7 +164,7 @@ class GeneralLedgerXslx(models.AbstractModel):
163
164
  "initial_balance": account["init_bal"]["balance"],
164
165
  }
165
166
  )
166
- if foreign_currency:
167
+ if foreign_currency and account["currency_id"]:
167
168
  account.update(
168
169
  {"initial_bal_curr": account["init_bal"]["bal_curr"]}
169
170
  )
@@ -177,7 +178,10 @@ class GeneralLedgerXslx(models.AbstractModel):
177
178
  "journal": journals_data[line["journal_id"]]["code"],
178
179
  }
179
180
  )
180
- if line["currency_id"]:
181
+ line_currency_id = (
182
+ line["currency_id"][0] if line["currency_id"] else False
183
+ )
184
+ if line_currency_id and line_currency_id != company_currency.id:
181
185
  line.update(
182
186
  {
183
187
  "currency_name": line["currency_id"][1],
@@ -207,7 +211,11 @@ class GeneralLedgerXslx(models.AbstractModel):
207
211
  "analytic_distribution": analytic_distribution,
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],
@@ -310,7 +321,11 @@ class GeneralLedgerXslx(models.AbstractModel):
310
321
  "analytic_distribution": analytic_distribution,
311
322
  }
312
323
  )
313
- if foreign_currency:
324
+ if (
325
+ foreign_currency
326
+ and line_currency_id
327
+ and line_currency_id != company_currency.id
328
+ ):
314
329
  total_bal_curr += line["bal_curr"]
315
330
  line.update({"total_bal_curr": total_bal_curr})
316
331
  self.write_line_from_dict(line, report_data)
@@ -367,10 +367,7 @@
367
367
  </t>
368
368
  </div>
369
369
  <!-- Display each lines -->
370
- <t
371
- t-set="total_bal_curr"
372
- t-value="account_or_group_item_object['init_bal'].get('bal_curr', 0)"
373
- />
370
+ <t t-set="total_bal_curr" t-value="0" />
374
371
  <t t-foreach="account_or_group_item_object['move_lines']" t-as="line">
375
372
  <!-- # lines or centralized lines -->
376
373
  <div class="act_as_row lines">
@@ -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:1265efe25f74efb74cc3ed61f3b3cb01d2e93aa3c3c7970572d3bc325d5b2316
370
+ !! source digest: sha256:4165a502aed1ea293b49e9a4c346be23dcd94e67ea7b8308e3995e2871b30a93
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/16.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-16-0/account-financial-reporting-16-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=16.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: 16.0.1.9.0.4
3
+ Version: 16.0.1.10.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 :: 16.0
12
12
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
13
13
  Requires-Python: >=3.10
14
- Requires-Dist: odoo-addon-date-range <16.1dev,>=16.0dev
15
- Requires-Dist: odoo-addon-report-xlsx <16.1dev,>=16.0dev
16
- Requires-Dist: odoo <16.1dev,>=16.0a
14
+ Requires-Dist: odoo-addon-date-range<16.1dev,>=16.0dev
15
+ Requires-Dist: odoo-addon-report-xlsx<16.1dev,>=16.0dev
16
+ Requires-Dist: odoo<16.1dev,>=16.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:1265efe25f74efb74cc3ed61f3b3cb01d2e93aa3c3c7970572d3bc325d5b2316
27
+ !! source digest: sha256:4165a502aed1ea293b49e9a4c346be23dcd94e67ea7b8308e3995e2871b30a93
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
29
 
30
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,11 +1,11 @@
1
- odoo/addons/account_financial_report/README.rst,sha256=y9-MdljJfv0GDFXWU_8WA_mxhrYEVAEM9JAmShZ_SAU,6972
1
+ odoo/addons/account_financial_report/README.rst,sha256=7A0wtmdco2r2BRk_b0GbKVYTOMT63Xi33LkdNhd5JDE,6972
2
2
  odoo/addons/account_financial_report/__init__.py,sha256=YoL8hk5QxSifbFJL7gPzpOSk-3zB1OSHJBXyZK25G6Q,187
3
- odoo/addons/account_financial_report/__manifest__.py,sha256=SQhqGSsBSeMBMEFP3ZY3N45vjesea8rQNg2WOnhBbLg,2061
3
+ odoo/addons/account_financial_report/__manifest__.py,sha256=p20usrdpcZTiY4tI3Qme__QOrDJ7e-kIuubH9UHX2k4,2062
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=P1U1Mmx5c9VysiDBQ2HdYF9yDkHgc2iPwnGs1Jdbg-c,83705
7
7
  odoo/addons/account_financial_report/i18n/ar.po,sha256=NZeQk53pe7f2gZvxTaLH0WANLATy_lEtA7EDITH7N1Q,91684
8
- odoo/addons/account_financial_report/i18n/ca.po,sha256=Mb2fX4WxFKOW0T0XVEm_g9jCeXnnCFYI61fejyDzDIs,90519
8
+ odoo/addons/account_financial_report/i18n/ca.po,sha256=rrafvhfR1Y7wN6ri5539ilx-44O-NL5Z3kRdwi4_euo,90545
9
9
  odoo/addons/account_financial_report/i18n/de.po,sha256=stXVO3YQWuFlJUxaTUaF22BQAgKAyLsKpNnl1-Rifgw,94371
10
10
  odoo/addons/account_financial_report/i18n/es.po,sha256=xRZF0Gv94HHlNOIlLCzdO26IKVJF00XFcKfTauZBlbc,90879
11
11
  odoo/addons/account_financial_report/i18n/es_AR.po,sha256=xif6Alx5bGwY0woml8GGGss1mRGIFim6NAY2S5WCmWA,91271
@@ -42,7 +42,7 @@ odoo/addons/account_financial_report/report/abstract_report_xlsx.py,sha256=ugty0
42
42
  odoo/addons/account_financial_report/report/aged_partner_balance.py,sha256=e3qBXUOuQPccXuxPzqdUoig6Qbcsuzk7J-dKawoiijI,19596
43
43
  odoo/addons/account_financial_report/report/aged_partner_balance_xlsx.py,sha256=h_z-Jw_k46SBp5tWJh8iZU83-PGmKwGDZIyFRV--FNc,14334
44
44
  odoo/addons/account_financial_report/report/general_ledger.py,sha256=is5PS0xS63Us_hw0qXQpw_koxroMkcLD6nDjIkTyNSA,34934
45
- odoo/addons/account_financial_report/report/general_ledger_xlsx.py,sha256=bljV-GRofA1jaqPD65rJmhk96GhL2CIkyMN19CXAu5E,16458
45
+ odoo/addons/account_financial_report/report/general_ledger_xlsx.py,sha256=_g7aNXL0yier8i4HwMCcWpZOtI3BuIBJxUJJWsyWp5g,17278
46
46
  odoo/addons/account_financial_report/report/journal_ledger.py,sha256=5_w9CmKy_eZNgJsSL1TFTTe5b3DBBEY1qmseI1RuGPI,15424
47
47
  odoo/addons/account_financial_report/report/journal_ledger_xlsx.py,sha256=Pp7iDkBjSk0BqZkSPAiKI2hBHNcjKYjZoBxuL_ENz5E,10126
48
48
  odoo/addons/account_financial_report/report/open_items.py,sha256=JND4C0oixuL7cc45kVj5tc4ysivHQJguEPcX_ebviWI,12258
@@ -52,7 +52,7 @@ odoo/addons/account_financial_report/report/trial_balance_xlsx.py,sha256=phPDqy4
52
52
  odoo/addons/account_financial_report/report/vat_report.py,sha256=xrxyoyXGSXRML_NIXQF7b3kQ7Ir8WXc2gH2e9QlhDEQ,10331
53
53
  odoo/addons/account_financial_report/report/vat_report_xlsx.py,sha256=aa0dLzYdywjmO63ONRYUBTpSGmsPfEjX60CkUbULuo8,2317
54
54
  odoo/addons/account_financial_report/report/templates/aged_partner_balance.xml,sha256=IfeLCmOIFqyaEsRnRihb0pXo-deJD41id5qgjE3_Ftw,41020
55
- odoo/addons/account_financial_report/report/templates/general_ledger.xml,sha256=ne1YtEyTqvTV4Oxu54L1vVOheBOtcPGl-R_pVUD7Rlc,39228
55
+ odoo/addons/account_financial_report/report/templates/general_ledger.xml,sha256=a6uJkXdcFJNiQ2cCTtFXsarYppAjP9HYRjzTRVZbLOo,39126
56
56
  odoo/addons/account_financial_report/report/templates/journal_ledger.xml,sha256=egiOr0CBtt7c4dY0Ghtf44LxF-ounCUjg77CUDUTpX0,21574
57
57
  odoo/addons/account_financial_report/report/templates/layouts.xml,sha256=gCejPAn8GLrySSve8pGcs0fY5nr48C3mmyuoEJVZkJ4,1526
58
58
  odoo/addons/account_financial_report/report/templates/open_items.xml,sha256=03oeGZDxEysS8TVpm012DGQVlEYby_OC2Ob_WsnKX6o,21559
@@ -61,7 +61,7 @@ odoo/addons/account_financial_report/report/templates/vat_report.xml,sha256=-xlv
61
61
  odoo/addons/account_financial_report/security/ir.model.access.csv,sha256=S1VQLLwLeaOeAMYGqtoOqHUaZVrvDUVE4Z-0-SRjSGQ,1134
62
62
  odoo/addons/account_financial_report/security/security.xml,sha256=gpNJnzruXfeYskn26FqY9U04FiuTf8vgLCKEGY8PADM,422
63
63
  odoo/addons/account_financial_report/static/description/icon.png,sha256=WW-eOIjW5-jo7tgBieNv6K2DUKMoHFSVctnp0htstHI,15230
64
- odoo/addons/account_financial_report/static/description/index.html,sha256=jgtHrXvvKyrWAmgp2PnDWhG6MzII8kgTtuun0oXftiQ,20035
64
+ odoo/addons/account_financial_report/static/description/index.html,sha256=rEHXyS6HghIYkUhNPtv8_b4z-CjPNy7yfa3V4RDgWEU,20035
65
65
  odoo/addons/account_financial_report/static/src/css/report.css,sha256=Cu4VmyY5tVXIddaojFDsg0Ute2qPCvKbLiimak_X9ik,2361
66
66
  odoo/addons/account_financial_report/static/src/css/report_html.css,sha256=I1kX1RsThtjGNLOaNJEWCvMnB9iAFW6nGkcyFYZzJoA,135
67
67
  odoo/addons/account_financial_report/static/src/js/report.esm.js,sha256=He488vLRaLv6IIuVaNSnNl8kJMIwJmMIv7GkmXyPJZs,2475
@@ -98,7 +98,7 @@ odoo/addons/account_financial_report/wizard/trial_balance_wizard.py,sha256=k4SVH
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-16.0.1.9.0.4.dist-info/METADATA,sha256=VN1Y4wBnzjYz4En_1SZcVTpx1qQYTIjz9lnYHUS2AlA,7654
102
- odoo_addon_account_financial_report-16.0.1.9.0.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
103
- odoo_addon_account_financial_report-16.0.1.9.0.4.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
104
- odoo_addon_account_financial_report-16.0.1.9.0.4.dist-info/RECORD,,
101
+ odoo_addon_account_financial_report-16.0.1.10.0.dist-info/METADATA,sha256=HDazeQ806ltiAbS-tqlqa-iF2JIIbdMwwqtjPs-YEfc,7650
102
+ odoo_addon_account_financial_report-16.0.1.10.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
103
+ odoo_addon_account_financial_report-16.0.1.10.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
104
+ odoo_addon_account_financial_report-16.0.1.10.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