summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_pricelist.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/purchase_pricelist.py')
-rwxr-xr-xindoteknik_custom/models/purchase_pricelist.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/indoteknik_custom/models/purchase_pricelist.py b/indoteknik_custom/models/purchase_pricelist.py
index 5d077e04..86a5544d 100755
--- a/indoteknik_custom/models/purchase_pricelist.py
+++ b/indoteknik_custom/models/purchase_pricelist.py
@@ -42,11 +42,6 @@ class PurchasePricelist(models.Model):
existing_purchase = self.search(domain, limit=1)
if existing_purchase:
raise UserError(massage)
- else:
- domain = [
- ('id', '=', price.id)
- ]
- massage="Tidak Dapat Merubah Product"
existing_purchase = self.search(domain, limit=1)
if existing_purchase:
raise UserError(massage) \ No newline at end of file