[FIX]EDI: due to the less time interval where system wait for commit of parent transaction when confirming the invoice and sending emails, created email do not have reference number into the email message and attached invoice report have state draft(Case: Ref 585231)
[FIX]EDI: due to the less time interval where system wait for commit of parent transaction when confirming the invoice and sending emails, created email do not have reference number into the email message and attached invoice report have state draft(Case: Ref 585231)

bzr revid: skh@tinyerp.com-20130225082314-1pkm4w6zqxie70wj
podemos-info/odoo,podemos-info/odoo,podemos-info/odoo,podemos-info/odoo,podemos-info/odoo,podemos-info/odoo,podemos-info/odoo