Can not create graphically new user

Impacted versions: 10.0 community

Steps to reproduce: create user without image

Current behavior:
stack trace with : “cannot determine region size; use 4-item box”

image.paste(color) need one more arg..
like image.paste(color, mask=original)

Expected behavior:
new image profile for the new user
https://github.com/odoo/odoo/blob/10.0/odoo/tools/image.py#L217

 

answer:error is caused by v4.0.0 of Pillow. uninstall it and install v3.4.2
pip install Pillow==3.4.2

点赞