Files
enterprise-addons/l10n_uy_edi/wizard/account_move_send_wizard.py
T

11 lines
335 B
Python

from odoo import api, models
class AccountMoveSendWizard(models.TransientModel):
_inherit = 'account.move.send.wizard'
@api.model
def _action_download(self, attachments):
attachments = attachments.filtered(lambda att: att.res_model != 'l10n_uy_edi.document')
return super()._action_download(attachments)