Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

I am trying to inherit from the template 'website_sale.product' I have website_sale in my dependence list for my custom module. I am using Odoo 15 hosted on Odoo.sh

I would show the xml but the forum keeps editing out the xml I add. The only attributes I add to the template elements is the id, name, and inherit_id. The inherit_id is set to website_sale.product

I plan to fill out the body once I get the inheritance working. My problem is when I go to build the template I get the following error:

odoo.exceptions.ValidationError: Error while validating view:

Element '' cannot be located in parent view


This error confuses me because my custom module does not do anything at this point. It does not interfere with that element and it does not search for that element. I checked and the original template appears to have the element. What makes me most confused about this error is the fact that it is inconsistent. As I am experimenting with different combinations of IDs and stuff it might successfully build. But when I change the manifest number and try again it breaks and produces the same error. Any suggestions for making this work would be greatly appreciated. 

Awatar
Odrzuć

can you post an image of the code and the error

Autor

The forum will not let me post the pictures

Powiązane posty Odpowiedzi Widoki Czynność
1
mar 22
6919
1
lip 21
5339
1
sty 24
2942
1
wrz 22
4213
0
kwi 21
1735