summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_pricelist.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-09-07 13:25:19 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-09-07 13:25:19 +0700
commitfa4f4e6f06ee77a2c448293c806d0f34e643f394 (patch)
tree2280b676e3bdb388c1ceaa4420227e4d688ecc06 /indoteknik_custom/models/purchase_pricelist.py
parente07379886024a313695a56ebdd072bfd87b6626a (diff)
add product to solr from stock picking after validate
Diffstat (limited to 'indoteknik_custom/models/purchase_pricelist.py')
-rwxr-xr-xindoteknik_custom/models/purchase_pricelist.py2
1 files changed, 1 insertions, 1 deletions
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 = [