← Back to team overview

openerp-community team mailing list archive

Re: [Merge] lp:~openerp-dev/openobject-addons/trunk-bug-1116854-amee into lp:openobject-addons

 

Review: Needs Fixing

Correction AFAIK,

There is no need for multiple lines here, and also for the 'project = task.project_id' line !

This should do:

"
def do_reopen(self, cr, uid, ids, context=None):
    return self.case_set(cr, uid, ids, 'open', {}, context=context)
"

Is the {'state': 'open'} phrase needed when state is related to stage_id ?

Kindly correct if misunderstood!

Thanks.

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1116854-amee/+merge/151184
Your team OpenERP Community is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-1116854-amee.


References