Skip to Content
Menu
This question has been flagged
2 Replies
1412 Views

I already add an attribute (Readonly) to the product field  

<field name="inherit_id" ref="product.product_template_form_view"/>

it's already working in product view (product.template)

but not working in pop-up form when I opened from sale order 

https://watch.screencastify.com/v/LBZb5Vtu1qmpo0dkBpNN


Avatar
Discard
Best Answer

Hi Khaled Ibrahim,

Actually you are adding a attribute readonly in product template form view. 

The form view which you opened from the sale order line is of the "product.product" model. So please try to add the readonly attribute in the "product.product" model form view ("product.product_normal_form_view" for odoo 14).

Hope it will help you.
Up Vote Please.

Avatar
Discard
Best Answer

upgrade Base, inventory and sales application from apps menu and see later. It will be done

Avatar
Discard
Author

I do , but nothing happen :(

Author

I found, If the user has (Advisor) group in accounting this will happen
if not will not