Commit Graph

15 Commits (f9341aeda74b8abda9b2d9f8a203a56ab1e89cc1)

Author SHA1 Message Date
Enric Tobella 42b756b22c [IMP] account_reconcile_oca: Allow to select all lines at once 2025-02-12 11:59:41 +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
Enric Tobella 5c9e90c8e6 [IMP] account_reconcile_oca: Fix multi currency computation 2024-10-01 13:04:01 +02:00
Pedro M. Baeza 51b659e899 [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
2024-09-23 08:08:06 +02:00
Enric Tobella 44406c7ab6 [IMP] account_reconcile_oca: Only fix partner on payment accounts 2024-09-20 22:11:23 +02:00
Enric Tobella 132a333c46 [FIX] account_reconcile_oca: make widget work 2024-02-09 17:38:06 +01:00
Henrik Norlin a5f04c08f7 [MIG] account_reconcile_oca: Migration to 17.0 2024-02-08 23:06:58 +01:00
Jordi Ballester Alomar 7f6fb6f3aa [FIX] account_reconcile_oca: improve error messages and allow to reconcile with different partners
Sometimes you may need to reconcile journal items where the partner is different. It's not a good practice
 but may need to be done in cases such as when an invoice and a payment are posted with two partners that
 are in reality the same company, or because you just need to reconcile to clean up.
2024-02-07 22:10:43 +01:00
Enric Tobella f3956c9e52 [UPD] account_reconcile_oca: Add Dixmit as author 2024-02-07 22:10:36 +01:00
Enric Tobella 5d7a90f394 [IMP] account_reconcile_oca: Add Reconcile action 2024-02-07 22:10:35 +01:00
Enric Tobella e15b76822f [FIX] account_reconcile_oca: Make it work with foreign currency 2024-02-07 22:09:45 +01:00
mle 577fc45a8b [FIX] account_reconcile_oca: account name can be translatable
By default, account_account name is a char field. But if
l10n_multilang is installed, it is translatable, hence
the DB column is now a jsonb.
We must handle both cases in the select query.
2024-02-07 22:09:37 +01:00
Florian da Costa 5a7220116f [FIX] account_reconcile_oca: Fix account_account_reconcile id to avoid big int 2024-02-07 22:09:27 +01:00
Enric Tobella 6c770943f1 [IMP] account_reconcile_oca: Finish creation of module
* refactoring JS in order to add logic
* Improve views
* Minor fixes in Odoo code in order to fix all possible options
2024-02-07 22:09:25 +01:00
Enric Tobella 43a0191253 [ADD] account_reconcile_oca 2024-02-07 22:09:22 +01:00