Odoo Help

0

0
2 Answers
0
Gagandeep Kaur
1/14/19, 11:52 PM

error again:

Traceback (most recent call last):
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 650, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\tools\pycompat.py", line 87, in reraise
    raise value
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 692, in dispatch
    result = self._call_function(**self.params)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 342, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\service\model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 335, in checked_call
    result = self.endpoint(*a, **kw)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 936, in __call__
    return self.method(*args, **kw)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\web\controllers\main.py", line 873, in search_read
    return self.do_search_read(model, fields, offset, limit, domain, sort)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\web\controllers\main.py", line 895, in do_search_read
    offset=offset or 0, limit=limit or False, order=sort or False)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\models.py", line 4218, in search_read
    records = self.search(domain or [], offset=offset, limit=limit, order=order)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\models.py", line 1480, in search
    res = self._search(args, offset=offset, limit=limit, order=order, count=count)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\models.py", line 3770, in _search
    self._apply_ir_rules(query, 'read')
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\models.py", line 3616, in _apply_ir_rules
    where_clause, where_params, tables = Rule.domain_get(self._name, mode)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\base\ir\ir_rule.py", line 114, in domain_get
    query = self.env[model_name].sudo()._where_calc(dom, active_test=False)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\models.py", line 3564, in _where_calc
    e = expression.expression(domain, self)
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\osv\expression.py", line 668, in __init__
    self.parse()
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\osv\expression.py", line 846, in parse
    raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'website_published' in leaf "<osv.ExtendedLeaf: ('website_published', '=', True) on hr_employee (ctx: )>"
1 Comment
Cybrosys Techno Solutions Pvt.Ltd
1/15/19, 12:02 AM

The field might not be present in the view or does not exist in the model.

0
Avatar

Cybrosys Techno Solutions Pvt.Ltd

--Cybrosys Techno Solutions Pvt.Ltd--
Cybrosys Technologies
https://www.cybrosys.com
16242
| 7 6 10
Calicut, India
--Cybrosys Techno Solutions Pvt.Ltd--

Cybrosys Technologies is a private limited ISO certified company in Technology and Software Engineering sector. We serve as one of the best and trusted Odoo official partner, providing ultimate Customization and Implementation services in Odoo ERP. A frequent contributor to Odoo Apps, our customized free apps are downloaded by more than one lakh users. Most of our apps augment the potentialities of Odoo and are trending in the Odoo app store.

Cybrosys keeps privilege to be one among the finest Odoo Official Partners with 200+ free apps contribution towards the Odoo community. Cybrosys also stands number one in Odoo-social Media Integration empowering every kind of business solutions.

We are also enriched with highly skilled UI/UX technical experts for Developing, Implementing and Designing, thereby providing ultimate benefit to our customer base.

Today Cybrosys has reached par excellent in Odoo Implementation and allied services, proving its credibility and reliability. Our proven services are used by customers sprawling across 160+ countries including Middle East, African continents, UK, Germany, Spain, Thailand, Hong Kong, New Zealand, Australia, Malaysia, Singapore, Egypt etc.

We are rapidly expanding our base with robust quality management and business process re-engineering to meet the ultimate customer desire.

To know more about Cybrosys Technologies and our Odoo Apps, Kindly visit:

Cybrosys Technologies 

Odoo Apps 

And inbox us your queries to odoo@cybrosys.com

Cybrosys Techno Solutions Pvt.Ltd
1/14/19, 11:33 PM

Hi,

This is the access right issue, what you have to do is activate the developer mode and navigate to Settings -> Technical -> security -> Record Rules and search for the record rules of the model hr.employee.



You can make each of the record rules to set active is False and check whether the issue is okay and trace down which rule cause the issue and do necessary


Thanks

Ask a Question
Keep Informed
1 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