flectra/addons/stock/wizard/stock_scheduler_compute_views.xml

32 lines
1.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<record id="view_procurement_compute_wizard" model="ir.ui.view">
<field name="name">Run Schedulers Manually</field>
<field name="model">stock.scheduler.compute</field>
<field name="arch" type="xml">
<form string="Parameters">
<p>
2018-01-16 11:34:37 +01:00
When you run the schedulers, Flectra tries to reserve the available stock to fulfill the existing pickings
and verify if some reordering rules should be triggered.
</p>
<footer>
<button name="procure_calculation" string="Run Schedulers" type="object" class="btn-primary"/>
<button string="Cancel" class="btn-default" special="cancel" />
</footer>
</form>
</field>
</record>
<record id="action_procurement_compute" model="ir.actions.act_window">
<field name="name">Run Scheduler</field>
<field name="res_model">stock.scheduler.compute</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<menuitem action="action_procurement_compute" id="menu_procurement_compute" parent="menu_stock_warehouse_mgmt" sequence="135"/>
2018-01-16 11:34:37 +01:00
</flectra>