1
<?xml version="1.0" encoding="utf-8"?>
5
<record id="form_view_replenish_recreate_wizard" model="ir.ui.view">
6
<field name="name">Replenish</field>
7
<field name="model">replenish.wizard</field>
8
<field name="type">form</field>
9
<field name="arch" type="xml">
10
<form string="Replenish Wizard">
11
<label string="This process will delete and recreate all the replenish records."/><newline/><label string="Do you want to proceed?"/><newline/>
12
<button name="make_replenish_model" type="object" string="Proceed" />
13
<button icon='gtk-cancel' special="cancel" string="Cancel" />
17
<record id="form_view_replenish_recreate_product_wizard" model="ir.ui.view">
18
<field name="name">Replenish</field>
19
<field name="model">replenish.wizard</field>
20
<field name="type">form</field>
21
<field name="arch" type="xml">
22
<form string="Replenish Wizard">
23
<label string="This process will delete and recreate all the replenish records for this product."/><newline/><label string="Do you want to proceed?"/><newline/>
24
<button name="make_replenish_model" type="object" string="Proceed" />
25
<button icon='gtk-cancel' special="cancel" string="Cancel" />
30
<record id="form_view_remove_location_wizard" model="ir.ui.view">
31
<field name="name">Remove Empty Locations</field>
32
<field name="model">replenish.wizard</field>
33
<field name="type">form</field>
34
<field name="arch" type="xml">
35
<form string="Remove Empty Locations">
36
<label string="This process will remove the locations with Zero Stocks."/><newline/>
37
<button name="remove_locations" type="object" string="Remove" />
38
<button icon='gtk-cancel' special="cancel" string="Cancel" />
44
<act_window name="Update Replenish"
45
res_model="replenish.wizard"
46
src_model="product.product"
48
view_id="form_view_replenish_recreate_wizard"
51
id="action_replinish_recreate"/>
53
<act_window name="Update Replenish"
54
res_model="replenish.wizard"
55
src_model="product.product"
57
view_id="form_view_replenish_recreate_product_wizard"
59
key2="client_action_multi"
60
id="action_replinish_product_recreate"/>
62
<act_window name="Remove Empty Locations"
63
res_model="replenish.wizard"
64
src_model="product.product"
66
view_id="form_view_remove_location_wizard"
69
id="action_remove_locations"/>
71
<menuitem id="menu_replinish_recreate" parent="stock.next_id_61" sequence="80"
72
name="Update Replenish" action="action_replinish_recreate"/>
74
<menuitem id="menu_remove_locations" parent="stock.next_id_61" sequence="81"
75
name="Remove Empty Locations" action="action_remove_locations"/>