Hello,

Thanks Serpent consulting for correction.

Instead of this {'state': 'open'} phrase , I think Need to pass 'stage_id' in 
'progress' function field
store like this :

store = {
                'project.task': (lambda self, cr, uid, ids, c={}: ids, 
['work_ids', 'remaining_hours', 'planned_hours','stage_id'], 10),
              ....
                
            }),

so when we reactivate task , progress bar are updated.

Correct me if I am wrong..

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.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to