resilient-tech / india-compliance

Simple, yet powerful compliance solutions for Indian businesses
https://indiacompliance.app
GNU General Public License v3.0
152 stars 141 forks source link

fix: do not set options for non Autocomplete field (backport #2631) #2633

Closed mergify[bot] closed 2 months ago

mergify[bot] commented 2 months ago

Traceback

Uncaught (in promise) TypeError: field.set_data is not a function
    set_gstin_options address__js:270
    refresh address__js:244
    _handler script_manager.js:30
    runner script_manager.js:109
    trigger script_manager.js:127
    promise callback*frappe.run_serially/< dom.js:276
    run_serially dom.js:274
    trigger script_manager.js:141
    render_form form.js:620
    promise callback*frappe.run_serially/< dom.js:276
    run_serially dom.js:274
    render_form form.js:610
    initialize_new_doc form.js:579
    promise callback*initialize_new_doc form.js:576
    trigger_onload form.js:557
    refresh form.js:441
    render formview.js:107
    fetch_and_render formview.js:91
    callback model.js:332
    callback request.js:86
    200 request.js:134
    call request.js:306
    jQuery 6
    call request.js:280
    call request.js:110
    with_doc model.js:324
    with_doc model.js:314
    fetch_and_render formview.js:80

Error: image


This is an automatic backport of pull request #2631 done by Mergify.

india-compliance-bot commented 2 months ago

:tada: This PR is included in version 14.30.5 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: