From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/account_edi/wizard/__init__.py | 1 + addons/account_edi/wizard/account_invoice_send.py | 13 +++++++++++ .../wizard/account_invoice_send_views.xml | 26 ++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 addons/account_edi/wizard/__init__.py create mode 100644 addons/account_edi/wizard/account_invoice_send.py create mode 100644 addons/account_edi/wizard/account_invoice_send_views.xml (limited to 'addons/account_edi/wizard') diff --git a/addons/account_edi/wizard/__init__.py b/addons/account_edi/wizard/__init__.py new file mode 100644 index 00000000..edaf0442 --- /dev/null +++ b/addons/account_edi/wizard/__init__.py @@ -0,0 +1 @@ +from . import account_invoice_send diff --git a/addons/account_edi/wizard/account_invoice_send.py b/addons/account_edi/wizard/account_invoice_send.py new file mode 100644 index 00000000..3cf5e2ce --- /dev/null +++ b/addons/account_edi/wizard/account_invoice_send.py @@ -0,0 +1,13 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import api, fields, models, _ +from odoo.exceptions import UserError +import base64 + + +class AccountInvoiceSend(models.TransientModel): + _inherit = 'account.invoice.send' + _description = 'Account Invoice Send' + + edi_format_ids = fields.Many2many(related='invoice_ids.journal_id.edi_format_ids', string="Electronic invoicing") diff --git a/addons/account_edi/wizard/account_invoice_send_views.xml b/addons/account_edi/wizard/account_invoice_send_views.xml new file mode 100644 index 00000000..510cb7f5 --- /dev/null +++ b/addons/account_edi/wizard/account_invoice_send_views.xml @@ -0,0 +1,26 @@ + + + + + + account.invoice.send.form.inherited.edi + account.invoice.send + + + +
+ + +
+
+
+
+
+
-- cgit v1.2.3