diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-06 15:18:47 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-06 15:18:47 +0700 |
| commit | 2a7a5feac007f8b8e3c4a02754bd163c833fdc28 (patch) | |
| tree | d058f1df7c98062dfea6ed29d5272f87b359ed42 /indoteknik_custom/models/automatic_purchase.py | |
| parent | aad9e13e0a1908dc8d14d86dfc67bdf9f8e006e7 (diff) | |
| parent | ee9706c1f34c88ca2cfc32dbe7a90c38731166b1 (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into cr_delivery_sj
merge
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..ce0328c4 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 == 5571 else True, } new_po = self.env['purchase.order'].create(param_header) |
