Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
12953 Zobrazení

I've two db odoo v14. One online on odoo cloud and one premise on self hosted.

1 - On premise, i want to use json.dumps() function. I got name 'json' is not defined.
    I pip3 check, no broken , and python version 3.7.3. pip3 simplejson 3.16.0

    I'm running on debian buster.

    In console, running python3 command i do import json and can do json.dumps() 

    I write my script in odoo dev mode, going to technical->cron actions. I cannt import.

    I got forbidden opcode. 

2 - On online db, i already use json.dumps() without import in same way using odoo dev mode.


How can i use json with premise db?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
pro 19
9328
1
dub 17
12456
2
kvě 15
6960
0
bře 15
5279
4
bře 25
42024