diff --git a/addons/sale_analytic_plans/sale_analytic_plans.py b/addons/sale_analytic_plans/sale_analytic_plans.py index a16a0078f9f..872e8b0bffc 100644 --- a/addons/sale_analytic_plans/sale_analytic_plans.py +++ b/addons/sale_analytic_plans/sale_analytic_plans.py @@ -46,7 +46,7 @@ class sale_order(osv.osv): # Remove the project_id from the result of super() call, if any, as this field is not in the view anymore res = super(sale_order, self).onchange_shop_id(cr, uid, ids, shop_id, context=context) if res.get('value',{}).get('project_id'): - del(res['value']['porject_id']) - return {'value': res} + del(res['value']['project_id']) + return res # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: