Odoo Help

0

0
3 Answers
2
Avatar

Hilar AK

--Hilar AK--
--Hilar AK--
  Blog:-
        https://hilarlive.wordpress.com/
  StackOverflow:
        http://stackoverflow.com/users/7561347/burmese-pythis

Quora:
    

            https://www.quora.com/profile/Hilar-Ak-1

Experienced Odoo developer, Functional Consultant.



Hilar AK
2017/4/27 上午8:02

You are accessing security restricted objects from controller where authentication would be public, so you must use ORM methods as administrator or superuser. So in your case use:

env['x.y'].sudo().browse() / your method


1
Avatar
--Annadurai--

LIVING    LEGEND :p

Annadurai
2017/4/27 上午6:14

post Your code. It may be Access rights error (may be due to user rights) (or) import -->  from odoo.exceptions import UserError, ValidationError. if u using custom module. Or else Put Uall for that DB..

0
Jhonatan
2017/4/28 下午2:41


Many thanks for the comments! I discovered the error. It was something related to the module website_quote, I updated and returned to normal operation.

Ask a Question
Writer
Keep Informed
2 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now