Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3292 Vistas

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
Descartar
Mejor respuesta

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
Descartar