Allow to select None company

issue3836
review5021002
This commit is contained in:
Cédric Krier
2014-04-12 23:43:25 +02:00
parent de776274a3
commit 487fbc0132
+1
View File
@@ -193,6 +193,7 @@ class User:
if 'company' in res['fields']:
selection = convert2selection(res['fields'], 'company')
selection.append((None, ''))
user = cls(Transaction().user)
if user.main_company:
companies = Company.search([