server-ux/multi_step_wizard/views/multi_step_wizard_views.xml

37 lines
1.3 KiB
XML
Raw Permalink Normal View History

2024-10-01 05:56:39 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<flectra>
<record id="multi_step_wizard_form" model="ir.ui.view">
<field name="name">multi.step.wizard.form</field>
<field name="model">multi.step.wizard.mixin</field>
<field name="arch" type="xml">
<form>
<field name="state" invisible="1" />
<field name="allow_back" invisible="1" />
<footer>
<div name="states_buttons">
<button
name="open_next"
string="Next"
type="object"
class="btn-primary"
invisible="state == 'final'"
/>
<button
name="open_previous"
string="Go Back"
type="object"
class="btn btn-default"
invisible="not allow_back"
/>
<button
string="Cancel"
class="btn btn-default"
special="cancel"
/>
</div>
</footer>
</form>
</field>
</record>
</flectra>