python odoo 错误原因:raise TypeError("cannot marshal None unless allow_none is enabled")
Traceback (most recent call last): File "G:/od15/数库单表转移.py", line 81, in <module> zhuan_biao(dbm, pc2) File "G:/od15/数库单表转移.py", line 65, in zhuan_biao qs4 = pcon.api.execute(pcon.db, pcon.uid, pcon.pwd, dbm, 'create', aa) File "E:\odsoft\python\lib\xmlrpc\client.py", line 1115, in __call__ return self.__send(self.__name, args) File "E:\odsoft\python\lib\xmlrpc\client.py", line 1449, in __request allow_none=self.__allow_none).encode(self.__encoding, 'xmlcharrefreplace') File "E:\odsoft\python\lib\xmlrpc\client.py", line 974, in dumps data = m.dumps(params) File "E:\odsoft\python\lib\xmlrpc\client.py", line 502, in dumps dump(v, write) File "E:\odsoft\python\lib\xmlrpc\client.py&
|