trial fix sale.cart

develop
Andreas Osim 2022-08-11 17:25:34 +02:00
parent ae800c6594
commit 2937915ac8
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 (PARTITION BY true) AS id,
SELECT so.id AS id,
so.id AS order_id,
so.name AS name,
so.origin AS origin,