Skip to Content
Menu
This question has been flagged

Hello,

I've done a couple of changes on the Product from view "product_template_only_form_view" on the "product_template" model, but in the purchase/sale order when trying to "Create and Edit ..." a new product in the "order_line" one2many field, my changes are not showing there?!!
i tried to find the popup form view external id, to see how it was constructed, but i think this is stupid because the tree view by default should open the corresponding form view of the related model.

Did anyone stumble over such a situation? and was able to solve it?

Recap:
1- Done some changed on the product form view. (e.g. add a new page to the form view notebook with a condition to be visible when the product category name is "services_a").
2- Trying to create a new Product from the purchase/sale order tree view of a one2many field "order_line" doesn't reflect the changes. (even if i set the category on "services_a", the new page of the notebook is not shown).

Avatar
Discard

product.product_template_form_view

Author

Thanks Niyas Raphy for your comment.

I changed the inherited view from "product. product_template_only_form_view" to "product.product_template_form_view", but still no work. When i create a new product from the sale or purchase order popup Product form view, i can't see the changes I introduced.

For info:

--------

I try to create a new product from the "order_line" one2many field of the "purchase_order_form" form view, which has a tree view has a string of "Purchase Order Lines", the field has a widget "section_and_note_one2many", the tree view has a <control> section, which holds this control '<create name="add_product_control" string="Add a product"/>', which i use to create a new product from the popup form view of the product.

Author

Here is a pic, but this one from the sales app https://ibb.co/rMSBF01

Hi muhanad 

Did you found a solution bro?

Related Posts Replies Views Activity
1
Nov 23
1660
2
Mar 15
2993
2
Oct 24
174
2
Oct 24
283
1
Jul 24
602