21 lines
890 B
XML
21 lines
890 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record model="ir.ui.view" id="l10n_in.product_template_hsn_code">
|
|
<field name="name">l10n_in.product.template.form.hsn_code</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="product.product_template_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//sheet" position="before">
|
|
<div class="alert alert-warning" role="alert" invisible="'IN' not in fiscal_country_codes or not l10n_in_hsn_warning">
|
|
<field name="l10n_in_hsn_warning"/>
|
|
</div>
|
|
</xpath>
|
|
<field name="categ_id" position="after">
|
|
<field name="l10n_in_hsn_code" widget="l10n_in_hsn_autocomplete" invisible="'IN' not in fiscal_country_codes"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|