-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
I try to import invoices to odoo
by using this command
odoo_import_thread.py --o2m -c ./connection.conf --file=in.csv --model='account.invoice'
and I get this error
{'rows': {'from': 0, 'to': 1}, 'type': 'warning', 'record': 0, 'field': 'invoice_line_ids', 'message': "Found multiple matches for field 'Invoice Lines' (2 matches)"}
['inv_o2m.test10', '1', 'Customer', 'Pro - A', '10', '20', '0']
batch [0], 0
{'rows': {'from': 0, 'to': 1}, 'record': 0, 'type': 'error', 'message': 'null value in column "name" violates not-null constraint\nDETAIL: Failing row contains (46, null, null, 10, 51, null, 1, null, 20.00, null, null, null, 10.000, 0.00, null, null, null, null, f, 1, 2021-04-07 15:53:12.852083, 1, 2021-04-07 15:53:12.852083, 0, null, null).\n'}
['inv_o2m.test10', '1', 'Customer', 'Pro - A', '10', '20', '0']
my csv file
id;number;partner_id;invoice_line_ids/product_id;invoice_line_ids/quantity;invoice_line_ids/price_unit;invoice_line_ids/value_difference
inv_o2m.test10;1;Customer;Pro - A;10;20;0
;;;Pro – B;5;10;0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels