Commit Graph

3 Commits (36cefd3ee62746aa0c49da8e51e24786e3023eec)

Author SHA1 Message Date
Víctor Martínez 9156ba4bac [FIX] account_reconcile_model_oca: reconciliation models
Some behavior were incorrect with reconciliation
rules:

1) Whit invoice_matching rule, no match_text_location
  and no match partner set. Nothing was matching, even
  by filling the right fields.
2) We were taking into account only the digits of the
   payment reference of the invoice, by removing all
   non digits characters. It has been decided to also
   taking non digit strings from 'payment_ref' and 'ref'
   into account, as long as they don't exceed one word.

Steps for point 1:

- Reco model with invoice_atching rule, payment_tolerance 0%,
  no match_text_location and no match_partner
- An invoice for 100$ with name of the invoice as payment reference
  (eg 'INV/2023/00001')
- A statement line of 100$ with either 'payment_ref, 'ref' or 'narration'
  set as 'INV/2023/00001', and no partner
-> No match

Steps for point 2:

- Same reco model but with match_text_location_label set to True
- An invoice for 100$ with eg 'abcdef' as payment reference
- A  statement line of 100$ with payment_reference (label) set
  as 'abcdef' and no partner
-> No match

Related to cddea14954
2025-03-31 08:41:56 +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 e5e0a73847 [ADD] account_reconcile_model_oca 2024-02-08 23:06:58 +01:00