credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #02198
[Bug 908064] Re: gives a error when add two quotation of same partner
Fix landed in trunk
revno: 6154
revision-id: tde@xxxxxxxxxxx-20111223145943-87wfeonscz866ue4
** Changed in: openobject-addons
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/908064
Title:
gives a error when add two quotation of same partner
Status in OpenERP Addons (modules):
Fix Released
Bug description:
step:-
install purchase_requisition
open a Purchases/Purchase Management/Purchase Requisitions form view
set product in Product teb and in quotation teb try to add quotation from request to quotation Button on same supplier
so, when you add a two quotation on same supplier it's give a error
traceback
--------------
Traceback (most recent call last):
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/wsgi.py", line 77, in xmlrpc_return
result = openerp.netsvc.dispatch_rpc(service, method, params)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/mma/home/workplace/rdtools/addons/trunk/audittrail/audittrail.py", line 495, in execute_cr
return fct_src(cr, uid, model, method, *args)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/mma/home/workplace/rdtools/addons/trunk/purchase_requisition/wizard/purchase_requisition_partner.py", line 55, in create_order
self.pool.get('purchase.requisition').make_purchase_order(cr, uid, active_ids, data.partner_id.id, context=context)
File "/home/mma/home/workplace/rdtools/addons/trunk/purchase_requisition/purchase_requisition.py", line 136, in make_purchase_order
raise osv.except_osv(_('Warning'), _('You have already one %s purchase order for this partner, you must cancel this purchase order to create a new quotation.') % supp_record.state)
NameError: global name 'supp_record' is not defined
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/908064/+subscriptions
References