diff --git a/commission.py b/commission.py index 45a8798eee..bcde012fac 100644 --- a/commission.py +++ b/commission.py @@ -182,6 +182,7 @@ class AgentSelection(sequence_ordered(), MatchMixin, ModelSQL, ModelView): @classmethod def __setup__(cls): super().__setup__() + cls.__access__.add('agent') cls._order.insert(0, ('party', 'ASC NULLS LAST')) cls._order.insert(1, ('employee', 'ASC NULLS LAST')) diff --git a/commission.xml b/commission.xml index 8254cbfc6a..f0f6615f59 100644 --- a/commission.xml +++ b/commission.xml @@ -152,35 +152,6 @@ this repository contains the full copyright notices and license terms. --> - - User in companies - - - - - - - - - - - - - - - - - - - - - - - - commission.plan form