forked from akretion/stock-logistics-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
picking_priority_view.xml
61 lines (57 loc) · 2.25 KB
/
picking_priority_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="stock_picking_form">
<field name="name">stock.picking.form priority</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<field name="date_done" position="after">
<field name="priority"/>
</field>
</field>
</record>
<record model="ir.ui.view" id="stock_picking_out_form">
<field name="name">stock.picking.out.form priority</field>
<field name="model">stock.picking.out</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<field name="date_done" position="after">
<field name="priority"/>
</field>
</field>
</record>
<act_window id="action_retry_assign"
name="Recompute Picking Availability"
res_model="stock.picking.retry.availability"
view_type="form"
view_mode="form"
target="new"
/>
<menuitem id="menu_retry_availability"
parent="procurement.menu_stock_sched"
sequence="40"
action="action_retry_assign"
groups="stock.group_stock_user,stock.group_stock_manager"
/>
<record model="ir.ui.view" id="picking_retry_availability_form">
<field name="name">stock.picking.retry.availability form</field>
<field name="model">stock.picking.retry.availability</field>
<field name="arch" type="xml">
<form string="Recompute Picking Availability" version="7.0">
<group>
<p class="oe_grey">
This action will recompute the availability of the pickings based on their priority. Before running it, make sure that you have changed the priority of at least one picking.
</p>
</group>
<footer>
<button name="action_retry_assign" string="Recompute Availability" type="object"
class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>
</data>
</openerp>