shopping_cart fix

develop
Andreas Osim 2022-08-10 16:56:54 +02:00
parent 21b0f6253d
commit 3cc9ffc688
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class SaleCart(models.Model):
# print("connected")
drop_view_if_exists(self._cr, 'sale_cart')
self._cr.execute("""CREATE OR REPLACE VIEW sale_cart AS
SELECT DISTINCT row_number() OVER () AS id,
SELECT DISTINCT row_number() OVER (PARTITION BY true) AS id,
so.id AS order_id,
so.name AS name,
so.origin AS origin,