summaryrefslogtreecommitdiff
path: root/addons/account_edi_extended/models/account_payment.py
blob: 558c4aaa8a532fff91c83ab52d403b6bc7039e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from odoo import models


class AccountPayment(models.Model):
    _inherit = 'account.payment'

    def action_retry_edi_documents_error(self):
        self.ensure_one()
        return self.move_id.action_retry_edi_documents_error()