Hi everyone,
I would like to modify the behaviour of the SurveyMailComposeMessage wizard.
All i have to do is to add a parameter to the create survey answer object.
The problem is that the method that creates the object is nested inside another method:
class SurveyMailComposeMessage(osv.TransientModel): [...] def send_mail(self, cr, uid, ids, auto_commit=False, context=None): [...] def create_token(wizard, partner_id, email): [...]
would like to override the method create_token, without overriding its "parent" method send_mail.
Does anyone know a way to do that? Overriding the whole send_mail method is working, but i would like to avoid having to copy/paste 100 lines of code to add a single line :-).
Thanks a lot :)