This question has been flagged

Hi Everybody,

I'm facing a problem about the product form who could be open by the external link button, on order_line tree of sale order for example.


All the computed fields are not working in that window.

I use for all of them the @api.depends decorator.


The form appear with all custom fields I add in product.template form. All my computed fields are working at it's expect when I open the product form by the product menu. (in sale order for example)

I also inherit product.product model to copy all the custom method I create in product.template to be sure the problem was not coming from here.

I think I don't understand the concept of how these window are working as it's look it doesn't work as a normal form

Do you have some suggestion? Thanks a lot for your help!

Avatar
Discard