[FIX] website_sale: don't sort on name, keep the default order (sequence)

This commit is contained in:
Jeremy Kersten
2016-09-21 21:29:18 +02:00
parent bfe439bfd4
commit 115c38e35f
+1 -1
View File
@@ -222,7 +222,7 @@ class Website(models.Model):
pricelists |= partner.property_product_pricelist
# This method is cached, must not return records! See also #8795
return pricelists.sorted(lambda pl: pl.name).ids
return pricelists.ids
def _get_pl(self, country_code, show_visible, website_pl, current_pl, all_pl):
pl_ids = self._get_pl_partner_order(country_code, show_visible, website_pl, current_pl, all_pl)