summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/automatic_purchase.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/automatic_purchase.py b/indoteknik_custom/models/automatic_purchase.py
index d9ec17f4..012d680a 100644
--- a/indoteknik_custom/models/automatic_purchase.py
+++ b/indoteknik_custom/models/automatic_purchase.py
@@ -239,7 +239,8 @@ class AutomaticPurchase(models.Model):
'picking_type_id': 28,
'date_order': current_time,
'from_apo': True,
- 'note_description': 'Automatic PO'
+ 'note_description': 'Automatic PO',
+ 'show_description': False if vendor_id.id == 5571 else True,
}
new_po = self.env['purchase.order'].create(param_header)