Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't run the wrapper #3

Open
maciejbrylewicz opened this issue Jul 29, 2023 · 2 comments
Open

can't run the wrapper #3

maciejbrylewicz opened this issue Jul 29, 2023 · 2 comments

Comments

@maciejbrylewicz
Copy link

see the details below:

Exception has occurred: AttributeError
'Bot' object has no attribute 'status'
File "/home/maciej/devel/odoo_xmlrpc/from odoo_xmlrpc_wrapper import odoo_xml.py", line 9, in
bot = oxw.Bot(HOST, DB, USERLOGIN, PASSWORD)
AttributeError: 'Bot' object has no attribute 'status'

Maybe there is something missing for v16?

@hidara2000
Copy link

make the changes below to .........\lib\site-packages\odoo_xmlrpc_wrapper\odoo_xmlrpc_wrapper.py
image

@ddean6232
Copy link

anything??

Traceback (most recent call last):
File "C:\Users\darren_dean\Projects\python\odoo\test.py", line 9, in
bot = oxw.Bot(HOST, DB, USERLOGIN, PASSWORD, secured=False)
File "C:\Users\darren_dean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\odoo_xmlrpc_wrapper\odoo_xmlrpc_wrapper.py", line 58, in init
print(self.status)
AttributeError: 'Bot' object has no attribute 'status'. Did you mean: 'satus'?

from odoo_xmlrpc_wrapper import odoo_xmlrpc_wrapper as oxw


HOST = "192.xxx.0.xx:8069"
DB = "odoo"
USERLOGIN = "[email protected]"
PASSWORD = "xxxxxxxxx"

bot = oxw.Bot(HOST, DB, USERLOGIN, PASSWORD, secured=False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants