Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3105 Tampilan

Hello,

I make a function A decorated with @api.one and then i call this function inside function B decorated @api.model but i got empty list.

Is possible to do like that?

If i call function A inside function with same decorator i got list with the values (not empty). My collagues says that the function decorated with @api.model doesn't contain ID.

My question is how to pass the ID of the current model to make function decorated with @api.one works when executed from function decorated with @api.model?

Thank you.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Apr 24
24598
2
Jan 16
5274
3
Jul 25
8909
1
Mei 25
1167
0
Jan 24
1840