summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/ir_sequence.xml2
-rw-r--r--indoteknik_custom/views/tukar_guling_po.xml9
2 files changed, 8 insertions, 3 deletions
diff --git a/indoteknik_custom/views/ir_sequence.xml b/indoteknik_custom/views/ir_sequence.xml
index 03cfbc1a..257f0d27 100644
--- a/indoteknik_custom/views/ir_sequence.xml
+++ b/indoteknik_custom/views/ir_sequence.xml
@@ -204,7 +204,7 @@
<field name="name">Pengajuan Return SO</field>
<field name="code">tukar.guling</field>
<field name="active">TRUE</field>
- <field name="prefix">CCM/%(year)s/</field>
+ <field name="prefix">CCM/%(year)s/%(month)s/</field>
<field name="padding">5</field>
<field name="number_next">1</field>
<field name="number_increment">1</field>
diff --git a/indoteknik_custom/views/tukar_guling_po.xml b/indoteknik_custom/views/tukar_guling_po.xml
index 0e29e965..266f4eea 100644
--- a/indoteknik_custom/views/tukar_guling_po.xml
+++ b/indoteknik_custom/views/tukar_guling_po.xml
@@ -28,7 +28,7 @@
<field name="ba_num" string="Nomor BA"/>
<field name="return_type" string="Return Type"/>
<field name="state" widget="badge"
- decoration-info="state in ('draft', 'approval_purchase', 'approval_logistic','approval_finance')"
+ decoration-info="state in ('draft', 'approval_purchase', 'approval_finance','approval_logistic')"
decoration-success="state == 'done'"
decoration-muted="state == 'cancel'"
/>
@@ -47,7 +47,7 @@
attrs="{'invisible': [('state', '!=', 'draft')]}"/>
<button name="action_approve" string="Approve" type="object"
class="btn-primary"
- attrs="{'invisible': [('state', 'not in', ['approval_purchase', 'approval_logistic', 'approval_finance'])]}"/>
+ attrs="{'invisible': [('state', 'not in', ['approval_purchase', 'approval_finance', 'approval_logistic'])]}"/>
<button name="action_cancel" string="Cancel" type="object"
class="btn-secondary"
attrs="{'invisible': [('state', '=', 'cancel')]}"
@@ -76,6 +76,7 @@
</div>
<group>
<group>
+ <field name="vendor_id" readonly="1"/>
<field name="date" string="Date" readonly="1"/>
<field name="return_type"/>
<!-- <field name="ort_num" readonly="1"/>-->
@@ -109,6 +110,10 @@
</page>
</notebook>
</sheet>
+ <div class="oe_chatter">
+ <field name="message_follower_ids" widget="mail_followers"/>
+ <field name="message_ids" widget="mail_thread"/>
+ </div>
</form>
</field>
</record>