-
Jorge Pinna Puissant authored
Before this commit, when clicking into the 'Payment Matching' button from a payment, sometimes an error is raised. This occurs because the active_id is the one of the payment, and not the one of the journal, and when performing the research with the id of the payment in the table of the journals, sometimes the id is out of scope. Now, we check before performing the research that the model of which the id belongs is the journal. opw-2166551 closes odoo/odoo#43563 Signed-off-by:
Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Jorge Pinna Puissant authoredBefore this commit, when clicking into the 'Payment Matching' button from a payment, sometimes an error is raised. This occurs because the active_id is the one of the payment, and not the one of the journal, and when performing the research with the id of the payment in the table of the journals, sometimes the id is out of scope. Now, we check before performing the research that the model of which the id belongs is the journal. opw-2166551 closes odoo/odoo#43563 Signed-off-by:
Jorge Pinna Puissant (jpp) <jpp@odoo.com>
reconciliation_action.js 18.04 KiB