diff options
| author | Benjamin Frantzen (bfr) <bfr@odoo.com> | 2021-04-21 07:40:32 +0000 |
|---|---|---|
| committer | Benjamin Frantzen (bfr) <bfr@odoo.com> | 2021-04-21 07:40:32 +0000 |
| commit | 0fd0fbc5c227f0a362e1efcda9eeaa5b663dc56a (patch) | |
| tree | fe3c1ce55a8f8363652ae0012a424abddab2963a /addons/base_iban/models | |
| parent | 683c3fd267162c93cb278fd903152ac387e6aba6 (diff) | |
[FIX] account_edi_ubl: extracting the pdf from the imported xml doesn't raise an exception any more when creating a new invoice
Before this commit, when an attachment was present in the xml (pdf) and the import was to create a new invoice, it crashed when trying to post the pdf on the not-yet existant invoice.
This commit also fixes:
- In the tests, `create_invoice_from_file` didn't handle the subfolder parameter correctly
- `create_invoice_from_file` now returns the created invoice
closes odoo/odoo#69582
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/base_iban/models')
0 files changed, 0 insertions, 0 deletions
