Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1585 Zobrazení

Hi , I am odoo newer.

I have a module inherit "sale.order" module and add a field "x_studio_delivery_note" that show on sale.order tree view.

But when I use another module to inherit the view of "sale.order", I want to get the locate of "x_studio_delivery_note" and disable that field in the tree view.

I get this error:

odoo.tools.convert.ParseError: "Element '' cannot be located in parent view

here is my code :

 

Please help me.Thanks!

Avatar
Zrušit
Nejlepší odpověď

Hi,

Seems the code is missing from the question due to the issues in the forum. The issue here might be you are inheriting the the sale order form itself and referring to the newly added field in it. Here the the newly added field is not in the sale order form view(original view, it is in inherited view). 

So instead of inheriting the sale order form, inherit the view that adds the field x_studio_delivery_note or refer to a field existing in the corresponding view.

Thanks

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 25
2529
0
kvě 23
2299
3
bře 25
23905
1
lis 22
2207
1
kvě 22
5706