summaryrefslogtreecommitdiff
path: root/fixco_custom/views/stock_picking_shipment_group.xml
diff options
context:
space:
mode:
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