[trunk/7.0][purchase_requisition]wrong requisition without warehouse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP Publisher's Warranty Team |
Bug Description
1.-Steps to reproduce the issue you have observed
Create a Purchase Requisitions without warehouse
Add a product
Request a Quotation
2.- The result you observed
shows the following error
Client Traceback (most recent call last):
File "/home/
response[
File "/home/
action = self._call_kw(req, model, method, args, {})
File "/home/
return getattr(
File "/home/
result = self.proxy.
File "/home/
result = self.session.
File "/home/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/home/
return openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
self.
File "/home/
location_id = requisition.
AttributeError: 'NoneType' object has no attribute 'id'
3.-The result you expected
should show error message with a warning and no technical error shown
runbot(Build 12015)
Related branches
- Mohammed Shekha(Open ERP) (community): Needs Resubmitting
- Naresh(OpenERP) (community): Needs Fixing
- Martin Trigaux (OpenERP): Pending requested
-
Diff: 16 lines (+5/-1)1 file modifiedpurchase_requisition/purchase_requisition.py (+5/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | New → In Progress |
Changed in openobject-addons: | |
importance: | Undecided → Medium |
summary: |
- [7.0][purchase_requisition]wrong requisition without warehouse + [trunk/7.0][purchase_requisition]wrong requisition without warehouse |
Hello,
It has been fixed in lp:~openerp-dev/openobject-addons/7.0-opw-593169-msh.
Revision ID: <email address hidden>
As soon as it has been approved it will be merged in stable version 7.0.
Thanks.