Commit Graph

20 Commits

Author SHA1 Message Date
Pedro M. Baeza
48413f0188 [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.

TT43018
2023-05-11 18:37:24 +02:00
Téo Goddet
a249c99e0c [FIX] account_reconcile_widget: analytic tags formatting
before this commit. analytic tags are not correctly formatted when sent to
the server after reconciliation, that lead to an error being raised.

Steps to reproduce the problem:

- Create a reconciliation model of type "Manually create a write-off on clicked button".
- Show analytic on the configuration and show the optional column "Analytic tags".
- Put any analytic tag.

When using such reconciliation model on the reconciliation, the analytic tag
is not well formatted and you can't complete the reconciliation.
2023-01-31 19:32:14 +01:00
OCA-git-bot
f71f46b049 [UPD] README.rst 2022-11-03 07:24:50 +00:00
Téo Goddet
3daa2d80c5 [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:03:21 +02:00
OCA-git-bot
986860dc8b [UPD] README.rst 2022-02-28 07:38:47 +00:00
kelvzxu
57bf6c33bb Apply the tax_tag_ids correctly to the lines 2022-02-02 22:44:06 +07:00
kelvzxu
2f28726161 [FIX] account_reconciliation_widget: showRainbowMan message after reconciliation 2022-02-02 22:44:06 +07:00
kelvzxu
7f6d1a2ec6 [15.0][MIG] account_reconciliation_widget:Migration to 15.0 2022-02-02 22:44:06 +07:00
kelvzxu
842508fb86 [IMP] account_reconciliation_widget: black, isort, prettier 2022-02-02 22:44:06 +07:00
ps-tubtim
efe10da3ce [FIX] account_reconciliation_widget: show journal 2022-01-26 16:33:17 +07:00
Téo Goddet
66a1d369de Fix on which value the value regex is matched 2022-01-26 16:33:17 +07:00
Alexis de Lattre
0c85256e0a account_reconciliation_widget: improve when label=False on account.reconcile.model.line 2022-01-26 16:33:17 +07:00
Francisco Ivan Anton Prieto
ffb70e72c5 [14.0][FIX] account_reconciliation_widget: progressbar width
Some changes in Odoo 14.0 JS execution flow makes setting progressbar width in do_show not working properly
2022-01-26 16:33:17 +07:00
Alexandre D. Díaz
1eb0910135 [FIX] account_reconciliation_widget: Javascript make propositions 2022-01-26 16:33:17 +07:00
Alexis de Lattre
6000982a57 account_reconciliation_widget: note -> narration on bank statement lines 2022-01-26 16:33:17 +07:00
Alexis de Lattre
d5b4cbe393 account_reconciliation_widget: Use payment_ref for the statement line label 2022-01-26 16:33:17 +07:00
OCA-git-bot
0f05703ff2 [ADD] icon.png 2022-01-26 16:33:17 +07:00
OCA-git-bot
970a2c41f0 [UPD] README.rst 2022-01-26 16:33:17 +07:00
Francisco Ivan Anton Prieto
231ddf9913 [ADD] account_reconciliation_widget: first working alpha 2022-01-26 16:33:17 +07:00
Odoo
509c1573df [ADD] account_reconciliation_widget: Base module code extracted from Odoo 13.0 2022-01-26 16:33:17 +07:00