Commit Graph

461 Commits (7a9867c4ca646e5ed59aaa8e2ac4e3af806061f6)

Author SHA1 Message Date
Florian da Costa 4ea691ce3e [FIX] partner update from reconciliation widget
We cant to avoid to change amounts on accounting entries during the reconciliation process. One of the goal is to avoid a following case :
The statement line is created in a foreign currency journal, later, the rate is updated in Odoo.
During reconciliation process, the partner is set on liquidity line, the accounting entries are synchronized and the balance changes.
2025-02-10 09:34:09 +01:00
Florian da Costa 82eb24b736 [FIX] Synchronise partner from statement line to accounting entries
We need to look at the reconcile_data to find the partner as the manual_partner_id can contain the information of an auxiliary line
2025-02-10 09:26:23 +01:00
Víctor Martínez 8c34bd0d89 [FIX] account_reconcile_oca: Synchronize manual_partner_id with partner_id without onchange or subsequent changes with the _synchronize_to_moves() method.
We do not define partner_id with the value of manual_partner_id to prevent _synchronize_to_moves()
from making changes to the account.move.line leaving unintended values and/or data.

Re-define the value of reconcile_data_info if the _synchronize_to_moves() method has changed
anything on the lines.

Related to https://github.com/OCA/account-reconcile/issues/779

