I have 1 custom module.
In my custom module, it fetches data from stock.move(pcs,kgs,amount). The custom module have a button validate
I want that when I click the validate, the pcs and kgs in my inventory will be empty or zero,
Ex: I fetched 100pcs,100kgs,1000.00, after validate -> 0pc,0kg,0.00
Do i need to use the o2m and do it like this: (1, ID, { values }) , does it update the values?
.