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
3331 Widoki

Hello all,

What is the difference between server side and client side template?

What is the syntax when a inherit one or the other in my custom modules?

Very poor documentation on the web about this. 

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,
Depending on the Odoo version you're using, the precise syntax for inheriting server-side and client-side templates in your custom modules may change. In general, though, you'll need to declare your own template in the XML file for your module using the proper tags ( for server-side or for client-side). The template you want to change or inherit can then be specified using the inherit_id attribute. The position attribute can be used to specify where your modifications should be inserted into the inherited template.

Hope it helps

Awatar
Odrzuć