Skip to content
Snippets Groups Projects
  • Jorge Pinna Puissant's avatar
    52a3b611
    [FIX] account: error when trying to match payments · 52a3b611
    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: default avatarJorge Pinna Puissant (jpp) <jpp@odoo.com>
    52a3b611
    History
    [FIX] account: error when trying to match payments
    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: default avatarJorge Pinna Puissant (jpp) <jpp@odoo.com>
reconciliation_action.js 18.04 KiB