TT52634
2025-02-10 09:26:16 +01:00
Sergio Bustamante 705aeafa7f [FIX] account_reconcile_oca: Fix currency and amount when using reconciliation models 2025-02-10 09:23:49 +01:00
Florian da Costa 89e3e78729 [FIX] Wrong amount currency compute in case of change in liquidity line 2025-02-10 09:23:49 +01:00
Florian da Costa 811ff1e0b4 [FIX] fix _check_line_changed partner check 2025-02-10 09:23:49 +01:00
Enric Tobella 3dc4202e50 [FIX] account_reconcile_oca: Update currency_amount 2025-02-10 09:23:49 +01:00
Florian da Costa 3e7b7ad3b9 [FIX] account_reconcile_oca : exchange rate gain/loss currency and amount
If currency amount is not 0, the suspense line will have wrong amount
2025-02-10 09:23:49 +01:00
Florian da Costa 32ae16dc0a [FIX] account_reconcile_oca : max_amount rounding error leading to unwanted currency conversion 2025-02-10 09:23:49 +01:00
Florian da Costa 7792a6f4be [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-10 09:23:49 +01:00
Florian da Costa 6348cf50fa [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-10 09:23:49 +01:00
Enric Tobella 01f43d6ff6 [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-10 09:23:31 +01:00
OCA-git-bot 8060c54309 [BOT] post-merge updates 2025-02-05 19:16:45 +00:00
OCA-git-bot 3e2ec4e2ce Merge PR #795 into 17.0
Signed-off-by pedrobaeza
2025-02-05 19:13:39 +00:00
Tom 813e950847 [FIX] #11339 account_reconcile_oca: KeyError on data 2025-02-05 09:18:39 +01:00
oca-git-bot b99346e294 [IMP] update dotfiles 2025-02-02 18:01:04 +00:00
Pedro M. Baeza c3c6cd13d2 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-01-29 18:52:54 +00:00
mymage ace793c748 Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: account-reconcile-17.0/account-reconcile-17.0-account_reconcile_model_oca
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_model_oca/it/
2025-01-28 11:06:39 +00:00
Weblate a170879a63 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_model_oca
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_model_oca/
2025-01-28 08:34:54 +00:00
OCA-git-bot 99898c4c26 [BOT] post-merge updates 2025-01-28 08:34:45 +00:00
oca-ci 1fa2e69909 [UPD] Update account_reconcile_model_oca.pot 2025-01-28 08:31:42 +00:00
OCA-git-bot 0b3f7a33c5 Merge PR #790 into 17.0
Signed-off-by pedrobaeza
2025-01-28 08:28:55 +00:00
Víctor Martínez 157d230e0f [IMP] account_reconcile_model_oca: Create _get_write_off_move_move_line_dict() method to allow extension
FWP from 16.0: https://github.com/odoo/odoo/pull/188808

Related to OCA/account-reconcile#761

TT51885
2025-01-28 09:16:19 +01:00
OCA-git-bot d08070cff3 [BOT] post-merge updates 2025-01-23 15:49:15 +00:00
oca-ci 928d60e22f [UPD] Update account_in_payment.pot 2025-01-23 15:46:10 +00:00
OCA-git-bot 3942379777 Merge PR #685 into 17.0
Signed-off-by etobella
2025-01-23 15:43:19 +00:00
OCA-git-bot f25581a4fe [BOT] post-merge updates 2025-01-16 16:21:15 +00:00
OCA-git-bot 73fdcb1ad9 Merge PR #780 into 17.0
Signed-off-by pedrobaeza
2025-01-16 16:11:07 +00:00
Tom 387830b342 [FIX] account_reconcile_oca: Depending on how the widget is opened, there is not always this.form_controller 2025-01-16 16:59:00 +01:00
Luis Rodriguez e4551b91a7 [MIG] account_in_payment: Migration to 17.0 2025-01-07 11:43:26 +01:00
Peter Romão 307c15a068 Translated using Weblate (Portuguese)
Currently translated at 100.0% (1 of 1 strings)

Translation: account-reconcile-16.0/account-reconcile-16.0-account_in_payment
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_in_payment/pt/
2025-01-07 11:42:56 +01:00
Peter Romão 3300594456 Added translation using Weblate (Portuguese) 2025-01-07 11:36:32 +01:00
mymage 05ba9f8d9d Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: account-reconcile-16.0/account-reconcile-16.0-account_in_payment
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_in_payment/it/
2025-01-07 11:36:32 +01:00
mymage 7f8ab7d866 Added translation using Weblate (Italian) 2025-01-07 11:36:32 +01:00
OCA-git-bot 1fa5883562 [BOT] post-merge updates 2025-01-07 11:36:32 +01:00
oca-ci 933bf8de71 [UPD] Update account_in_payment.pot 2025-01-07 11:36:32 +01:00
Enric Tobella 061b1c21e9 [ADD] account_in_payment 2025-01-07 11:36:32 +01:00
Víctor Martínez 0065425b33 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/
2024-12-20 13:06:24 +00:00
OCA-git-bot fc4850933f [BOT] post-merge updates 2024-12-18 07:30:50 +00:00
OCA-git-bot 8068b8f7fe Merge PR #767 into 17.0
Signed-off-by pedrobaeza
2024-12-18 07:27:45 +00:00
OCA-git-bot 9f176bb484 [BOT] post-merge updates 2024-12-17 15:14:56 +00:00
OCA-git-bot 8854637572 Merge PR #768 into 17.0
Signed-off-by pedrobaeza
2024-12-17 15:10:02 +00:00
Enric Tobella 33493c3dd3 [IMP] account_reconcile_oca: Open reconcile view when press the name on journal 2024-12-17 14:59:54 +01:00
David 27174a0b37 [IMP] account_statement_base: add group by date
TT52123
2024-12-17 14:57:26 +01:00
Víctor Martínez 64b1d4b710 [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
2024-12-17 14:52:15 +01:00
Víctor Martínez 4628c5afdd [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
2024-12-17 11:39:33 +01:00
OCA-git-bot c5088679e3 [BOT] post-merge updates 2024-12-17 10:25:15 +00:00
OCA-git-bot 3b7014780b Merge PR #764 into 17.0
Signed-off-by pedrobaeza
2024-12-17 10:22:14 +00:00
OCA-git-bot caebfa590d [BOT] post-merge updates 2024-12-17 09:42:35 +00:00
OCA-git-bot 5e11613ad3 Merge PR #765 into 17.0
Signed-off-by pedrobaeza
2024-12-17 09:38:45 +00:00