summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-05-22 14:00:28 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-05-22 14:00:28 +0700
commitcbf9eff4c2f934491b3a1adbf56255c14c4852ea (patch)
tree432eef49d0305f5792e87cd187750204524c953a /indoteknik_custom/models
parent1047274c07dc302e9c6b3079e6ba7cc9349a9bd0 (diff)
push
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/sale_advance_payment_inv.py1
-rw-r--r--indoteknik_custom/models/stock_picking.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_advance_payment_inv.py b/indoteknik_custom/models/sale_advance_payment_inv.py
index bea9a900..48b753cc 100644
--- a/indoteknik_custom/models/sale_advance_payment_inv.py
+++ b/indoteknik_custom/models/sale_advance_payment_inv.py
@@ -197,6 +197,7 @@ class SaleAdvancePaymentInv(models.TransientModel):
# if final:
# moves.sudo().filtered(lambda m: m.amount_total < 0).action_switch_invoice_into_refund_credit_note()
# for move in moves:
+
# move.message_post_with_view('mail.message_origin_link',
# values={'self': move, 'origin': move.line_ids.mapped('sale_line_ids.order_id')},
# subtype_id=self.env.ref('mail.mt_note').id
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 87255ab6..3135f41c 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -288,7 +288,7 @@ class StockPicking(models.Model):
self.ensure_one()
if not self.name or not self.origin:
return False
- return f"{self.name} {self.origin}"
+ return f"{self.name}, {self.origin}"
def _download_pod_photo(self, url):
"""Mengunduh foto POD dari URL"""