wrong partner_id value on stock.picking.in creation
I have a problem between stock.picking.in and purchase.order objects. Whenever I create a purchase.order, and validate the purchase, a stock.picking.in object associated to this PO is created.
So far everything is OK in the process.
The only wrong thing is that my stock.picking.in object is created with the partner_id of my company in the field partner_id of the form instead of the partner_id of the supplier I buy from.
How could I correct this behavior through OpenERP interface ? Should modify something in the code ?
Thanks for your help