Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

account_invoice_import_invoice2data unable to import multiline invoices #568

Closed
bosd opened this issue Apr 25, 2022 · 5 comments
Closed
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@bosd
Copy link
Contributor

bosd commented Apr 25, 2022

account_invoice_import_invoice2data

unable to import multiline invoices

When importing an multiline invoice which get parsed with the invoice2data module.
The error occurs:

                "You have selected a Multi Line method for this import "
                "but Odoo could not extract/read any XML file inside "
                "the PDF invoice."

(Error message could be imporved but that's beside the point)

Affected versions: 14.0 (might occur in other versions as well)

Expected behavior
The invoice should be imported with the multiline method.

Additional context
It is propably caused by this commit:
ab59468
Which strips away the lines data in the response of the invoice2data library.
(clean up of result is ok, but we do not want to loose data multiline, description, notes and so on.)

To Reproduce

Steps to reproduce the behavior:

  1. Have an template and matching invoice multiline invoice. Your own or the Amazon Webservices example.
  2. Create the supplier. (Make sure the vat number or partner name can be matched with your template)
  3. On the supplier create an invoice config with type: Multiline no product (nline no product)
  4. Import your multilineinvoice file.
  5. You'll see the error.
@bosd bosd added the bug label Apr 25, 2022
@bosd
Copy link
Contributor Author

bosd commented Apr 25, 2022

@alexis-via Can you check?

@github-actions
Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 23, 2022
@bosd
Copy link
Contributor Author

bosd commented Oct 23, 2022

I'm still working on this. New release of invoice2data is coming. Once it is published, will update the pr's by adding tests

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 30, 2022
@github-actions
Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Apr 30, 2023
@github-actions github-actions bot closed this as completed Jun 4, 2023
@bosd
Copy link
Contributor Author

bosd commented Jun 4, 2023

gh actions marked this one as completed. Yet, #573 is not merged yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

1 participant