Commit Graph

315 Commits (872f875225df6cfb3a7a6f53823f4d79a344c35c)

Author SHA1 Message Date
Florian da Costa bf6e1d23a0 [FIX] account_reconcile_oca : foreign currency reconcile with late currency rate
It is possible that the statement line in foreign currency is created before the rate of the day is updated in Odoo. In this case we need to take the real rate of the statement line to comput the exchange rate
2025-02-25 18:30:56 +01:00
Florian da Costa 7d92a34370 [FIX] account_reconcile_oca : Fix multi currency management
Fix the case of payment with a foreign currency set on bank statement line

improve tests around multi-currency
2025-02-25 18:30:56 +01:00
Enric Tobella 82677beb24 [IMP] account_reconcile_oca: Improve multicurrency management.
We will use currency of the line in order to get the suspense and max line value
2025-02-25 18:30:56 +01:00
OCA-git-bot 5669a7435a [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
Tom b609cb3f75 [FIX] #11339 account_reconcile_oca: KeyError on data 2025-02-25 18:30:56 +01:00
Pedro M. Baeza a889b9ab2a Translated using Weblate (Spanish)
Currently translated at 100.0% (121 of 121 strings)

Translation: account-reconcile-17.0/account-reconcile-17.0-account_reconcile_oca
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca/es/
2025-02-25 18:30:56 +01:00
OCA-git-bot 2c63f74321 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
Tom 497c2154d1 [FIX] account_reconcile_oca: Depending on how the widget is opened, there is not always this.form_controller 2025-02-25 18:30:56 +01:00
Víctor Martínez e0250824ed Translated using Weblate (Spanish)
Currently translated at 94.2% (114 of 121 strings)

Translation: account-reconcile-17.0/account-reconcile-17.0-account_reconcile_oca
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca/es/
2025-02-25 18:30:56 +01:00
OCA-git-bot f290a21ce6 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
OCA-git-bot 6a85ab04c0 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
Enric Tobella 648b7c2d8c [IMP] account_reconcile_oca: Open reconcile view when press the name on journal 2025-02-25 18:30:56 +01:00
Víctor Martínez 2f1543ab31 [IMP] account_reconcile_oca: Add auto-reconcile compatibility (Example: Rule to match invoices/bills)
TT52146

[FIX] account_reconcile_oca: Fix test related to match_text_location fields

Related to 8948b31407

TT52146
2025-02-25 18:30:56 +01:00
Víctor Martínez ca4fe69b31 [FIX] account_reconcile_oca: Fix selection_badge_uncheck to correctly apply the corresponding domain
Previously the widget selection_badge_uncheck (wrongly migrated to v17) was not defined correctly,
which caused the domain not to be applied, causing that the reconciliation models of any type
(instead of those defined as buttons) were shown as buttons.

TT52238
2025-02-25 18:30:56 +01:00
OCA-git-bot da1bf39426 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
OCA-git-bot f4e1111fb1 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
bobrador 3b72107e01 [FIX] account_reconcile_oca: Fixed analytic distribution update
This fixes a bug that occurred when both account_reconcile_oca and account_reconcile_model_oca modules were installed. The issue arose when assigning an analytic account and making no further changes, causing the analytic account to not be set correctly. As a result, the reconciliation process failed to create the analytic entries properly. This line: ensures that if the analytic distribution has changed, it will be correctly updated.
2025-02-25 18:30:56 +01:00
bobrador 09b42b2f1c [IMP] account_reconcile_oca: Add validation for applicability of analytic plans
adds validation for the applicability of analytic plans, ensuring that mandatory plans or accounts requiring analytic imputations are properly validated.

    The validate_analytic context is used in the analytic mixin to validate the applicability of analytic plans when generating analytic lines.
2025-02-25 18:30:56 +01:00
OCA-git-bot 79572028d9 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
Enric Tobella a99a1bfdee [IMP] account_reconcile_oca: Use receivable/payable account on statements with partner as suspense account 2025-02-25 18:30:56 +01:00
OCA-git-bot 0201baff89 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
Víctor Martínez 573ea40921 [IMP] account_reconcile_oca: Hook methods
Useful for extensions like this one https://github.com/OCA/account-reconcile/pull/758

TT51885
2025-02-25 18:30:56 +01:00
David 8fdf2ba706 [IMP] account_reconcile_oca: reconcile lines from statement
UX: override the statement lines button action so we can reconcile
directly from the statement itself.

TT51834
2025-02-25 18:30:56 +01:00
Enric Tobella 18e523372c [IMP] account_reconcile_oca: Split overflow 2025-02-25 18:30:56 +01:00
OCA-git-bot a6804a4cd8 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
Florian da Costa d0ac654b60 [FIX] account_reconcile_oca : keep partner line case of manual button reconcile 2025-02-25 18:30:56 +01:00
OCA-git-bot 0c419946fa [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
Florian da Costa 33a3206813 [16][FIX] account_reconcile_oca : keep aml label when empty on manual write-off reconcile model 2025-02-25 18:30:56 +01:00
OCA-git-bot 421306ea80 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
Enric Tobella 90e710f99b [FIX] account_reconcile_oca: Only filter by partner on receivable and payable lines 2025-02-25 18:30:56 +01:00
mymage ce1855cf45 Translated using Weblate (Italian)
Currently translated at 100.0% (121 of 121 strings)

Translation: account-reconcile-17.0/account-reconcile-17.0-account_reconcile_oca
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca/it/
2025-02-25 18:30:56 +01:00
Weblate a4d0089a8f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-reconcile-17.0/account-reconcile-17.0-account_reconcile_oca
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca/
2025-02-25 18:30:56 +01:00
OCA-git-bot 6cc1b68c28 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
oca-ci 897dbc52ac [UPD] Update account_reconcile_oca.pot 2025-02-25 18:30:56 +01:00
Víctor Martínez 2657e217f0 [IMP] account_reconcile_oca: Remove warning: Two fields have the same label: Manual In Currency.
WARNING devel odoo.addons.base.models.ir_model: Two fields
(manual_in_currency_id, manual_in_currency) of account.bank.statement.line()
have the same label: Manual In Currency.
[Modules: account_reconcile_oca and account_reconcile_oca]
2025-02-25 18:30:56 +01:00
Víctor Martínez 710faabe79 [IMP] account_reconcile_oca: Remove warning (deprecated method, read display_name instead)
WARNING devel py.warnings: /opt/odoo/auto/addons/account_reconcile_oca/models/account_bank_statement_line.py:938:
DeprecationWarning: Since 17.0, deprecated method, read display_name instead
2025-02-25 18:30:56 +01:00
OCA-git-bot 4cf18fb7ec [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
Anjeel Haria 92a7bebcc8 [FIX] account_reconcile_oca: Fix the layout of statement button on reconciliation screen 2025-02-25 18:30:56 +01:00
mymage 4389af85bd Translated using Weblate (Italian)
Currently translated at 100.0% (120 of 120 strings)

Translation: account-reconcile-17.0/account-reconcile-17.0-account_reconcile_oca
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca/it/
2025-02-25 18:30:56 +01:00
Weblate 3b7e0674f4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-reconcile-17.0/account-reconcile-17.0-account_reconcile_oca
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca/
2025-02-25 18:30:56 +01:00
OCA-git-bot 0866ef893a [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
oca-ci e7af293d67 [UPD] Update account_reconcile_oca.pot 2025-02-25 18:30:56 +01:00
Enric Tobella b9d1d6dbc0 [FIX] account_reconcile_oca: Fix wrong display on reconciled moves
If your reconcile an invoice and in the old option, the reconcile widget shows something weird with three lines but we should have only two. The data was right with 2 lines only.
2025-02-25 18:30:56 +01:00
Enric Tobella fdd41f1e94 [IMP] account_reconcile_oca: Avoid change of page when deleting a line 2025-02-25 18:30:56 +01:00
Enric Tobella a76687b58e [IMP] account_reconcile_oca: Compute the exchange rate properly 2025-02-25 18:30:56 +01:00
Enric Tobella 97984ebaa9 [IMP] account_reconcile_oca: Fix multi currency computation 2025-02-25 18:30:56 +01:00
Enric Tobella 0daaf07b84 [IMP] account_reconcile_oca: Fix amount_currency_format field 2025-02-25 18:30:56 +01:00
Enric Tobella 500ba1704d [IMP] account_reconcile_oca: Fix multicurrency journal management
The main idea of this commit is to show the right currency amount
2025-02-25 18:30:56 +01:00
OCA-git-bot c97ade0400 [BOT] post-merge updates 2025-02-25 18:30:56 +01:00
Pedro M. Baeza b923cd71c9 [FIX] account_reconcile_oca: Don't apply max_amount on intermediate counterparts
Steps to reproduce:

- Have 3 or more items to reconcile. Example: 200, -350, 150.
- One of the intermediate items should be higher than the current
  running balance.
- Select all the items, and click on Action > Reconcile.

Current behavior:

The second item appears with its amount strike-throughed (and putting
the current runnning balance as the amount to reconcile).

Expected behavior:

Only strike-through the amount if the last balance is not matching
the amount.

The solution to this is to only put a maximum amount when checking
the reconciliability of the last line of the counterparts.

TT50888
2025-02-25 18:30:56 +01:00