summaryrefslogtreecommitdiff
path: root/odoo/fields.py
diff options
context:
space:
mode:
authorPaul Morelle <pmo@odoo.com>2020-09-14 12:55:11 +0000
committerPaul Morelle <pmo@odoo.com>2020-10-02 17:26:03 +0000
commit24c9842c78affec1ee1ad7cf1965fe7ee24036f3 (patch)
treeabe3cf433a041de8888f0e4830ceb12923278835 /odoo/fields.py
parenta69d5c69627444c830774677385f5c51213b2412 (diff)
[IMP] auth_signup: avoid disabled users to fail an installation
When a module creates a disabled user during its installation or upgrade (e.g. demo data), the UserError "You cannot perform this action on an archived user" breaks the whole installation process. We don't care if the mail cannot be sent for users created by an installation, so let's just skip the whole function if we are installing a module. closes odoo/odoo#59035 X-original-commit: 78e22584c76c9fecbc22ab3604771fdce5f2094f Signed-off-by: Paul Morelle <madprog@users.noreply.github.com>
Diffstat (limited to 'odoo/fields.py')
0 files changed, 0 insertions, 0 deletions