summaryrefslogtreecommitdiff
path: root/addons/stock_picking_batch/data/stock_picking_batch_demo.xml
diff options
context:
space:
mode:
authorRémy Voet (ryv) <ryv@odoo.com>2020-07-29 14:19:26 +0000
committerRémy Voet (ryv) <ryv@odoo.com>2020-08-18 07:48:27 +0000
commite40553723b893bcd2244e9b9fcc5c1a7e1bf27d3 (patch)
tree24eae5579cb91e9554226c7f56dd2afd3830e1c4 /addons/stock_picking_batch/data/stock_picking_batch_demo.xml
parentbb9ef004524e21c642abdff16aa6caa9abbb37ba (diff)
[IMP] stock,mrp,purchase: refactor priority
- MO/picking/PO/stock.move have now the "same" `priority` fields (Boolean logic: Normal or Urgent). These models are now sort by priority first. Note that the priority field of stock move is a technical one. - For MO and picking, the set of `priority` field change priority of the related stock move. The prioriry field on stock move is used by the scheduler for reservation ('Urgent' before 'Normal') - The Stock Replenishment Report also take in account the priority to be consistent with the reservation. task-2246665
Diffstat (limited to 'addons/stock_picking_batch/data/stock_picking_batch_demo.xml')
-rw-r--r--addons/stock_picking_batch/data/stock_picking_batch_demo.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/stock_picking_batch/data/stock_picking_batch_demo.xml b/addons/stock_picking_batch/data/stock_picking_batch_demo.xml
index fe2d8bfe191..f465feb5a00 100644
--- a/addons/stock_picking_batch/data/stock_picking_batch_demo.xml
+++ b/addons/stock_picking_batch/data/stock_picking_batch_demo.xml
@@ -53,7 +53,7 @@
<!-- Add picking -->
<record id="Picking_A" model="stock.picking">
<field name="move_type">one</field>
- <field name="priority">2</field>
+ <field name="priority">1</field>
<field name="user_id" eval="False"/>
<field name="picking_type_id" ref="stock.picking_type_internal"/>
<field name="batch_id" ref="stock_picking_batch_freeze_1"/>
@@ -63,7 +63,7 @@
</record>
<record id="Picking_B" model="stock.picking">
<field name="move_type">one</field>
- <field name="priority">1</field>
+ <field name="priority">0</field>
<field name="user_id" eval="False"/>
<field name="picking_type_id" ref="stock.picking_type_internal"/>
<field name="batch_id" ref="stock_picking_batch_freeze_1"/>
@@ -73,7 +73,7 @@
</record>
<record id="Picking_C" model="stock.picking">
<field name="move_type">one</field>
- <field name="priority">1</field>
+ <field name="priority">0</field>
<field name="user_id" eval="False"/>
<field name="picking_type_id" ref="stock.picking_type_internal"/>
<field name="batch_id" ref="stock_picking_batch_dry_1"/>