| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
|
| 4 |
<record model="ir.ui.view" id="l10n_in.product_template_hsn_code"> |
| 5 |
<field name="name">l10n_in.product.template.form.hsn_code</field> |
| 6 |
<field name="model">product.template</field> |
| 7 |
<field name="inherit_id" ref="product.product_template_form_view"/> |
| 8 |
<field name="arch" type="xml"> |
| 9 |
<xpath expr="//sheet" position="before"> |
| 10 |
<div class="alert alert-warning" role="alert" invisible="'IN' not in fiscal_country_codes or not l10n_in_hsn_warning"> |
| 11 |
<field name="l10n_in_hsn_warning"/> |
| 12 |
</div> |
| 13 |
</xpath> |
| 14 |
<field name="categ_id" position="after"> |
| 15 |
<field name="l10n_in_hsn_code" widget="l10n_in_hsn_autocomplete" invisible="'IN' not in fiscal_country_codes or not l10n_in_is_gst_registered_enabled"/> |
| 16 |
</field> |
| 17 |
</field> |
| 18 |
</record> |
| 19 |
|
| 20 |
</odoo> |