I am importing all our data from previous years to get started in Odoo. I have imported all purchase orders generated in 2020 and would like to import all the corresponding vendor invoices.
Generally, for each invoice there corresponds several purchase orders. I would like to associate those purchase orders to the invoice, and have tried to do so by filling the fields:
invoice_line_ids/origin with the internal reference of each purchase order. I have included a table describing better how I am organizing the import file. | |||
partner_id/id | data_invoice | invoice_line_ids/name | invoice_line_ids/origin |
__export__.res_partner_000 | 2020-05-12 | One purchase description | __export__.purchase_order_111 |
Another purchase description | __export__.purchase_order_222 |