How to diable sendig email when import users from csv file?
EDIT: I tried this in amodule to use no_reset_password context value but nothing happens:
from openerp.osv import osv, fields
import openerp.addons.auth_signup.res_users as ResUsers
import logging_logger = logging.getLogger(__name__)
class res_users(ResUsers.res_users):
_inherits = 'res_users'
def signup(self, cr, uid, values, token=None, context=None):
_logger.debug("____COUCOU____")
if context is None:
context = {}
context.no_reset_password = True
return super(res_users, self).signup(cr, uid, values, token, context)