Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
3366 Visninger

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

Avatar
Kassér
Bedste svar

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

Avatar
Kassér