跳至內容
選單
此問題已被標幟
1 回覆
3308 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