_order="sequence,id"
def name_get(self, cr, uid, ids, context=None):
- if not ids:
- return []
return [(rec.id, rec.action_id.name) for rec in self.browse(cr, uid, ids, context=context)]
def action_launch(self, cr, uid, ids, context=None):
}
def name_get(self, cr, uid, ids, context=None):
- if not ids:
- return []
return [(rec.id, rec.user_id.name) for rec in self.browse(cr, uid, ids, context=context)]
def _auto_init(self, cr, context=None):
}
def name_get(self, cr, uid, ids, context=None):
- if not ids:
- return []
return [(line.id, (line.act_from.name) + '+' + (line.act_to.name)) if line.signal == False else (line.id, line.signal) for line in self.browse(cr, uid, ids, context=context)]
wkf_transition()