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.
15 lines
804 B
15 lines
804 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- New field subscription interval for subscription product in sale order line -->
|
|
<record id="view_order_form" model="ir.ui.view">
|
|
<field name="name">sale.order.form.view.inherit.website.subscription.management</field>
|
|
<field name="model">sale.order</field>
|
|
<field name="inherit_id" ref="sale.view_order_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="/form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='name']" position="after">
|
|
<field name="is_product_subscription" invisible="1"/>
|
|
<field name="subscription_interval_id" attrs="{'invisible':[('is_product_subscription','=',False)]}"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|