diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-06 15:04:05 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-06 15:04:05 +0700 |
| commit | dd51ce73e27cd7639b512a219e7bc68bb467b4d3 (patch) | |
| tree | 5239f6585a56fe283b58d2b7e144022b0e967ac3 /indoteknik_custom/models/automatic_purchase.py | |
| parent | af30e94cff35eec4b71cb89fbe7a9a4f654480cb (diff) | |
<Miqdad> show desc false altama
Diffstat (limited to 'indoteknik_custom/models/automatic_purchase.py')
| -rw-r--r-- | indoteknik_custom/models/automatic_purchase.py | 3 |
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) |
