跳至内容
菜单
此问题已终结
3853 查看

Hi

I have 3 fields that contain

obj_fields = 'hr.irg.calcul'

function_fields = '_get_method_irg'

quantity = 30000

I want to have this result :

 self.pool.get('hr.irg.calcul')._get_method_irg(30000)

I did this :

self.pool.get(obj_fields).function_fields(30000)

but my problem it's function_fields ho can i convert string '_get_method_irg' ?

Thx for your Help.

形象
丢弃
相关帖文 回复 查看 活动
2
9月 25
940
1
9月 25
1540
0
7月 25
944
0
3月 25
1380
0
3月 25
1444