openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27421
[Bug 1291260] [NEW] sale_reset_order method is not defined but used in 'mycart'
Public bug reported:
File: addons/website_sale/controllers/main.py
Class: Ecommerce
Method: mycart
Defective code:
316 if order and order.state != 'draft':
317 request.registry['website'].sale_reset_order(cr, uid, context=context)
318 return request.redirect('/shop/')
sale_reset_order is not defined in the website class.
Causes '500: Internal Server Error' Message: 'website' object has not
attribute 'sale_reset_order'
Platform: Ubuntu
** 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/1291260
Title:
sale_reset_order method is not defined but used in 'mycart'
Status in OpenERP Addons (modules):
New
Bug description:
File: addons/website_sale/controllers/main.py
Class: Ecommerce
Method: mycart
Defective code:
316 if order and order.state != 'draft':
317 request.registry['website'].sale_reset_order(cr, uid, context=context)
318 return request.redirect('/shop/')
sale_reset_order is not defined in the website class.
Causes '500: Internal Server Error' Message: 'website' object has not
attribute 'sale_reset_order'
Platform: Ubuntu
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1291260/+subscriptions
Follow ups
References