No changes For fields After Write Method
Hi All , I Tried To Use Write Method inside Button WorkFlow To Update filed In account.asset.asset Module But no Changes Happened For This Field
And This Is My Code
def action_done(self, cr, uid, ids, context=None): mro_obj = self.pool.
assets_obj = self.pool.
assets_
for order in self.browse(cr, uid, ids, context=context):
self.write(cr, uid, ids, {'state': 'done', 'date_execution': time.strftime(
return True
Please I Need Help
Thanks A Lot
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Serpent Consulting Services
- Solved:
- Last query:
- Last reply: