summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/sourcing.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sourcing.xml b/indoteknik_custom/views/sourcing.xml
index ac952ae3..48400ff7 100644
--- a/indoteknik_custom/views/sourcing.xml
+++ b/indoteknik_custom/views/sourcing.xml
@@ -102,6 +102,31 @@
<field name="target">new</field>
</record>
+<record id="view_sjo_line_template_wizard_form" model="ir.ui.view">
+ <field name="name">sjo.line.template.wizard.form</field>
+ <field name="model">sourcing.job.order.line.template.wizard</field>
+ <field name="arch" type="xml">
+ <form string="Download Template Excel">
+ <group>
+ <p>
+ Klik tombol di bawah untuk download file template import.
+ </p>
+ <field name="file" filename="filename" widget="binary" readonly="1"/>
+ </group>
+ <footer>
+ <button string="Close" class="btn-secondary" special="cancel"/>
+ </footer>
+ </form>
+ </field>
+</record>
+
+
+<record id="action_sjo_line_template_wizard" model="ir.actions.act_window">
+ <field name="name">Download Template</field>
+ <field name="res_model">sourcing.job.order.line.template.wizard</field>
+ <field name="view_mode">form</field>
+ <field name="target">new</field>
+</record>
<record id="view_wizard_export_sjo_to_so_form" model="ir.ui.view">
<field name="name">wizard.export.sjo.to.so.form</field>
@@ -269,6 +294,8 @@
decoration-success="'🟢' in progress_status"
decoration-danger="'🔴' in progress_status"
decoration-muted="'âš«' in progress_status"/>
+<button name="%(action_sjo_line_template_wizard)d" string="Download Template" type="action" class="btn-secondary"/>
+
</group>
</group>