Manufacturing mailing list archives

manufacturing@odoo-community.org

Add Sales Order Reference to Automatic generated Purchase Order

by
michael
- 09/11/2015 12:58:28
Hi,

we run an ecommerce shop (Magento with the OCA Connector) and use Odoo for inventory management and purchasing. We now want Odoo to create purchase orders for all incoming sales orders where the stock is not available. I managed that by creating reordering rules for alle products and by assigning suppliers to all products. Our process is that we order once a day with our production partners, therefore Odoo automatically merges multiple purchase orders to one order. This behavior is fine, but I have now the problem that I don't know which purchase order line belongs to which sales order. How can I add the sales order reference to each purchase order line?

Thanks,
Michael