Comment 3 for bug 985699

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

Here is a more accurate description of the problem :

I have several fields attached to an osv_memory wizard. I have defined a default_get function that sets the default value for these fields.

When I launch the Wizard, the default_get function is called and the fields of my wizard get a value. Then, I click on one of the buttons of the wizard : in the function called by the button, I do a self.read(cr, uid, ids[0], [fields], context=context) to read the fields of my wizard -> the default_get function is called a second time.