web_export_view_good/static/src/js/web_export_view_good.js
Function button_export_action
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function button_export_action () {
var self = this;
var view = self;
var export_columns_keys = [];
var export_columns_names = [];
Function compute_main_data
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function compute_main_data(rows,export_columns_keys){
var export_rows = []
$.each(rows, function () {
var $row = $(this);
Function compute_footer_data
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function compute_footer_data(amount,export_columns_keys) {
var export_rows = []
var footer = 0;
$.each(amount, function () {
var $row = $(this);