{"size": 602, "ext": "js", "max_stars_repo_path": "odoo-13.0/addons/account_bank_statement_import/static/src/js/account_bank_statement_import.js", "max_stars_repo_name": "VaibhavBhujade/Blockchain-ERP-interoperability", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "odoo-13.0/addons/account_bank_statement_import/static/src/js/account_bank_statement_import.js", "max_issues_repo_name": "VaibhavBhujade/Blockchain-ERP-interoperability", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "odoo-13.0/addons/account_bank_statement_import/static/src/js/account_bank_statement_import.js", "max_forks_repo_name": "VaibhavBhujade/Blockchain-ERP-interoperability", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.1, "max_line_length": 174, "alphanum_fraction": 0.6445182724}
odoo.define('account_bank_statement_import.import', function (require) {
"use strict";

var core = require('web.core');
var BaseImport = require('base_import.import');

var _t = core._t;

BaseImport.DataImport.include({
    renderImportLink: function() {
        this._super();
        if (this.res_model == 'account.bank.statement') {
            this.$(".import-link").prop({"text": _t(" Import Template for Bank Statements"), "href": "/account_bank_statement_import/static/csv/account.bank.statement.csv"});
            this.$(".template-import").removeClass('d-none');
        }
    },   
});

});
