Skip to Content
Menu
This question has been flagged

Hi,

When I log into ODOO or try to Create a Quotation, I receive this error:

TypeError: undefined is not an object (evaluating 'field.attrs.name')http://10.7.1.103/web/js/web.assets_backend/2b8d172:3391


I just set up this instance as a from-scratch reproduction of another instance I had that became too full of test entries. I copied over the settings as exactly as I could, but I receive this error, what could be the problem?


Thank you

Avatar
Discard

issue is not clear, can you paste a bit more the error log, probably last couple of lines

Author

I've checked and I also get errors when trying to create a Sales Order, here is logging in, trying to create quotation, trying to create sales order:

2016-11-15 17:35:43,046 1379 INFO EC_MRP_2 openerp.service.common: successful login from 'admin' using database 'ec_mrp_2'

2016-11-15 17:35:43,065 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:43] "POST /web/session/get_session_info HTTP/1.1" 200 -

2016-11-15 17:35:43,566 1379 INFO None werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:43] "POST /web/proxy/load HTTP/1.1" 200 -

2016-11-15 17:35:44,307 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/session/modules HTTP/1.1" 200 -

2016-11-15 17:35:44,368 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/webclient/translations HTTP/1.1" 200 -

2016-11-15 17:35:44,540 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/dataset/call_kw/ir.config_parameter/get_param HTTP/1.1" 200 -

2016-11-15 17:35:44,544 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/dataset/call_kw/res.users/read HTTP/1.1" 200 -

2016-11-15 17:35:44,551 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/dataset/call_kw/res.users/read HTTP/1.1" 200 -

2016-11-15 17:35:44,568 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/dataset/call_kw/res.users/read HTTP/1.1" 200 -

2016-11-15 17:35:44,582 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /calendar/notify HTTP/1.1" 200 -

2016-11-15 17:35:44,672 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/action/load HTTP/1.1" 200 -

2016-11-15 17:35:44,685 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "GET /web/binary/image?model=res.users&field=image_small&id=1 HTTP/1.1" 304 -

2016-11-15 17:35:44,828 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/dataset/call_kw/mail.message/message_read HTTP/1.1" 200 -

2016-11-15 17:35:44,879 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/dataset/call_kw/mail.message/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:44,938 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/dataset/call_kw/mail.group/get_suggested_thread HTTP/1.1" 200 -

2016-11-15 17:35:44,987 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:44] "POST /web/dataset/call_kw/ir.filters/get_filters HTTP/1.1" 200 -

2016-11-15 17:35:45,007 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:45] "POST /web/dataset/call_kw/mail.message/fields_get HTTP/1.1" 200 -

2016-11-15 17:35:45,679 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:45] "POST /web/menu/load_needaction HTTP/1.1" 200 -

2016-11-15 17:35:46,615 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:46] "POST /web/action/load HTTP/1.1" 200 -

2016-11-15 17:35:46,726 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:46] "POST /web/dataset/call_kw/share.wizard/has_share HTTP/1.1" 200 -

2016-11-15 17:35:47,360 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:47] "POST /web/dataset/call_kw/crm.case.section/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:47,425 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:47] "POST /web/dataset/call_kw/crm.case.section/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:47,426 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:47] "POST /web/menu/load_needaction HTTP/1.1" 200 -

2016-11-15 17:35:47,497 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:47] "POST /web/dataset/call_kw/ir.filters/get_filters HTTP/1.1" 200 -

2016-11-15 17:35:47,514 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:47] "POST /web/dataset/call_kw/crm.case.section/fields_get HTTP/1.1" 200 -

2016-11-15 17:35:48,261 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:48] "POST /web/dataset/search_read HTTP/1.1" 200 -

2016-11-15 17:35:48,400 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:48] "GET /web/binary/image?model=res.users&field=image_small&id=1 HTTP/1.1" 304 -

2016-11-15 17:35:48,420 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:48] "POST /web/dataset/search_read HTTP/1.1" 200 -

2016-11-15 17:35:49,406 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:49] "POST /web/action/load HTTP/1.1" 200 -

2016-11-15 17:35:49,586 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:49] "POST /web/dataset/call_kw/sale.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:49,623 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:49] "POST /web/dataset/call_kw/sale.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:49,673 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:49] "POST /web/dataset/call_kw/ir.filters/get_filters HTTP/1.1" 200 -

2016-11-15 17:35:49,690 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:49] "POST /web/dataset/call_kw/sale.order/fields_get HTTP/1.1" 200 -

2016-11-15 17:35:49,921 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:49] "POST /web/dataset/call_kw/sale.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:50,025 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:50] "POST /web/dataset/search_read HTTP/1.1" 200 -

2016-11-15 17:35:51,224 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:51] "POST /web/dataset/call_kw/sale.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:51,777 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:51] "POST /web/dataset/call_kw/sale.order/default_get HTTP/1.1" 200 -

