summaryrefslogtreecommitdiff
path: root/addons/account_edi/models/account_payment.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/account_edi/models/account_payment.py')
-rw-r--r--addons/account_edi/models/account_payment.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/account_edi/models/account_payment.py b/addons/account_edi/models/account_payment.py
new file mode 100644
index 00000000..8b8a691d
--- /dev/null
+++ b/addons/account_edi/models/account_payment.py
@@ -0,0 +1,11 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+from odoo import models, fields, api, _
+
+
+class AccountPayment(models.Model):
+ _inherit = 'account.payment'
+
+ def action_process_edi_web_services(self):
+ return self.move_id.action_process_edi_web_services()