summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-10-31 09:03:21 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-10-31 09:03:21 +0700
commit9b86d64f64e149d26b5e33254fefd5dfc15ce1c4 (patch)
tree778382695edc83ab25c43c11ea58c6362e491990 /indoteknik_custom/views
parent9206adc3ce8f5011b4b2e42c25a310419c1947d5 (diff)
approval retur picking
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/approval_retur_picking.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/indoteknik_custom/views/approval_retur_picking.xml b/indoteknik_custom/views/approval_retur_picking.xml
new file mode 100644
index 00000000..ebe038d1
--- /dev/null
+++ b/indoteknik_custom/views/approval_retur_picking.xml
@@ -0,0 +1,27 @@
+<odoo>
+ <!-- Form View for Stock Return Note Wizard -->
+ <record id="view_stock_return_note_form" model="ir.ui.view">
+ <field name="name">approval.retur.picking.form</field>
+ <field name="model">approval.retur.picking</field>
+ <field name="arch" type="xml">
+ <form string="Add Return Note">
+ <group>
+ <field name="note_return" placeholder="Enter return note here..." />
+ </group>
+ <footer>
+ <button name="action_confirm_note_return" string="Confirm" type="object" class="btn-primary"/>
+ <button string="Cancel" class="btn-secondary" special="cancel"/>
+ </footer>
+ </form>
+ </field>
+ </record>
+
+ <!-- Action to Open the Wizard -->
+ <record id="action_stock_return_note_wizard" model="ir.actions.act_window">
+ <field name="name">Add Return Note</field>
+ <field name="res_model">approval.retur.picking</field>
+ <field name="view_mode">form</field>
+ <field name="view_id" ref="view_stock_return_note_form"/>
+ <field name="target">new</field>
+ </record>
+</odoo>