summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/approval_retur_picking.xml
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-11-28 10:43:58 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-11-28 10:43:58 +0700
commitb1af79a0ed73a7af2557c8269d82bbc99afaa601 (patch)
tree6bf2ef8aec570bcb05b59a504ebeece215383845 /indoteknik_custom/views/approval_retur_picking.xml
parent56f2deda9cdf2a51d5a53aade7758a0ac9313e05 (diff)
parent58bec36c52b223c12fd15511a56ab417ebbd7257 (diff)
Merge branch 'production' into iman/switch-account
# Conflicts: # indoteknik_api/models/res_users.py
Diffstat (limited to 'indoteknik_custom/views/approval_retur_picking.xml')
-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..5ce28e20
--- /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>
+ <span>Ask Approval Retur?</span>
+ </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>