Skip to Content
Menu
This question has been flagged

I set defaults to groups in Users form and save them. The saved defaults appear in Settings->Actions->User-defined defaults but they do not show when I try to create a new user. 

Avatar
Discard
Best Answer

Hi,

That will not work. if you want to set some access rights for a newly creating user you can set in the default template for newly creating user.

Go to Settings -> General Settings -> New users access rights, click on the Edit default access rights for new users ,


On clicking this template for default user will be opened , here you can set the groups/template for the newly creating user. Save it, then the changes will be reflected  while creating new user.

Thanks

Avatar
Discard
Author

Hi, Thank you for the answer. When I tried to do it, I get the following error

Odoo Server Error

Traceback (most recent call last):

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 640, in _handle_exception

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 677, in dispatch

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 333, in _call_function

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\service\model.py", line 101, in wrapper

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 326, in checked_call

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 935, in __call__

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 506, in response_wrap

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\web\controllers\main.py", line 885, in call_kw

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\web\controllers\main.py", line 877, in _call_kw

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\api.py", line 689, in call_kw

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\api.py", line 680, in call_kw_multi

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\res\res_users.py", line 855, in read

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\res\res_users.py", line 296, in read

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 3021, in read

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 5210, in __getitem__

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\fields.py", line 870, in __get__

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\fields.py", line 982, in determine_value

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\fields.py", line 936, in compute_value

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\fields.py", line 927, in _compute_value

File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\res\res_users.py", line 269, in _compute_tz_offset

File "pytz\__init__.pyc", line 162, in timezone

AttributeError: 'bool' object has no attribute 'upper'

Can you please tell me how to fix this?

Thanks

Did you have done any customization in db ?

Yes, It's working fine.

Related Posts Replies Views Activity
6
Dec 23
108052
4
Mar 20
22001
1
Jun 17
4894
1
Nov 24
153
3
Apr 23
16093