Odoo Help

Welcome!

This community 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.

0

Error When Creating Expense Category

By
Faheem Khan
on 12/22/14, 2:05 AM 698 views

When I go to "HR > Configuration > Expense Category" and click "Create" below error rise. 

I also recieve this same error when I go to "POS> Configuration > Point of Sales > Main" and then edit it then in discount when I click to create discount product, same error shown.

Traceback (most recent call last): File "/opt/odoo/odoo/openerp/http.py", line 518, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo/openerp/http.py", line 539, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo/openerp/http.py", line 295, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo/openerp/http.py", line 292, in checked_call return self.endpoint(*a, **kw) File "/opt/odoo/odoo/openerp/http.py", line 755, in __call__ return self.method(*args, **kw) File "/opt/odoo/odoo/openerp/http.py", line 388, in response_wrap response = f(*args, **kw) File "/opt/odoo/odoo/addons/web/controllers/main.py", line 949, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/odoo/odoo/addons/web/controllers/main.py", line 941, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/odoo/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo/addons/stock/product.py", line 243, in fields_view_get res = super(product_product,self).fields_view_get(cr, uid, view_id, view_type, context, toolbar=toolbar, submenu=submenu) File "/opt/odoo/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo/addons/mail/mail_thread.py", line 344, in fields_view_get res = super(mail_thread, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu) File "/opt/odoo/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo/openerp/models.py", line 1556, in fields_view_get xarch, xfields = View.postprocess_and_fields(cr, uid, self._name, etree.fromstring(result['arch']), view_id, context=ctx) File "/opt/odoo/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 836, in postprocess_and_fields self.raise_view_error(cr, user, message, view_id, context) File "/opt/odoo/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 367, in raise_view_error raise AttributeError(message) AttributeError: Field `project_id` does not exist Error context: View `product.product.form` [view_id: 260, xml_id: product.product_normal_form_view, model: product.product, parent_id: 254]

Have you created any custom code here? Or perhaps downloaded and installed an old module? The error indicates that Odoo expects a project_id field on the product.product form view, but the field apparently does not even exist there (which I can imagine).

Ludo - Neobis
on 12/22/14, 5:48 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 12/22/14, 2:05 AM
Seen: 698 times
Last updated: 3/16/15, 8:10 AM