I encounter an error in internal purchase orders between the two companies in a multi-company setup. When I try to accept a purchase order I get the ERROR: "You must set a Vendor Location for this partner" and the purchase order remains a draft (RFQ). However all other purchase and all sales orders work properly! Let me explain in more detail:
Company A: the initial company configured before enabling the multi-company option
Company B: the second internal company configured after enabling the multi-company option
Company C: external customer or supplier
Only the purchase orders with company A as supplier and company B as customer fail with the error, all other purchase and sales orders work!
That means:
I tried to carefully review the storage locations but can not make out any difference between company A and company B.
Questions:
Any help or hints would be highly appreciated!
When we are work with multi company and company partner as suppler or customer then we must do location configuration in partner.
In purchase order creating process, when picking is creating then system is setting location_id based on property_stock_supplier field.
In Sales Order creating process, when picking is creating then system is setting location_id based on property_stock_customer field.
This may help you.