33 lines
1.2 KiB
XML
33 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
|
|
<!-- Run Schedulers -->
|
|
|
|
<record id="view_compute_schedulers_wizard" model="ir.ui.view">
|
|
<field name="name">Run Schedulers</field>
|
|
<field name="model">procurement.order.compute.all</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Scheduler Parameters">
|
|
<p>
|
|
Compute all procurements in the background.
|
|
</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_compute_schedulers" model="ir.actions.act_window">
|
|
<field name="name">Run Schedulers</field>
|
|
<field name="res_model">procurement.order.compute.all</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|