diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-08-04 09:02:28 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-08-04 09:02:28 +0700 |
| commit | 4aa9ca7105297079d109e20c793769476af91d02 (patch) | |
| tree | 73f7067c6b868a73fb940db4cb38725d9fcd6953 /indoteknik_custom/models/stock_picking.py | |
| parent | 145d15ceaf462f0b3533c441287a66410b7d12e6 (diff) | |
| parent | 71c0324d483419d3b91078cf6efc2263f279362a (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into reminder-tempo-v2
Diffstat (limited to 'indoteknik_custom/models/stock_picking.py')
| -rw-r--r-- | indoteknik_custom/models/stock_picking.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index 825368de..f2f5f52a 100644 --- a/indoteknik_custom/models/stock_picking.py +++ b/indoteknik_custom/models/stock_picking.py @@ -810,6 +810,7 @@ class StockPicking(models.Model): self.biteship_tracking_id = data.get("courier", {}).get("tracking_id", "") self.biteship_waybill_id = data.get("courier", {}).get("waybill_id", "") self.delivery_tracking_no = self.biteship_waybill_id + self.biteship_shipping_price = data.get("price", 0.0) waybill_id = self.biteship_waybill_id @@ -1386,9 +1387,9 @@ class StockPicking(models.Model): self.automatic_reserve_product() if self.tukar_guling_id: - self.tukar_guling_id.update_state() + self.tukar_guling_id.update_doc_state() elif self.tukar_guling_po_id: - self.tukar_guling_po_id.update_state() + self.tukar_guling_po_id.update_doc_state() return res |
