Hey Folks,
I'm trying to disable the default behavior in Odoo 18 where line items on a purchase order are automatically grouped by product. For my use case, I need purchase order lines to be discrete regardless of if they are for the same product. I've been trying to find where this grouping is happening with no luck. The specific context that I'm working through now is for products that have the MTO + Buy route. When the SO is confirmed, the MO gets generated using products on the BOM. Those products have the MTO + Buy route so they are automatically added to a PO. If for some reason the same product(s) exists on the PO already, Odoo groups the lines and sums the qty. I do not want this to happen.
Any help would be much appreciated - Thanks!
You want separate Purchase Orders or separate lines on the same PO?