Comment 4 for bug 540141

Revision history for this message
Omar (Pexego) (omar7r) wrote :

Hi rpa,

It doesn't work but only need a small fix, when it creates attendees is passes the context now, but the context is the context of crm.opportunity for example and in this case it contains the key 'default_state' set to 'open' and is trying write this state in attendees but attendees not has this state value, if take away the context it works.

I include your patch with this update and others, give it a look.
Other changes are: if model = 'calendar.attendee' it did a vals.update() and now vals is a list and if type = 'external' did not do same that the other types.

Thanks