diff --git a/l10n_it_fatturapa_pec/__manifest__.py b/l10n_it_fatturapa_pec/__manifest__.py index 584ef4657223..6d5363d48018 100644 --- a/l10n_it_fatturapa_pec/__manifest__.py +++ b/l10n_it_fatturapa_pec/__manifest__.py @@ -23,7 +23,6 @@ ], 'data': [ 'security/ir.model.access.csv', - 'views/fatturapa_attachment_out.xml', 'views/fetchmail_view.xml', 'views/company_view.xml', 'views/sdi_view.xml', diff --git a/l10n_it_fatturapa_pec/models/fatturapa_attachment_out.py b/l10n_it_fatturapa_pec/models/fatturapa_attachment_out.py index 7185a9ae320d..a41af29d4da8 100644 --- a/l10n_it_fatturapa_pec/models/fatturapa_attachment_out.py +++ b/l10n_it_fatturapa_pec/models/fatturapa_attachment_out.py @@ -6,7 +6,7 @@ import logging import re -from odoo import api, fields, models, _ +from odoo import api, models, _ from odoo.exceptions import UserError _logger = logging.getLogger(__name__) @@ -18,8 +18,6 @@ class FatturaPAAttachmentOut(models.Model): _inherit = 'fatturapa.attachment.out' - sending_user = fields.Many2one("res.users", "Sending User", readonly=True) - @api.multi def parse_pec_response(self, message_dict): message_dict['model'] = self._name diff --git a/l10n_it_fatturapa_pec/views/fatturapa_attachment_out.xml b/l10n_it_fatturapa_pec/views/fatturapa_attachment_out.xml deleted file mode 100644 index f8a150b115ce..000000000000 --- a/l10n_it_fatturapa_pec/views/fatturapa_attachment_out.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - fatturapa.attachment.out.form - fatturapa.attachment.out - - - - - - - -
-
-
-
-