[FIX] report: do not use the default_type entry from the context: the type column exists on both the account_invoice and on the attachment. It is set for the account_invoice, so we must not use it for the attachment creation.
[FIX] report: do not use the default_type entry from the context:
the type column exists on both the account_invoice and on the attachment.
It is set for the account_invoice, so we must not use it for the attachment
creation.

akretion/openerp-server,akretion/openerp-server,akretion/openerp-server