Files
enterprise-addons/sale_subscription_stock/views/product_template_views.xml
T

26 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="product_template_form_view" model="ir.ui.view">
<field name="name">product.template.form.view.inherit.sale</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_form_view"/>
<field name="arch" type="xml">
<field name="product_tooltip" position="after">
<label for="product_tooltip" string=""
invisible="not recurring_invoice or type == 'combo'"/>
<div class="fst-italic text-muted" invisible="not recurring_invoice or type == 'combo'">
<div invisible="invoice_policy != 'delivery'">
Recurring order with this product will be invoiced at the end of the period.
</div>
<div invisible="invoice_policy != 'order'">
Recurring order with this product will be invoiced at the beginning of the period.
</div>
</div>
</field>
</field>
</record>
</odoo>