Commit Graph

395 Commits (3a74f6394114ba642c9a233089c862d1631f6d98)

Author SHA1 Message Date
Enric Tobella 4836c5c600 [IMP] mis_builder_cash_flow: Add tests 2023-09-19 13:03:53 +02:00
Juan Jose Scarafia 89e7721477 [12.0][ADD] mis_builder_cash_flow module 2023-09-19 13:03:53 +02:00
OCA-git-bot 9ceca3b768 oca-github-bot post-merge updates 2023-09-18 15:57:04 +00:00
OCA-git-bot d66b56cf92 Merge PR #1068 into 16.0
Signed-off-by pedrobaeza
2023-09-18 15:53:08 +00:00
Aritz Olea c3d7cb53f9 [FIX] account_financial_report: Initial currency balance value on trial balance report 2023-09-14 14:14:15 +02:00
Víctor Martínez 953dc41e63 [FIX] account_financial_report: Prevent error related to currency from Trial Balance
Use case: Generate report (showing foreign currency) with accounts with defined currency.

Traceback:

Error to render compiling AST
AttributeError: 'int' object has no attribute 'decimal_places'
Template: account_financial_report.report_trial_balance_line
Path: /t/div/t[3]/t[1]/t/t/div/span/t
Node: <t t-esc="balance['initial_currency_balance']" t-options="{'widget': 'monetary', 'display_currency': balance['currency_id']}"/>

The error occured while rendering the template account_financial_report.report_trial_balance_line and evaluating the following expression: <t t-esc="balance['initial_currency_balance']" t-options="{'widget': 'monetary', 'display_currency': balance['currency_id']}"/>
2023-09-14 14:13:34 +02:00
OCA-git-bot b856f1f825 [UPD] README.rst 2023-09-03 11:14:36 +00:00
Adriano Prado 0d2bcce35e Translated using Weblate (Portuguese (Brazil))
Currently translated at 89.2% (225 of 252 strings)

Translation: account-financial-reporting-16.0/account-financial-reporting-16.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_financial_report/pt_BR/
2023-07-31 17:10:39 +00:00
OCA-git-bot eb9148ed70 [UPD] addons table in README.md 2023-07-13 06:28:53 +00:00
OCA-git-bot afdaa8fbfe account_tax_balance 16.0.1.1.0 2023-07-13 06:28:48 +00:00
OCA-git-bot 831fb4c654 Merge PR #1051 into 16.0
Signed-off-by pedrobaeza
2023-07-13 06:25:49 +00:00
Andrea e1ca7256e5 [16.0][IMP] account_tax_balance
We have improved this module by hiding the financial type field only in the sales invoices and the purchase invoice and in the refunds
2023-07-12 13:06:45 +02:00
Ivorra78 9989c4ec2a Translated using Weblate (Spanish)
Currently translated at 100.0% (52 of 52 strings)

Translation: account-financial-reporting-16.0/account-financial-reporting-16.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_tax_balance/es/
2023-06-02 13:12:40 +00:00
Ivorra78 737f2adbbf Translated using Weblate (Spanish)
Currently translated at 100.0% (252 of 252 strings)

Translation: account-financial-reporting-16.0/account-financial-reporting-16.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_financial_report/es/
2023-05-31 10:12:35 +00:00
OCA-git-bot dd57ddad24 [UPD] addons table in README.md 2023-05-15 08:22:39 +00:00
OCA-git-bot d59d8a6da1 account_financial_report 16.0.1.3.5 2023-05-15 08:22:33 +00:00
OCA-git-bot 1a314e239b Merge PR #1041 into 16.0
Signed-off-by pedrobaeza
2023-05-15 08:08:06 +00:00
Víctor Martínez d6d2804e49 [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

[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-15 09:00:10 +02:00
Francesco Foresti 8a81da373c Translated using Weblate (Italian)
Currently translated at 62.6% (158 of 252 strings)

Translation: account-financial-reporting-16.0/account-financial-reporting-16.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_financial_report/it/
2023-05-12 12:57:16 +00:00
Sandrine (ACSONE) 32b21a60ad Translated using Weblate (French (France) (fr_FR))
Currently translated at 100.0% (252 of 252 strings)

Translation: account-financial-reporting-16.0/account-financial-reporting-16.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_financial_report/fr_FR/
2023-05-10 13:02:43 +00:00
Sandrine (ACSONE) 09c5f9498a Translated using Weblate (French)
Currently translated at 100.0% (252 of 252 strings)

Translation: account-financial-reporting-16.0/account-financial-reporting-16.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_financial_report/fr/
2023-05-10 13:02:43 +00:00
mymage 1071a138ff Translated using Weblate (Italian)
Currently translated at 62.6% (158 of 252 strings)

Translation: account-financial-reporting-16.0/account-financial-reporting-16.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_financial_report/it/
2023-05-09 12:54:17 +00:00
OCA-git-bot bbfab69026 [UPD] addons table in README.md 2023-04-28 12:28:23 +00:00
OCA-git-bot 14f68e1050 account_financial_report 16.0.1.3.4 2023-04-28 12:28:18 +00:00
OCA-git-bot 880f270f6e Merge PR #1038 into 16.0
Signed-off-by pedrobaeza
2023-04-28 12:25:07 +00:00
OCA-git-bot 616544ab2f [UPD] addons table in README.md 2023-04-28 10:28:19 +00:00
OCA-git-bot 3f815f8525 account_financial_report 16.0.1.3.3 2023-04-28 10:28:13 +00:00
OCA-git-bot 6920352906 Merge PR #1037 into 16.0
Signed-off-by rafaelbn
2023-04-28 10:24:54 +00:00
Víctor Martínez 9e0ba66fae [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-28 11:59:42 +02:00
David Ramia 1c7040e17b [FIX] account_financial_report: Fix report links with domain 2023-04-28 10:51:48 +02:00
David Ramia 5c2f8cec78 [FIX] account_financial_report: Replace deprecated t-raw to t-out 2023-04-28 09:27:42 +02:00
OCA-git-bot 38b463020a [UPD] addons table in README.md 2023-04-18 16:07:06 +00:00
OCA-git-bot 4828d497cf account_financial_report 16.0.1.3.2 2023-04-18 16:06:59 +00:00
OCA-git-bot 83f9813ddc Merge PR #1030 into 16.0
Signed-off-by pedrobaeza
2023-04-18 16:03:51 +00:00
Docker @ kuntrawant 8eac04d5cf [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 14:07:52 +02:00
OCA-git-bot b9059ae232 [UPD] addons table in README.md 2023-03-24 16:55:54 +00:00
OCA-git-bot af5b476b5f account_financial_report 16.0.1.3.1 2023-03-24 16:55:40 +00:00
OCA-git-bot 38e15655f6 Merge PR #1027 into 16.0
Signed-off-by pedrobaeza
2023-03-24 16:52:18 +00:00
gerard-vacas cf2da9e5d0 Translated using Weblate (Spanish)
Currently translated at 98.8% (249 of 252 strings)

Translation: account-financial-reporting-16.0/account-financial-reporting-16.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_financial_report/es/
2023-03-22 19:23:48 +00:00
gerard-vacas 9a9f327aec Translated using Weblate (Spanish)
Currently translated at 98.0% (247 of 252 strings)

Translation: account-financial-reporting-16.0/account-financial-reporting-16.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_financial_report/es/
2023-03-22 15:23:47 +00:00
Rachid Alassir 7ea63feb0c [FIX] account_financial_report: Replace wrong field `amount_currency` with two fields `debit_amount_currency` and `credit_amount_currency` 2023-03-22 09:25:48 +01:00
Alberto Re c754461b0c Fixed the amount_residual_currency on partial reconcile 2023-03-22 09:25:38 +01:00
OCA-git-bot f9d67fda7d [UPD] addons table in README.md 2023-03-20 18:09:17 +00:00
OCA-git-bot 690377b571 account_financial_report 16.0.1.3.0 2023-03-20 18:09:11 +00:00
OCA-git-bot e3f4b89e52 Merge PR #1023 into 16.0
Signed-off-by pedrobaeza
2023-03-20 18:06:16 +00:00
Florian da Costa 07d64cfc6a [FIX] account_financial_report: Account group styling in qweb and xlsx 2023-03-20 10:21:51 +01:00
OCA-git-bot 77d8da6f28 [UPD] addons table in README.md 2023-03-16 18:51:01 +00:00
OCA-git-bot 32b6aaf52b account_financial_report 16.0.1.2.3 2023-03-16 18:50:55 +00:00
OCA-git-bot 4e31403788 Merge PR #1021 into 16.0
Signed-off-by pedrobaeza
2023-03-16 18:47:13 +00:00
Pedro M. Baeza e1e73830e0 [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 19:41:14 +01:00