You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.2 KiB
29 lines
1.2 KiB
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<!--View of change subscription-->
|
|
<record id="change_subscription_view_form" model="ir.ui.view">
|
|
<field name="name">change.subscription.view.form</field>
|
|
<field name="model">change.subscription</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Channel">
|
|
<group class="oe_title">
|
|
<field name="vehicle" widget="radio"/>
|
|
</group>
|
|
<footer>
|
|
<button name="action_change_subscription" string="Ok"
|
|
type="object" class="oe_highlight"/>
|
|
<button string="Cancel" class="btn-secondary"
|
|
special="cancel"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<!--Action for the model change.subscription-->
|
|
<record id="change_subscription_action" model="ir.actions.act_window">
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">change.subscription</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="view_id" ref="change_subscription_view_form"/>
|
|
<field name="target">new</field>
|
|
</record>
|
|
</odoo>
|
|
|