hi guys
I m working on mrp.repair and mrp.repair.line
I would like to filter the list of product_id available on mrp.repair.line depending of the choice of the product id on mrp.repair.
So i tried to use an @api.onchange('repair_id.product_id') on the mrp.repair.line
but it doesn't work .
I can do a compute on mrp.repair.line.product_id like this product_id = fields.Many2one('product.product', 'Product', required=True, domain=_compute_nomenc_product_ids) but it's not enough.
i really need to recompute when product_id on mrp.repair change. This 2 models are on the same view.
Does anybody have the solution? :)
Thanks a lot
Thomas