So, I need to add customer, order, order_items(products), products(list of them that company is selling) data using external API to Odoo.
I am so far done with customers but I am pretty confused about the models that are needed for the rest. sale.order looks like it is for orders but rest I am not able to find.
I have checked sales.order.line, but as each customer can have multiple orders and each order can have multiple products. In this case, that is not so matching. (Many2one relationship is mostly there)
Could anyone please help me to find the most suiting models? As I am really new to Odoo, any help is appreciated.
Thanks in advance!