[FIX] website_sale_wishlist: correct typo
_sql_constrains does nothing closes odoo/odoo#33437 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
@@ -7,7 +7,7 @@ from odoo.http import request
|
||||
class ProductWishlist(models.Model):
|
||||
_name = 'product.wishlist'
|
||||
_description = 'Product Wishlist'
|
||||
_sql_constrains = [
|
||||
_sql_constraints = [
|
||||
("product_unique_partner_id",
|
||||
"UNIQUE(product_id, partner_id)",
|
||||
"Duplicated wishlisted product for this partner."),
|
||||
|
||||
Reference in New Issue
Block a user