Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3844 Widoki

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
wrz 25
939
1
wrz 25
1537
0
lip 25
940
0
mar 25
1378
0
mar 25
1443