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.
19 lines
832 B
19 lines
832 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!--For adding button Subscription ID Card in subscription sale order-->
|
|
<record id="sale_subscription_primary_form_view" model="ir.ui.view">
|
|
<field name="name">sale.order.view.form.inherit.print.subscription.id.card</field>
|
|
<field name="model">sale.order</field>
|
|
<field name="inherit_id"
|
|
ref="sale_subscription.sale_subscription_primary_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//header/button[@name='action_confirm']"
|
|
position="after">
|
|
<button type="object" name="action_subscription_id_card"
|
|
string="Subscription ID Card"
|
|
invisible="state not in 'sale'"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|
|
|