changeset 5722eb0da32f in trytond:default details: https://hg.tryton.org/trytond?cmd=changeset;node=5722eb0da32f description: Reload the context after creating a company with the config wizard
To get the new company set in the context, we must not fill the context with an empty company nor employee. issue9543 review318451002 diffstat: trytond/res/user.py | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diffs (11 lines): diff -r 3944a51cb009 -r 5722eb0da32f trytond/res/user.py --- a/trytond/res/user.py Sun Oct 11 19:04:16 2020 +0200 +++ b/trytond/res/user.py Mon Oct 12 12:57:49 2020 +0200 @@ -452,7 +452,6 @@ else: res['language'] = Config.get_language() else: - res[field] = None if getattr(user, field): res[field] = getattr(user, field).id res[field + '.rec_name'] = \