Skip to content
Snippets Groups Projects
Commit de55cfa7 authored by Ricardo Gomes Rodrigues (rigr)'s avatar Ricardo Gomes Rodrigues (rigr)
Browse files

[FIX] account_edi_ubl_cii: allow the import of Customer Invoices

Before this commit:
- Go to Accounting / Customer Invoices
- Upload a PDF with Factur-X XML embedded
- The document is uploaded as a Vendor Bill

This should not be the case anymore since we want to allow the import of customer invoices (that can be generated elsewhere)

This commit makes sure that we check from where we import the PDF (Upload button of Customer Invoices or Vendor Bills) to determine in which journal the generated invoice should go via the context.

task-id 2961932

Part-of: odoo/odoo#99247
parent a02a4b5f
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment