Questions tagged [odoo-rpc]

8 questions
3
votes
0 answers

Odoo Session Expired RPC

I'm using this library to connect to odoo-sh, I'm able to connect I get the proper user in the client object along with the sessionId, but when I try to create a new record I get an error that the Odoo Session Expired, I'm wondering if I'm missing…
pedrommuller
  • 15,741
  • 10
  • 76
  • 126
0
votes
0 answers

setup.py won't catch the sphinx in the currently activated virtualenv

trying to build the docs for odoorpc 0.10.1 I checked out odoorpc to a local folder because the release available on Pypi is quite old I installed it with pip install ./ (./ is odoorpc) According to the instructions I should python setup.py…
user1632812
  • 431
  • 3
  • 16
0
votes
0 answers

Odoo.sh does not receive Request headers?

I have this request that i send in python. import requests headers = { 'Content-Type': 'application/json', 'api_key': '1233445677676' # api_key is fake } data = '{"params": {"name":"Opportunity using…
0
votes
2 answers

Send request Odoo doesn't deliver email

I am using OdooRPC to send sign request in Odoo. The process consist in 4 Parts: Send the document to Sign to Odoo. Send the fields to sign in the document, can be text field type or sign field. Prepare the email template with the document and the…
Juan Botero
  • 71
  • 1
  • 2
  • 12
0
votes
1 answer

Use same connection to odoo instance with odoo_rpc

Three days ago i asked same question but I got no answer, So here I am again asking. is there a way to keep the same connection (client) after login to odoo instance and work with it across pages, if so how it's done ? odoo rpc_package link import…
Imad fed
  • 1
  • 1
0
votes
1 answer

Odoo xmlrpc, You are not allowed to modify on a read operation

I'm trying to use the xmlrpc api of odoo 14. I have made a small script to do some tests. In the test I do a read operation but I get an xmlrpc.client.Fault exception, where odoo compains that I try to modify 'res.users' although my query is a read…
David V.
  • 5,708
  • 3
  • 27
  • 27
0
votes
1 answer

odoo datamigration: Enter one product on several pricelists via odoorpc on python

I am working on a python import-script to import data from an xls sheet to odooErp. In the script, there is information like "name", "if it is a bom list" and (important) for "prices" for different pricelists (in this case p1-p4). I am using the…
N3mo
  • 3
  • 1
0
votes
1 answer

Odoo API: invoice has "paid" status after validation

I am working on a Python script that will import all my existing invoices to an Odoo 12 instance. I am using odoorpc library to simplify RPC calls to my Odoo instance. I achieved to create an invoice using the API, registering it in "draft" state.…
Antwane
  • 20,760
  • 7
  • 51
  • 84