summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/tukar_guling_po.py2
-rw-r--r--indoteknik_custom/views/ir_sequence.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/tukar_guling_po.py b/indoteknik_custom/models/tukar_guling_po.py
index f885017c..2e0ab604 100644
--- a/indoteknik_custom/models/tukar_guling_po.py
+++ b/indoteknik_custom/models/tukar_guling_po.py
@@ -55,7 +55,7 @@ class TukarGulingPO(models.Model):
vals['name'] = sequence.next_by_id()
else:
# Fallback jika sequence belum dibuat
- vals['name'] = self.env['ir.sequence'].next_by_code('tukar.guling.po') or 'embo=='
+ vals['name'] = self.env['ir.sequence'].next_by_code('tukar.guling.po') or 'new'
# Auto-fill origin from operations
if not vals.get('origin') and vals.get('operations'):
diff --git a/indoteknik_custom/views/ir_sequence.xml b/indoteknik_custom/views/ir_sequence.xml
index b02e927a..8ae532cc 100644
--- a/indoteknik_custom/views/ir_sequence.xml
+++ b/indoteknik_custom/views/ir_sequence.xml
@@ -201,7 +201,7 @@
<record id="seq_tukar_guling_po" model="ir.sequence">
<field name="name">Pengajuan Return PO</field>
<field name="code">tukar.guling.po</field>
- <field name="prefix">VCM</field>
+ <field name="prefix">VCM/</field>
<field name="padding">5</field>
<field name="number_next">1</field>
<field name="number_increment">1</field>