Hello Community
For the creation of a new quote in the sales module, I would like to automatically fill in the product and unit label fields (in blue) as soon as I select the product (in red).
Thanks
Dear Pope Musa,
You can add an action-attrs at product onChange.
in product filed write onChange=« auto-fill-data-function »
<action-attrs name="auto-fill-data-function">
<attribute name="value" expr="eval:''Coputer" for="labelProduct"/>
<attribute name="value" expr="eval:'kg'" for="unit"/>
for=« field name you use in in the form »
expr="eval:’'The Value you want to add on select "
1 « J'aime »
Thank You
Regards
There is an easier way, when you fill in the tax data in the product, these fields start to be filled in automatically