Consider the following scenario: coke(300 ml) as base product and coke pack (6 cans) and coke pack (24) as child products through phantom BOM.
In normal receiving through "incoming shipment", if i receive pack (6 cans) it adds to base product (coke (300ml))
I am creating a custom module to receive the products so I am using "product.product" object through ajax to get products while receiving.
Now if a pack (6) is received through my custom module I need to update base product (coke (300ml)) stock in inventory and not the new phantom bom product coke pack(6 cans). Is there a way to do it in Openerp?