Skip to content

At the initialisation of dialog init_dialog. Two API calls for get_import_history are being made for the same arguments. #4137

Description

@ljain112

At the initialisation of dialog init_dialog. Two API calls for get_import_history are being made for the same arguments.

Reason: One by one company_gstin, return_type, date_range, period are being set in sequence. When the fields till date_range are set, the condition results in false and it makes API call. After that period is being set so onchange of period results in calling the same API.

Originally posted by @karm1000 in #4131 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions