Commit Graph

133 Commits

Author SHA1 Message Date
OCA-git-bot
a70efb9520 [BOT] post-merge updates 2024-08-19 07:13:01 +00:00
Pedro M. Baeza
963fa23483 [IMP] account_reconciliation_widget: Performance opening reconciliation widget
There was an unneeded mapped of the initial statements that fetches a lot of
data from statement lines that are not going to be used later, so let's
remove it and optimize a bit the initial opening time.

In a customer database, we have improved the opening time from 120 seconds
to 15.

TT48753
2024-08-19 08:36:42 +02:00
Rodrigo Macedo
96a10532d3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (102 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/pt_BR/
2024-05-20 16:42:11 +00:00
mymage
715383d109 Translated using Weblate (Italian)
Currently translated at 97.0% (99 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/it/
2024-04-15 17:34:41 +00:00
mymage
b60c270ee9 Translated using Weblate (Italian)
Currently translated at 97.0% (99 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/it/
2024-02-29 17:33:57 +00:00
mymage
78561a8e42 Translated using Weblate (Italian)
Currently translated at 97.0% (99 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/it/
2024-02-07 10:38:22 +00:00
Pedro M. Baeza
427e66abec [FIX] account_reconciliation_widget: Don't link counterpart to the statement line
Steps to reproduce the problem:

- Issue an invoice.
- Add a bank statement for paying such invoice.
- Reconcile the statement with the invoice. It gets paid.
- Revert reconciliation from the statement.
- Go again to reconcile the statement line.

Expected behavior: The invoice is available to be reconciled again.

Current behavior: The invoice is not available.

That's because the move line of the AR/AP account was linked to the
statement line in the reconciliation process through the field
`statement_line_id`. That field is used for linking the generated
move lines to the generating statement line, not for other things.

This is probably a bad migration from v13 original code to v14, where
the reconciliation and the datamodel changed.

It includes a migration script that mitigates a bit the problem on
past reconciled invoices, removing such link. It doesn't cover other
AR/AP lines, but at least we keep data consistent for these ones.

TT46644
2024-01-02 08:52:26 +01:00
Ivorra78
4a1092c589 Translated using Weblate (Spanish)
Currently translated at 100.0% (102 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/es/
2023-11-18 17:33:37 +00:00
OCA-git-bot
2548da445a [BOT] post-merge updates 2023-11-06 19:18:12 +00:00
OCA-git-bot
2c946e8c73 Merge PR #603 into 14.0
Signed-off-by pedrobaeza
2023-11-06 19:12:17 +00:00
Enric Tobella
4429aa897e [FIX] account_reconciliation_widget: black, isort, prettier 2023-10-27 23:24:48 +02:00
Pedro M. Baeza
ba9809fa9b [FIX] account_reconciliation_widget: Don't suggest own journal items
When getting propositions from the reconcile models, we should
explicitly exclude the amls of the bank statement lines.

If not, we can get a situation where the journal item of the bank
statement line is proposed to itself.

TT45568
2023-10-22 12:23:55 +02:00
Pedro M. Baeza
2a1171d9c5 [FIX] account_reconciliation_widget: Avoid unbalanced foreign currency reconciliations
When having a statement line in a foreign currency, each resulting
journal item computes the debit/credit amount from the foreign currency
rate, and then rounding the result to company currency digits.

There's a chance in this process that the journal entry final balance
is not 0 summing the rounded balances in company currency.

For fixing this, there can be several strategies, like creating an
extra journal item for the difference, but I have opted for removing
the difference in the latest counterpart aml, so no extra noise and
no need of account decision algorithm for this extra move.

As currency amounts are correct and are the ones used in reconciliation,
there won't be any problem adjusting this amount.

TT45568
2023-10-21 18:44:12 +02:00
Weblate
ce28c2e051 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/
2023-10-09 21:34:40 +00:00
OCA-git-bot
110b760b58 [UPD] README.rst 2023-09-03 11:44:13 +00:00
OCA-git-bot
88403d2c0f account_reconciliation_widget 14.0.2.0.5 2023-06-19 08:45:03 +00:00
Pedro M. Baeza
1ab3fd48d9 [IMP] account_reconciliation_widget: Skip business models synchronization on reconcile
There's no need to synchronize business models (payments and statement
lines) when the reconcile is done, as the only value written in
the journal item is `full_reconcile_id`.

This way, we speed up the reconciliation process through the widget.
2023-06-17 09:10:50 +02:00
OCA-git-bot
bd38cb07e4 account_reconciliation_widget 14.0.2.0.4 2023-06-04 11:24:57 +00:00
Pedro M. Baeza
cbf4a37cbb [FIX] account_reconciliation_widget: Handle blue lines
When coming from previous versions of Odoo, you may have payments
directly done against the bank account. On the reconciliation widget,
they are represented as blue lines.

One possibility is to replace in all these pending entries the bank
account by the outstanding payment/receipt account, but this means to
modify past accounting that may be locked.

So this commit is restoring the ability to reconcile against these blue
lines, although this is a deprecated thing.

Things done:

- Repair the JS widget for informing correctly about the blue lines
  to reconcile.
- When having such lines to reconcile, the temporary statement line is
  removed, and the payment one is linked.
- When reverting reconciliation of the statement lines linked to
  payments, the entry is not removed, just removed the link, and a new
  entry is created for the statement line.

TT43713
2023-06-03 00:25:50 +02:00
OCA-git-bot
7c4857b64f account_reconciliation_widget 14.0.2.0.3 2023-05-31 21:21:51 +00:00
Pedro M. Baeza
5c54688faf [FIX] account_reconciliation_widget: Hide own reconcilable items
If the journal destination account is reconcilable, as the journal entry
is pre-generated before reconciling, the line is appearing in the
reconciliation widget, provoking user confusion and error if that one
is selected.

We explicitly exclude in the matching domain for avoiding the problem.

TT42983
2023-05-31 18:20:44 +02:00
Matjaz Mozetic
f8c6616765 Translated using Weblate (Slovenian)
Currently translated at 100.0% (102 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/sl/
2023-03-30 14:27:00 +00:00
Matjaz Mozetic
8bb820cac3 Translated using Weblate (Slovenian (sl_SI))
Currently translated at 100.0% (102 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/sl_SI/
2023-03-30 14:27:00 +00:00
Matjaz Mozetic
df5f9925fa Added translation using Weblate (Slovenian) 2023-03-30 11:37:39 +00:00
Douglas Custódio
8cc1996a83 Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.0% (99 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/pt_BR/
2023-03-17 22:23:01 +00:00
OCA-git-bot
3398518805 account_reconciliation_widget 14.0.2.0.2 2023-02-07 19:10:31 +00:00
Jon Erik Ceberio
e85fb22bd5 [FIX] account_reconciliation_widget: in case of manual operation with analytic account/tags, create the analytic entry(ies) if the move is posted 2023-02-07 11:57:52 +01:00
OCA-git-bot
dccbed4f46 account_reconciliation_widget 14.0.2.0.1 2023-01-31 18:26:05 +00:00
OCA-git-bot
30c5c8e733 Merge PR #418 into 14.0
Signed-off-by pedrobaeza
2023-01-31 18:21:18 +00:00
Eugeni Chafer
852b29f6bd Added translation using Weblate (Catalan (ca_ES)) 2023-01-03 10:42:50 +00:00
Yves Le Doeuff
eae79ad34b Translated using Weblate (French (France))
Currently translated at 88.2% (90 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/fr_FR/
2022-10-03 11:41:19 +00:00
Yves Le Doeuff
d39629bfae Translated using Weblate (French)
Currently translated at 90.1% (92 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/fr/
2022-10-03 11:41:19 +00:00
Pedro M. Baeza
dc12ada783 Translated using Weblate (Spanish)
Currently translated at 99.0% (101 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/es/
2022-09-26 15:47:13 +00:00
Ignacio Buioli
23fc8cba94 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (102 of 102 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/es_AR/
2022-08-25 19:07:06 +00:00
OCA Transbot
e012af9adc Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/
2022-08-24 10:30:53 +00:00
OCA-git-bot
728eb8282f account_reconciliation_widget 14.0.2.0.0 2022-08-24 10:30:36 +00:00
oca-ci
04e92c914b [UPD] Update account_reconciliation_widget.pot 2022-08-24 10:27:19 +00:00
OCA-git-bot
88f34ac40a Merge PR #487 into 14.0
Signed-off-by pedrobaeza
2022-08-24 10:23:42 +00:00
Alexis de Lattre
033dedb9b2 [IMP] account_reconciliation_widget: show analytic account on counterpart line 2022-08-11 00:06:39 +02:00
Alexis de Lattre
a63e26e6fd [FIX] account_reconcilication_widget: notifications
Notifications displayed at the start of the reconciliation interface are
back up and running (it was working in v10, broken in v12 and v13).
For example, when you import an OFX file and go directly to the
reconciliation interface, it will display the number of transactions
that were automatically dropped because they were already present in
Odoo (detected via the unique_import_id).
2022-08-09 23:08:28 +02:00
Alexis de Lattre
fc104aabc6 [FIX] account_reconciliation_widget: fix JS crash when there are not taxes 2022-08-08 22:58:41 +02:00
Luis D. Lafaurie
67a1ad3494 Translated using Weblate (Spanish)
Currently translated at 100.0% (101 of 101 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/es/
2022-08-04 18:06:56 +00:00
Alexis de Lattre
5875616665 account_reconciliation_widget: ability to edit ref
'ref' of account.move can now be customized in the reconciliation widget
'name' of account.move is displayed for information
2022-08-01 20:13:45 +02:00
OCA-git-bot
d76fe898f2 account_reconciliation_widget 14.0.1.3.2 2022-07-13 16:29:57 +00:00
Téo Goddet
6bc4058869 [FIX]account_reconcile_widget: value cleaning & decimal separator choice
When decimal separator is a dot, it has a special meaning in the regex (any character) that cause problem
For instance in 123.40 the regex will match .4 and remove it.
And then the proposal will be base on the number 120 instead of 123.40

The other problem with the actual regex is that minus sign get removed

In the fix, we start by replacing the decimal_separator by a dot (before it was done after the cleaning) and the clean with a character class that is clearly specified (dot, minus, numbers)

Bug was already present in odoo13 EE and CE
2022-07-13 18:02:45 +02:00
OCA-git-bot
c042c39069 account_reconciliation_widget 14.0.1.3.1 2022-07-12 14:26:33 +00:00
OCA-git-bot
25eb879fb6 Merge PR #420 into 14.0
Signed-off-by pedrobaeza
2022-07-12 14:22:54 +00:00
Téo Goddet
7323e8d233 [FIX]account_reconcile_widget: value cleaning & decimal separator choice
When decimal separator is a dot, it has a special meaning in the regex (any character) that cause problem
For instance in 123.40 the regex will match .4 and remove it.
And then the proposal will be base on the number 120 instead of 123.40

The other problem with the actual regex is that minus sign get removed

In the fix, we start by replacing the decimal_separator by a dot (before it was done after the cleaning) and the clean with a character class that is clearly specified (dot, minus, numbers)

Bug was already present in odoo13 EE and CE
2022-07-08 13:27:53 +02:00
Ignacio Buioli
4ad6d8ea17 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (101 of 101 strings)

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/es_AR/
2022-07-07 04:06:50 +00:00
OCA Transbot
bb469ca736 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-reconcile-14.0/account-reconcile-14.0-account_reconciliation_widget
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-14-0/account-reconcile-14-0-account_reconciliation_widget/
2022-07-06 15:05:28 +00:00