コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4013 ビュー

Hi there,

I'm building  a custom app that inherits res.partner model and has a few functions defined. Now i want to call those child class functions from xml file which inherits a view and modifies a few fields. Also i want to access the value of those variables which are present inside that child class functions, how can i achieve that?

I have tried calling that function using <function> tags and also used  <span t-esc = "o.function_name"/> but both approaches ended up in throwing errors saying that function was not found in the parent view.

any help is appreciated.

Thank you

P.S: I want to access the value of the variables in the xml file inside the <xpath> tag

アバター
破棄
関連投稿 返信 ビュー 活動
1
11月 24
1768
5
7月 24
93217
1
12月 23
3142
1
5月 22
3796
0
1月 20
3008