Skip to Content
Menu
This question has been flagged
3884 Rodiniai

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
rugs. 25
965
1
rugs. 25
1580
0
liep. 25
971
0
kov. 25
1402
0
kov. 25
1466