flectra/addons/stock/wizard/stock_scheduler_compute_views.xml
2018-01-16 02:34:37 -08:00

32 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<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>
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"/>
</flectra>