Hi all,
Hoping someone can assist with a problem. I'm successfully using the "Search" function on sale.order model to retrieve a list of sales orders, but when trying to fetch the record for a particular order the following is returned. I am using XMLRPC
"Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:\n- Purchases/User\n\t- Purchases/Manager\n\t- Inventory/User\n\t- Accounting & Finance/Billing\n\t- Other Extra Rights/Portal\n\t- Purchases/Glass Receiving\n\n(Document model: purchase.order"
If I log into the front end with the same creds i'm passing through with the API calls, I can access the orders.
Please advise on what I might be doing wrong.
Thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
1490
Views
Hi Nicholas:
Check whether you are accessing a field which is stored in purchase.order but which is accessed through sale.order via a related or computed field.
The field is probably being conditionally accessed in the UI which is why you don't get an error when you are logged in through the UI.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up