The source project of this merge request has been removed.
fix(ir_attachment_facturae_mx): fix company_id when document is created
think in the next context:
1.- Multicompany environment 2.- The invoice is created from duplicating other one 3.- The current user and the user who created the other invoice are different and are logged in different companies
Thus OpeneERP will crash with permision problem "You cannot read company_id action read ..."