1. 优化从设备同步到服务端的信息,不要再同步回设备

This commit is contained in:
sunjie
2025-07-23 20:22:15 +08:00
parent 0bae50aab6
commit dcff509b8e
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -18,8 +18,7 @@ class OdooRPCClient:
self._connect()
def _connect(self):
self.common = xmlrpc.client.ServerProxy('{}/xmlrpc/2/common'.format(self.url), verbose=False, use_builtin_types=True,
context=ssl._create_unverified_context())
self.common = xmlrpc.client.ServerProxy('{}/xmlrpc/2/common'.format(self.url))
self.uid = self.common.authenticate(self.db, self.username, self.password, {})
if not self.uid:
raise Exception("Authentication failed.")
+1 -1
View File
@@ -1,4 +1,4 @@
asyncio
configparser
aiomqtt
certifi
pip-system-certs