How to get a return value from a wizard?
I'm trying to port an old-style wizard to osv_memory in 6.0 so I can use yaml tests on it.
I find I have to create a wizard just to have a Yes/No dialog. But how do I get the yes/no result?
I successfully get the wizard to pop-up from my main wizard but the main wizard carries on without waiting.
Here's (one version of) my dialog:
class verify_
_name = 'citrus.
_description = 'Verify Ticket'
_columns = {'result': fields.
def button_
return {'context': context}
def button_
return {'context': context}
verify_ticket()
And I call it via this function:
def _verify(self, cr, uid, ids, context={}):
# call a new wizard to let the user decide
wizard_id = self.pool.
return {'name': "Verify Ticket",
}
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Collins
- Solved:
- Last query:
- Last reply: