summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirti Choudhary <kic@odoo.com>2018-06-05 18:41:54 +0530
committerPierre Masereel <pim@odoo.com>2018-08-24 13:07:06 +0200
commit2aa36dd6a200b366bcf0d25534af66d08ab7e35a (patch)
tree680ec57498ad9fd0024c2b6405377b20e12a8db4
parent6f6e262e7f24be55ac9d6d2ed5eb2bdd0302541f (diff)
[IMP] stock: reordering rule hint to run scheduler
Add a warning on the reordering rule to inform the user he may have to run the scheduler manually. TASK-ID: 1850406
-rw-r--r--addons/stock/views/stock_warehouse_views.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/stock/views/stock_warehouse_views.xml b/addons/stock/views/stock_warehouse_views.xml
index 0dd86df8cba..388411e285b 100644
--- a/addons/stock/views/stock_warehouse_views.xml
+++ b/addons/stock/views/stock_warehouse_views.xml
@@ -205,6 +205,11 @@
</button>
</div>
<group>
+ <div class="alert alert-info" role="alert">
+ <a style="cursor: pointer" class="alert-link o_form_uri" type="action" name="%(action_procurement_compute)d">Run the scheduler</a> manually to trigger the reordering rules right now.
+ </div>
+ </group>
+ <group>
<group>
<field name="name" />
<field name="product_id"/>