Commit Graph

42 Commits

Author SHA1 Message Date
Florian da Costa
689eb413a7 [16][FIX] account_reconcile_oca : keep aml label when empty on manual write-off reconcile model 2024-11-18 09:28:22 +01:00
Enric Tobella
cdf9c3e77e [FIX] account_reconcile_oca: Only filter by partner on receivable and payable lines 2024-10-17 21:04:43 +02:00
Víctor Martínez
99e8c46ecf [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]
2024-10-09 10:12:36 +02:00
Víctor Martínez
6b650cc776 [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
2024-10-09 10:08:21 +02:00
Enric Tobella
65f62d2c06 [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.
2024-10-01 13:04:04 +02:00
Enric Tobella
1dd39fc695 [IMP] account_reconcile_oca: Compute the exchange rate properly 2024-10-01 13:04:04 +02:00
Enric Tobella
5c9e90c8e6 [IMP] account_reconcile_oca: Fix multi currency computation 2024-10-01 13:04:01 +02:00
Enric Tobella
40b890d6e4 [IMP] account_reconcile_oca: Fix multicurrency journal management
The main idea of this commit is to show the right currency amount
2024-10-01 13:01:15 +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
PNurm
74d084c63a [FIX] account_reconcile_oca: Pass partner parameter correctly to _get_write_off_move_lines_dict 2024-09-08 15:14:59 +02:00
Pedro M. Baeza
8f55993d8b [FIX] account_reconcile_oca: Label duplication
Fixes #667
2024-08-24 17:26:21 +02:00
JordiMForgeFlow
647db34317 [IMP] account_reconcile_oca: reverse reconcile entry when resetting reconciliation in keep mode 2024-05-30 13:39:14 +02:00
Sergio Bustamante
f311770a67 [FIX] account_reconcile_oca: Replace invoice_due_date for date_maturity field on reconcile view. This also add possibility to order the list by this field 2024-05-29 12:27:04 +02:00
Pedro M. Baeza
90ca34afc2 [FIX] *: pre-commit fixes
Due to latest copier template with all the checks.
2024-05-01 19:31:30 +02:00
Enric Tobella
f85338ffb0 [IMP] account_reconcile_oca: Allow aggregation for more parameters 2024-04-22 14:38:09 +02:00
Enric Tobella
b64ffc6eda [IMP] account_reconcile_oca: Allow to define the statement directly 2024-04-22 10:37:56 +02:00
Enric Tobella
7a7b28f155 [IMP] account_reconcile_oca: Add statements information 2024-04-21 23:25:06 +02:00
Enric Tobella
c408c0f059 [FIX] account_reconcile_oca: Use counterparts properly 2024-04-21 02:16:01 +02:00
Enric Tobella
4a5e33919d [FIX] account_reconcile_oca: Fix foreign currency 2024-04-21 02:11:53 +02:00
Enric Tobella
2430b8082c [IMP] account_reconcile_oca: Add balance 2024-04-21 02:09:20 +02:00
Enric Tobella
132a333c46 [FIX] account_reconcile_oca: make widget work 2024-02-09 17:38:06 +01:00
Enric Tobella
98e0d559ba [MIG] account_reconcile_oca: Finish migration 2024-02-08 23:06:58 +01:00
Henrik Norlin
a5f04c08f7 [MIG] account_reconcile_oca: Migration to 17.0 2024-02-08 23:06:58 +01:00
Henrik Norlin
214337719b [IMP] account_reconcile_oca: black, isort, prettier 2024-02-08 23:06:58 +01:00
Alejandro Ji Cheung
43a2fc7d74 [IMP] account_reconcile_oca: add due date field in account_move_line tree view 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
Andrea Stirpe
c514a854d9 [16.0][IMP] account_reconcile_oca: display partner_name 2024-02-07 22:10:07 +01:00
Enric Tobella
4cbe8d96b6 [FIX] account_reconcile_oca: Show manual amount in the right currency 2024-02-07 22:09:55 +01:00
Enric Tobella
3d6a561180 [IMP] account_reconcile_oca: only store info on unreconciled items 2024-02-07 22:09:51 +01:00
Enric Tobella
7fe47375c6 [FIX] account_reconcile_oca: Models where failing on default with a different currency 2024-02-07 22:09:45 +01:00
Enric Tobella
e15b76822f [FIX] account_reconcile_oca: Make it work with foreign currency 2024-02-07 22:09:45 +01:00
Enric Tobella
d1f981cc7e [IMP] account_reconcile_oca: Include taxes from models
Fixes #576
2024-02-07 22:09:43 +01:00
Enric Tobella
2f4482734d [FIX] account_reconcile_oca: Use edit reconcile method in case it is not defined 2024-02-07 22:09:43 +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
9fcc535423 [IMP] account_reconcile_oca: Take statement line payment ref instead of account move number (name) fot the counterpart account move line 2024-02-07 22:09:30 +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
Alexis de Lattre
d54c73721e [IMP] account_reconcile_oca
* In "reconcile" tab, don't propose the move of the currently processed statement line

* In accounting, only select/search parent partners
2024-02-07 22:09:24 +01:00
Enric Tobella
43a0191253 [ADD] account_reconcile_oca 2024-02-07 22:09:22 +01:00