sale_reset_order method is not defined but used in 'mycart'

Bug #1291260 reported by Stefan Badenhorst
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

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

Revision history for this message
jholze (j-holze-v) wrote :

Hi Stefan, i saw some results after searching for this issue on google, but can't find the fix for that. Did you know if this issues was fixed in another branch ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.