summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_pricelist.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-09-05 14:45:18 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-09-05 14:45:18 +0700
commit513bce9e13dee0453ce24b41a54d3b408e58c7f0 (patch)
tree21426e7af98ad3fcb34101e42ce0979d4472958a /indoteknik_custom/models/purchase_pricelist.py
parenta1137c5bb22734eff9585b7b95607983f23d2de9 (diff)
Fix bug solr product variants, add analytic tags to jurnal entries line, remove validation edit di purchase pricelist
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