XXXX
要修改这个XXX表名的信息,需要重新name_get方法。
def name_get(self, cr, uid, ids, context):
return [(tmp.id, tmp.department_name) for tmp in self.browse(cr, uid, ids, context)]
要修改这个XXX表名的信息,需要重新name_get方法。
def name_get(self, cr, uid, ids, context):
return [(tmp.id, tmp.department_name) for tmp in self.browse(cr, uid, ids, context)]