I am trying to get a form/pop-up when i click on 'Save' button.
How can we do this?
What i tried is:
def create(self, cr, uid, ids, context=None):
globvar = 1
view_ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'cornerstone', 'enroll_program')
view_id = view_ref and view_ref or False
'name': _('If required add another Program for Learner'),
'res_id': ids, # this will open particular Learner Details,
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/22/15, 5:53 AM|
|Seen: 303 times|
|Last updated: 12/22/15, 5:57 AM|