Reviewers: ,
Please review this at http://codereview.tryton.org/704002/
Affected files:
M trytond/model/modelsql.py
Index: trytond/model/modelsql.py
===================================================================
--- a/trytond/model/modelsql.py
+++ b/trytond/model/modelsql.py
@@ -2025,7 +2025,8 @@
if (field_name in cls._fields
and cls._fields[field_name]._type == 'selection'
- and cls._fields[field_name].order_field is None):
+ and cls._fields[field_name].order_field is None
+ and Transaction().user):
selections = cls.fields_get([field_name]
)[field_name]['selection']
if not isinstance(selections, (tuple, list)):
--
--
[email protected] mailing list
---
You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.