Commit Graph

295 Commits (62a307c72c5246030fc06ff1d2a1d4b51a07a388)

Author SHA1 Message Date
Weblate ec74606ce5 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/
2023-06-12 07:59:35 +00:00
OCA-git-bot 8b0d12ebe3 account_financial_report 14.0.3.8.0 2023-05-12 23:29:02 +00:00
OCA-git-bot 23c49870ad Merge PR #1033 into 14.0
Signed-off-by pedrobaeza
2023-05-12 23:23:46 +00:00
Francesco Foresti 693f8d226e Translated using Weblate (Italian)
Currently translated at 63.7% (162 of 254 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/it/
2023-05-12 12:57:14 +00:00
mymage e1f7db3be0 Translated using Weblate (Italian)
Currently translated at 63.7% (162 of 254 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/it/
2023-05-09 12:54:11 +00:00
Víctor Martínez 2bb7251e0b [FIX] account_financial_report: Prevent error related to currency from General ledger
Use case: Generate xlsx report (showing foreign currency) with accounts with defined currency.

Traceback:

File "/opt/odoo/auto/addons/account_financial_report/report/abstract_report_xlsx.py", line 535, in _get_currency_amt_format
    field_name = "{}_{}".format(field_prefix, currency.name)
AttributeError: 'int' object has no attribute 'name'
2023-05-09 10:15:26 +02:00
Víctor Martínez a394558c36 [FIX] account_financial_report: Prevent error related to currency from General ledger
Use case: Generate report (showing foreign currency) with accounts with defined currency.

Traceback:

File "/odoo/odoo-server/odoo/addons/base/models/ir_qweb_fields.py", line 448, in value_to_html
fmt = "%.{0}f".format(display_currency.decimal_places)
AttributeError: 'int' object has no attribute 'decimal_places'

The above exception was the direct cause of the following exception:

Error to render compiling AST
AttributeError: 'int' object has no attribute 'decimal_places'
Template: account_financial_report.report_general_ledger_lines
Path: /t/div/div[2]/t[6]/t[1]/div[1]/t[1]/span/t
Node: <t t-raw="account_or_group_item_object['init_bal']['bal_curr']" t-options="{'widget': 'monetary', 'display_currency': account['currency_id']}"/>

TT42804
2023-05-09 10:14:03 +02:00
OCA-git-bot 2dcd0a2b55 account_financial_report 14.0.3.7.4 2023-04-27 15:30:28 +00:00
Víctor Martínez 8f84dac3b3 [IMP] account_financial_report: Show move_name in entry column from general ledger report
It is not necessary to repeat part of the text shown in Ref - Label column.

TT42731
2023-04-27 16:36:49 +02:00
OCA-git-bot 87817d08c0 account_financial_report 14.0.3.7.3 2023-04-18 12:05:08 +00:00
Docker @ kuntrawant 4048104c79 [FIX] account_financial_report fix to take the id of the currency if is set, that fix the following error: opt/odoo/odoo/odoo/models.py", line 3681, in write
field.write(self, vals[fname])
  File "/opt/odoo/odoo/odoo/fields.py", line 3057, in write
    return self.write_batch([(records, value)])
  File "/opt/odoo/odoo/odoo/fields.py", line 3078, in write_batch
    return self.write_real(records_commands_list, create)
  File "/opt/odoo/odoo/odoo/fields.py", line 3254, in write_real
    flush()
  File "/opt/odoo/odoo/odoo/fields.py", line 3216, in flush
    comodel.create(to_create)
  File "<decorator-gen-69>", line 2, in create
  File "/opt/odoo/odoo/odoo/api.py", line 348, in _model_create_multi
    return create(self, arg)
  File "/opt/odoo/odoo/odoo/addons/base/models/ir_fields.py", line 534, in create
    recs = super().create(vals_list)
  File "<decorator-gen-13>", line 2, in create
  File "/opt/odoo/odoo/odoo/api.py", line 348, in _model_create_multi
    return create(self, arg)
  File "/opt/odoo/odoo/odoo/models.py", line 3886, in create
    records = self._create(data_list)
  File "/opt/odoo/odoo/odoo/models.py", line 3992, in _create
    cr.execute(query, params)
  File "<decorator-gen-3>", line 2, in execute
  File "/opt/odoo/odoo/odoo/sql_db.py", line 101, in check
    return f(self, *args, **kwargs)
  File "/opt/odoo/odoo/odoo/sql_db.py", line 301, in execute
    res = self._obj.execute(query, params)
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/odoo/odoo/odoo/http.py", line 641, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo/odoo/odoo/http.py", line 317, in _handle_exception
    raise exception.with_traceback(None) from new_cause
psycopg2.ProgrammingError: can't adapt type 'res.currency'
2023-04-18 12:29:46 +02:00
Matjaz Mozetic b8bd81ca5b Translated using Weblate (Slovenian)
Currently translated at 100.0% (254 of 254 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/sl/
2023-03-30 13:25:11 +00:00
OCA-git-bot 1ca707aabf account_financial_report 14.0.3.7.2 2023-03-21 17:48:07 +00:00
Rachid Alassir e9fc38f7e3 [FIX] account_financial_report: Replace wrong field `amount_currency` with two fields `debit_amount_currency` and `credit_amount_currency` 2023-03-21 05:23:27 +03:00
Matjaz Mozetic 25c1fed4c9 Translated using Weblate (Slovenian)
Currently translated at 100.0% (254 of 254 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/sl/
2023-03-18 13:23:40 +00:00
OCA-git-bot 0749ba7de3 account_financial_report 14.0.3.7.1 2023-03-16 11:20:09 +00:00
Pedro M. Baeza 4b254c4391 [FIX] account_financial_report: Assure the aml order
If we don't assure the order for the search, there are chances that
several items for the same account and date appear in a incorrect order:

24/02/2023 - BNK1/2023/02/0011 - ...
27/02/2023 - BNK1/2023/02/0013 - ...
27/02/2023 - BNK1/2023/02/0012 - ...
29/02/2023 - BNK1/2023/02/0014 - ...

TT42098
2023-03-16 09:43:21 +01:00
OCA-git-bot 1cb76997c4 account_financial_report 14.0.3.7.0 2023-02-27 19:36:46 +00:00
Víctor Martínez f397dcfa42 [IMP] account_financial_report: Remove amount_different_company_currency type from xlsx 2023-02-23 12:28:24 +01:00
Sergio Zanchetta 6ecb76ece5 Translated using Weblate (Italian)
Currently translated at 63.7% (162 of 254 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/it/
2023-02-16 00:08:42 +00:00
Matjaz Mozetic 6dc1ab648d Translated using Weblate (Slovenian)
Currently translated at 31.1% (79 of 254 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/sl/
2023-02-15 16:29:07 +00:00
OCA-git-bot 7b45661f11 account_financial_report 14.0.3.6.1 2023-02-15 13:43:36 +00:00
OCA-git-bot 20da4b1e80 Merge PR #926 into 14.0
Signed-off-by tafaRU
2023-02-15 13:39:59 +00:00
Matjaz Mozetic ebabd82b55 Added translation using Weblate (Slovenian) 2023-02-15 12:52:27 +00:00
Douglas Custódio 4277bbdb08 Translated using Weblate (Portuguese (Brazil))
Currently translated at 79.5% (202 of 254 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/pt_BR/
2023-02-13 20:22:05 +00:00
Weblate dc899e1167 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/
2023-01-24 15:39:53 +00:00
OCA-git-bot 7df7166390 account_financial_report 14.0.3.6.0 2023-01-24 15:39:38 +00:00
oca-ci d12cdbad9a [UPD] Update account_financial_report.pot 2023-01-24 15:36:05 +00:00
Víctor Martínez 1621edbacb [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
2023-01-17 10:02:29 +01:00
OCA-git-bot 4e4f3590dd account_financial_report 14.0.3.5.3 2023-01-17 08:03:50 +00:00
Víctor Martínez 0437d38dd3 [FIX] account_financial_report: General ledger changes:
- Fix total_bal_curr value from General ledger to prevent wrong values
- Prevent wrong values

TT41041
2023-01-17 08:22:24 +01:00
OCA-git-bot 1ece10029a account_financial_report 14.0.3.5.2 2023-01-05 18:18:28 +00:00
OCA-git-bot a3f8c9252c Merge PR #970 into 14.0
Signed-off-by pedrobaeza
2023-01-05 18:14:12 +00:00
AaronHForgeFlow 6e7cfb02b1 [IMP] account_financial_report: extensibility xlsx: allow to use other column types 2023-01-05 17:38:49 +01:00
OCA-git-bot 184e129adb account_financial_report 14.0.3.5.1 2023-01-03 16:28:47 +00:00
Víctor Martínez b782909278 [FIX] account_financial_report: Set acc_id key in total_amount if not exist (trial balance)
TT41041
2023-01-03 10:18:43 +01:00
OCA-git-bot 2a454c8189 account_financial_report 14.0.3.5.0 2022-12-29 15:57:19 +00:00
David Ramia 97a922eed3 [IMP] account_financial_report: change report access groups to only 'Show Full Accounting Features' 2022-12-24 11:15:46 +01:00
AaronHForgeFlow b91c2dfccc [13.0][IMP] account_financial_report: extensibility: ml fields 2022-12-23 18:44:19 +01:00
OCA-git-bot 6c86a05a95 account_financial_report 14.0.3.4.1 2022-12-21 18:53:00 +00:00
Reyes4711 56584e5bbc [14.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
2022-12-21 10:17:07 +01:00
OCA-git-bot 24cc4ec3e6 account_financial_report 14.0.3.4.0 2022-12-16 09:11:16 +00:00
OCA-git-bot 09249e9ee2 Merge PR #949 into 14.0
Signed-off-by pedrobaeza
2022-12-16 09:07:40 +00:00
Weblate 78d92790d0 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-11-30 13:30:36 +00:00
OCA-git-bot 5f651e8db3 account_financial_report 14.0.3.3.0 2022-11-30 13:30:20 +00:00
oca-ci 8bc4674406 [UPD] Update account_financial_report.pot 2022-11-30 13:27:23 +00:00
Víctor Martínez 8e2be2137b [FIX] account_financial_report: Show records in general ledger when not grouped. 2022-11-30 09:15:39 +01:00
Víctor Martínez 912b6de5cb [FIX] account_financial_report: Change partner_domain to misc_grouped_domain in general_ledger.
TT39754
2022-11-21 08:29:34 +01:00
Víctor Martínez c2d4b0525e [FIX] account_financial_report: Set the correct value of column 'Cumul cur.' in general ledger
TT39754
2022-11-21 08:29:34 +01:00
Víctor Martínez 057ec9c46d [IMP] account_financial_report: Improve domain to reduce code in general ledger.
TT39754
2022-11-21 08:29:34 +01:00