From fa4f4e6f06ee77a2c448293c806d0f34e643f394 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Thu, 7 Sep 2023 13:25:19 +0700 Subject: add product to solr from stock picking after validate --- indoteknik_custom/models/purchase_pricelist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indoteknik_custom/models/purchase_pricelist.py') diff --git a/indoteknik_custom/models/purchase_pricelist.py b/indoteknik_custom/models/purchase_pricelist.py index 6a8a4650..3607defe 100755 --- a/indoteknik_custom/models/purchase_pricelist.py +++ b/indoteknik_custom/models/purchase_pricelist.py @@ -28,7 +28,7 @@ class PurchasePricelist(models.Model): else: self.human_last_update = current_time - @api.constrains('vendor_id', 'product_id','human_last_update','write_date') + @api.constrains('vendor_id', 'product_id') def _check_duplicate_purchase_pricelist(self): for price in self: domain = [ -- cgit v1.2.3