You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
206 B

10 years ago
  1. import im_notif_models
  2. def pre_uninstall(cr, registry):
  3. query = ("UPDATE res_partner "
  4. "SET notify_email = 'always' "
  5. "WHERE notify_email LIKE 'im%';")
  6. cr.execute(query)