I have some questions:
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="product_configurator_configure"
inherit_id="sale.product_configurator_configure">
<xpath expr="//div[@class='js_product main_product']"
position="replace">
some code
<div>
<input type="checkbox" id="check_comment" class="o_website_form_input"> Option development
request</input>
<textarea name="comment" id="comment" class="o_website_form_input" cols="65" rows="4"
placeholder="Add new option"></textarea>
</div>
</xpath>
</template>
How to create a javascript file (its structure) in odoo so that by clicking on the "checkbox" the field <textarea name = "comment" appears. How to connect a file to a template, what structure should it have, and how to set up an event listener?