diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-05-30 02:01:49 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-05-30 02:01:49 +0000 |
| commit | 5d1aeb8f94e9fadeaa9eb4357ad76ff6940409e5 (patch) | |
| tree | d92613166197e5049fcc63084077fd40161df1fe /indoteknik_api/models | |
| parent | 1070848a08b116ba21fde65df10a6550b2c87ca6 (diff) | |
| parent | eb6a5e2b0196681678aab64c98ffced9c4941cc5 (diff) | |
Merged in hide_stock_picking_website (pull request #318)
<miqdad> show only bu out in list shipping, and detail transaction website
Diffstat (limited to 'indoteknik_api/models')
| -rw-r--r-- | indoteknik_api/models/sale_order.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_api/models/sale_order.py b/indoteknik_api/models/sale_order.py index 727379c5..baba7c37 100644 --- a/indoteknik_api/models/sale_order.py +++ b/indoteknik_api/models/sale_order.py @@ -29,6 +29,8 @@ class SaleOrder(models.Model): 'pickings': [] } for picking in sale_order.picking_ids: + if not picking.name.startswith('BU/OUT'): + continue data['pickings'].append({ 'id': picking.id, 'name': picking.name, |
