Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
207 Vistas

I use Odoo saas~18.4+e (Edition Enterprise). I am currently setting reconciliation models to automate part of the reconciliation task.


Following the documentation, I tried to set a partner mapping rule by searching for a specific label and adding a counterpart item with the right partner. I left the account field blank and set the rule to automatic, but it is doing nothing.


I also looked at [this topic](https://www.odoo.com/fr_FR/forum/aide-1/no-more-type-in-reconciliation-models-282581#answer-282583) :

partner mapping: although it's not possible anymore to do it on the partner categories, it's still possible to define a partner mapping by creating an account.reconcile.model with match_label & match_label_param, and a single counter part item with the partner_id set and no account_id

but even that it is not working as intended.

Avatar
Descartar
Mejor respuesta

Hi Raphael!

In Odoo ERP, the feature that assigns a partner based on text does behave oddly. But it’s doable if you keep in mind the following:

  • Odoo expects regular expressions to determine the partner from a piece of text.
  • You need to allow time for the cron that applies reconciliation rules to run (they don’t fire immediately!).

Here’s an example of a regular expression for Find Text in Label:

.+?PARTNERNAME — this finds the specified text in the label.

Let me know if the solution doesn't work for you.

Avatar
Descartar