summaryrefslogtreecommitdiff
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
parent1047274c07dc302e9c6b3079e6ba7cc9349a9bd0 (diff)
push
-rw-r--r--indoteknik_custom/models/sale_advance_payment_inv.py1
-rw-r--r--indoteknik_custom/models/stock_picking.py2
-rw-r--r--indoteknik_custom/views/user_pengajuan_tempo_request.xml2
3 files changed, 3 insertions, 2 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"""
diff --git a/indoteknik_custom/views/user_pengajuan_tempo_request.xml b/indoteknik_custom/views/user_pengajuan_tempo_request.xml
index 339ce8db..898d5b2a 100644
--- a/indoteknik_custom/views/user_pengajuan_tempo_request.xml
+++ b/indoteknik_custom/views/user_pengajuan_tempo_request.xml
@@ -426,7 +426,7 @@
<menuitem
id="menu_user_pengajuan_tempo_request"
name="User Pengajuan Tempo Request"
- parent="res_partner_menu_user"
+ parent="account.menu_finance_receivables"
sequence="3"
action="action_user_pengajuan_tempo_request"
/>