Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2048 Lượt xem

Hi,

I am quite new to Odoo, so please bear with me :)

I am trying to extend a template `mass_mailing.email_designer_snippets`, I have created a view xml and listed it in the manifest.


```

  
    

FOOBAR

  

```


If I change the `inherit_id` or the `xpath-expr` I get an error during update that the id/element was not found. So I am assuming I am doing that right.

I also created a little test controller that just renders that template:

```

 return http.request.render('mass_mailing.email_designer_snippets', {})

```

That works fine as well, however I can not get by foobar element to show up. Is there anything I am missing?

I also started Odoo with the --dev=xml feature so no database changes are loaded, still no luck.


Any ideas what I could check or try?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 23
1837
1
thg 10 15
4818
1
thg 5 17
4446
2
thg 3 25
4778
4
thg 2 25
2346