From dd5fcceb381eccbc1b08fd7afb08f8e6f15d04be Mon Sep 17 00:00:00 2001 From: "HATEC\\SPVDEV001" Date: Wed, 4 Jan 2023 14:52:24 +0700 Subject: update api wishlish for variant and product --- indoteknik_custom/models/website_user_wishlist.py | 1 + 1 file changed, 1 insertion(+) (limited to 'indoteknik_custom/models') diff --git a/indoteknik_custom/models/website_user_wishlist.py b/indoteknik_custom/models/website_user_wishlist.py index a6ee35d4..0a7bcf69 100644 --- a/indoteknik_custom/models/website_user_wishlist.py +++ b/indoteknik_custom/models/website_user_wishlist.py @@ -7,3 +7,4 @@ class WebsiteUserWishlist(models.Model): user_id = fields.Many2one('res.users', string='User', help="User ID yang terdaftar di table res.users") product_id = fields.Many2one('product.template', string='Product', help="Product yang terdaftar di table product.template") + variant_id = fields.Many2one('product.product', string='Variant', help="Product yang terdaftar di table product.product") -- cgit v1.2.3