Skip to content

Commit

Permalink
[IMP] l10n_it_fatturapa_pec: Use common Sending User
Browse files Browse the repository at this point in the history
Generic sending/delivering fields and views are common to all channels
  • Loading branch information
SirTakobi committed Mar 14, 2023
1 parent 3901ff7 commit 87eb4b9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 31 deletions.
1 change: 0 additions & 1 deletion l10n_it_fatturapa_pec/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 1 addition & 3 deletions l10n_it_fatturapa_pec/models/fatturapa_attachment_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand All @@ -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
Expand Down
27 changes: 0 additions & 27 deletions l10n_it_fatturapa_pec/views/fatturapa_attachment_out.xml

This file was deleted.

0 comments on commit 87eb4b9

Please sign in to comment.