summaryrefslogtreecommitdiff
path: root/fixco_custom/views/stock_picking_shipment_group.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-06-09 16:23:51 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-06-09 16:23:51 +0700
commit8d482347f6dff03919db3f0a92ba1f3c5eb74ffe (patch)
tree35323f6be9a29ba41a6af7e0b2f231e2cbed5f0e /fixco_custom/views/stock_picking_shipment_group.xml
parentef860cf6815dceb0a806a08b2118390830ccdae0 (diff)
shipment group
Diffstat (limited to 'fixco_custom/views/stock_picking_shipment_group.xml')
-rw-r--r--fixco_custom/views/stock_picking_shipment_group.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/fixco_custom/views/stock_picking_shipment_group.xml b/fixco_custom/views/stock_picking_shipment_group.xml
new file mode 100644
index 0000000..68e0187
--- /dev/null
+++ b/fixco_custom/views/stock_picking_shipment_group.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<odoo>
+ <data>
+ <record id="view_stock_picking_shipment_group_form" model="ir.ui.view">
+ <field name="name">Stock Picking Shipment Group</field>
+ <field name="model">stock.picking.shipment_group</field>
+ <field name="arch" type="xml">
+ <form string="Create Shipment Group">
+ <sheet>
+ <div class="oe_title">
+ <h2>Create Shipment Group for Selected Stock Picking</h2>
+ </div>
+ <div class="alert alert-info">
+ <p>This will create Shipment Group for all selected Stock Picking.</p>
+ </div>
+ </sheet>
+ <footer>
+ <button name="create_shipment_group" string="Create Shipment Group" type="object"
+ class="btn-primary" default_focus="1"/>
+ <button string="Cancel" class="btn-secondary" special="cancel"/>
+ </footer>
+ </form>
+ </field>
+ </record>
+
+ <record id="action_stock_picking_shipment_group" model="ir.actions.act_window">
+ <field name="name">Create Shipment Group</field>
+ <field name="res_model">stock.picking.shipment_group</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="view_mode">form</field>
+ <field name="view_id" ref="view_stock_picking_shipment_group_form"/>
+ <field name="target">new</field>
+ </record>
+ </data>
+</odoo> \ No newline at end of file