summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-11-06 15:12:45 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-11-06 15:12:45 +0700
commitee9706c1f34c88ca2cfc32dbe7a90c38731166b1 (patch)
treec6fc0b00eb0a24039dd67aabe971fce9bfcb33e6
parent449a3f3a3acaeb0b950f57daee1067d70d483d90 (diff)
<Miqdad> show desc false altama
-rw-r--r--indoteknik_custom/models/automatic_purchase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/automatic_purchase.py b/indoteknik_custom/models/automatic_purchase.py
index 012d680a..ce0328c4 100644
--- a/indoteknik_custom/models/automatic_purchase.py
+++ b/indoteknik_custom/models/automatic_purchase.py
@@ -240,7 +240,7 @@ class AutomaticPurchase(models.Model):
'date_order': current_time,
'from_apo': True,
'note_description': 'Automatic PO',
- 'show_description': False if vendor_id.id == 5571 else True,
+ 'show_description': False if vendor_id == 5571 else True,
}
new_po = self.env['purchase.order'].create(param_header)