openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #22966
[Bug 1116004] [NEW] [Trunk] Deliver/Receive products gives a error
Public bug reported:
Open Incoming product, Select on of done move.
Go to more and select Deliver/Receive and enter the partial picking line click on validate got the following error.
Traceback (most recent call last):
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/http.py", line 194, in dispatch
response["result"] = method(self, **self.params)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/controllers/main.py", line 1085, in call_button
action = self._call_kw(req, model, method, args, {})
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/controllers/main.py", line 1073, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/session.py", line 87, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/netsvc.py", line 289, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/stock/wizard/stock_partial_move.py", line 78, in do_partial
if (move.move_id.picking_id.type == 'in') and (move.product_id.cost_method == 'average'):
AttributeError: 'NoneType' object has no attribute 'type'
Expected result : This wizard show warning massage if move is already done.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1116004
Title:
[Trunk] Deliver/Receive products gives a error
Status in OpenERP Addons (modules):
New
Bug description:
Open Incoming product, Select on of done move.
Go to more and select Deliver/Receive and enter the partial picking line click on validate got the following error.
Traceback (most recent call last):
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/http.py", line 194, in dispatch
response["result"] = method(self, **self.params)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/controllers/main.py", line 1085, in call_button
action = self._call_kw(req, model, method, args, {})
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/controllers/main.py", line 1073, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/web/session.py", line 87, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/netsvc.py", line 289, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-2965/server/openerp/addons/stock/wizard/stock_partial_move.py", line 78, in do_partial
if (move.move_id.picking_id.type == 'in') and (move.product_id.cost_method == 'average'):
AttributeError: 'NoneType' object has no attribute 'type'
Expected result : This wizard show warning massage if move is already done.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1116004/+subscriptions
Follow ups
References