Comment 0 for bug 1089390

Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote : {}.fromkeys with a mutable argument in second position

company.py

    def get_reminder_recipients(self, cr, uid, ids, context=None):
        """Return the list of users that must receive the email"""
        res = {}.fromkeys(ids, [])

Never use a mutable second argument in fromkeys!

The keys are linked with the same list instance.