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

TypeError, can't make Quotation?

By
Alex Gallien
on 11/14/16, 6:24 PM 154 views

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

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

deep
on 11/15/16, 4:36 AM

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 -

Alex Gallien
on 11/15/16, 12:37 PM
0
Alex Gallien
On 11/28/16, 7:11 PM

Anyone know how to resolve this?

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

1 follower(s)

Stats

Asked: 11/14/16, 6:24 PM
Seen: 154 times
Last updated: 11/28/16, 7:11 PM