When using EDI, documents often fail to be submitted to the relevant API. This provides the ability to generate and download the XML Task-2669041 closes odoo/odoo#80088 X-original-commit: 6eba7935c4d4f0fef5e1e7ad9b1d7726aa3db109 Related: odoo/enterprise#22392 Signed-off-by: Laurent Smet <las@openerp.com> Signed-off-by: Ayob Habib (ayh) <ayh@odoo.com>