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

I have done some editing to the home page of ODOO website using the EDIT button at the top-left corner. After some time, I have decided to make some changes to the Home page by inheriting the XML template to my module and done the changes in the template. But these changes are not reflecting in the web page. I have faced this problem many times on customizing the template with the website builder of ODOO. I have noticed that the changes are directly applied to the XML view which can be seen at Settings->Technical Settings->User Interface->Views and this is not changed to the previous state even the module is upgraded. Is there any way I could customize the template by inheriting it in my module in this case? The customizations work for all templates for which I have done no editing in the website builder.

Awatar
Odrzuć
Najlepsza odpowiedź

When a view/template is saved through the website editor it marks if exists the related ir.model.data record as noupdate = True to do not apply changes to the view/template a module is updated. To do the change you need to remove the noupdate value to that record on the ir.model.data model table

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 20
10941
1
gru 19
4501
0
kwi 17
2952
0
cze 16
3589
1
cze 15
3499