Community mailing list archives

community@mail.odoo.com

Sale Order line -> Multiple procurement ids

by
OpenERP Master
- 02/22/2015 16:49:11
Could someone describe a scenario where a sale_order_line would have multiple procurement_ids?

In module sale, procurement_ids is a one2many and I expected it to be a many2one. Ref:

https://github.com/odoo/odoo/blob/8.0/addons/sale/sale.py#L889

With my tests, only 1 procurement.order is ever created that has a matching sale_order_line. Even in the case of a M2O a sale_line_id is not attached to the new procurement created.

I am thinking this would only be valid in manufacturing, which isn't something im using yet. Any thoughts?