콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
10570 화면

Hi, I have an error with the Version 8.0-20150225


In the manufacturing part, I dot this error when I try to produce an Manufacturing order.

I have the same error if I try to consume products line by line in the MO.

Any idea where it can come from ? 

Following are the error detail:


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 530, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 567, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 303, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 300, in checked_call
    return self.endpoint(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 796, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 396, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 953, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 941, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/mrp/wizard/mrp_product_produce.py", line 123, in do_produce
    data.product_qty, data.mode, data, context=context)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/mrp/mrp.py", line 936, in action_produce
    location_id=produce_product.location_id.id, restrict_lot_id=lot_id, context=context)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/mrp/stock.py", line 197, in action_consume
    self.action_done(cr, uid, ids2, context=context)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/magento_openerp_stock/magento_openerp_stock.py", line 51, in action_done
    if 'OUT' in data.picking_id.name:
TypeError: argument of type 'bool' is not iterable

아바타
취소
베스트 답변

Yannick,

Please check 'name' field which you are trying to access of your 'picking_id' object.

This error is coming because, your object's(data) picking_id does not have any value in 'name' field.

you can verify it by using print statement and check in terminal, It must show False.

Hope it helps

아바타
취소
작성자 베스트 답변

Yes I'm using third party modules.

아바타
취소
베스트 답변

First answer me Are you using third party modules ? because of magento_openerp_stock module given error. and there is no picking.

아바타
취소
관련 게시물 답글 화면 활동
1
2월 23
3561
0
2월 22
1816
1
9월 21
1765
1
10월 18
3256
5
6월 15
3795