2016-11-15 17:35:52,097 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:52] "POST /web/dataset/call_kw/sale.order/onchange HTTP/1.1" 200 -

2016-11-15 17:35:52,184 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:52] "POST /web/dataset/call_kw/stock.incoterms/name_search HTTP/1.1" 200 -

2016-11-15 17:35:52,200 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:52] "POST /web/dataset/call_kw/res.users/name_get HTTP/1.1" 200 -

2016-11-15 17:35:52,317 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:52] "POST /web/dataset/call_kw/res.company/name_get HTTP/1.1" 200 -

2016-11-15 17:35:52,339 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:52] "POST /web/dataset/call_kw/sale.order/read_followers_data HTTP/1.1" 200 -

2016-11-15 17:35:52,651 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:52] "POST /web/dataset/call_kw/stock.picking/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:55,159 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:55] "POST /web/dataset/call_kw/stock.picking/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:55,192 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:55] "POST /web/dataset/call_kw/sale.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:55,278 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:55] "POST /web/dataset/search_read HTTP/1.1" 200 -

2016-11-15 17:35:58,840 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:58] "POST /web/action/load HTTP/1.1" 200 -

2016-11-15 17:35:58,857 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:58] "POST /web/menu/load_needaction HTTP/1.1" 200 -

2016-11-15 17:35:59,088 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:59] "POST /web/dataset/call_kw/purchase.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:59,131 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:59] "POST /web/dataset/call_kw/purchase.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:59,153 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:59] "POST /web/dataset/call_kw/ir.filters/get_filters HTTP/1.1" 200 -

2016-11-15 17:35:59,171 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:59] "POST /web/dataset/call_kw/purchase.order/fields_get HTTP/1.1" 200 -

2016-11-15 17:35:59,377 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:59] "POST /web/dataset/call_kw/purchase.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:35:59,466 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:35:59] "POST /web/dataset/search_read HTTP/1.1" 200 -

2016-11-15 17:36:00,116 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:36:00] "POST /web/action/load HTTP/1.1" 200 -

2016-11-15 17:36:00,262 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:36:00] "POST /web/dataset/call_kw/purchase.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:36:00,306 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:36:00] "POST /web/dataset/call_kw/purchase.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:36:00,333 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:36:00] "POST /web/dataset/call_kw/ir.filters/get_filters HTTP/1.1" 200 -

2016-11-15 17:36:00,384 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:36:00] "POST /web/dataset/call_kw/purchase.order/fields_get HTTP/1.1" 200 -

2016-11-15 17:36:00,569 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:36:00] "POST /web/dataset/call_kw/purchase.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:36:00,685 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:36:00] "POST /web/dataset/search_read HTTP/1.1" 200 -

2016-11-15 17:36:01,552 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:36:01] "POST /web/dataset/call_kw/purchase.order/fields_view_get HTTP/1.1" 200 -

2016-11-15 17:36:01,946 1379 ERROR EC_MRP_2 openerp.http: Exception during JSON request handling.

Traceback (most recent call last):

File "/opt/odoo/openerp/http.py", line 539, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/opt/odoo/openerp/http.py", line 576, in dispatch

result = self._call_function(**self.params)

File "/opt/odoo/openerp/http.py", line 312, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/opt/odoo/openerp/service/model.py", line 118, in wrapper

return f(dbname, *args, **kwargs)

File "/opt/odoo/openerp/http.py", line 309, in checked_call

return self.endpoint(*a, **kw)

File "/opt/odoo/openerp/http.py", line 805, in __call__

return self.method(*args, **kw)

File "/opt/odoo/openerp/http.py", line 405, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/addons/web/controllers/main.py", line 944, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/opt/odoo/addons/web/controllers/main.py", line 936, in _call_kw

return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/opt/odoo/openerp/api.py", line 268, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/openerp/api.py", line 372, in old_api

result = method(recs, *args, **kwargs)

File "/opt/odoo/openerp/models.py", line 1326, in default_get

defaults[name] = field.default(self)

File "/opt/odoo/openerp/fields.py", line 448, in <lambda>

func(recs), recs, validate=False,

File "/opt/odoo/openerp/fields.py", line 444, in <lambda>

func = lambda recs: value(recs._model, recs._cr, recs._uid, recs._context)

File "/opt/odoo/addons/purchase/purchase.py", line 173, in _get_picking_in

raise osv.except_osv(_('Error!'), _("Make sure you have at least an incoming picking type defined"))

except_orm: (u'Error!', u'Make sure you have at least an incoming picking type defined')

2016-11-15 17:36:01,949 1379 INFO EC_MRP_2 werkzeug: 10.7.1.221 - - [15/Nov/2016 17:36:01] "POST /web/dataset/call_kw/purchase.order/default_get HTTP/1.1" 200 -

Author Best Answer

Anyone know how to resolve this?

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 16
2725
1
Jun 15
3696
3
May 21
2515
2
Jan 17
6517
0
Jan 16
8261