Remove order on price_list from price_list.line
There is no usage of this ordering which has some cost. issue7854 review53471002
This commit is contained in:
1 parent
714e638da1
commit
0300d6c208
1 file changed
-1
@@ -106,7 +106,6 @@ class PriceListLine(sequence_ordered(), ModelSQL, ModelView, MatchMixin):
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(PriceListLine, cls).__setup__()
|
||||
cls._order.insert(1, ('price_list', 'ASC'))
|
||||
cls._error_messages.update({
|
||||
'invalid_formula': ('Invalid formula "%(formula)s" in price '
|
||||
'list line "%(line)s" with exception "%(exception)s".'),
|
||||
|
||||
Reference in new issue
Block a user