Skip to content

Commit

Permalink
Arreglo escritura nombre proveedor para Supplier Quotation
Browse files Browse the repository at this point in the history
  • Loading branch information
monroy95 committed Jan 14, 2019
1 parent d97774a commit fa50646
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 1 addition & 5 deletions factura_electronica/public/js/facelec.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -2179,11 +2179,7 @@ frappe.ui.form.on("Supplier Quotation", {
cur_frm.refresh_field("conversion_factor");
});

cur_frm.fields_dict.supplier.$input.on("keyup", function (evt) {
shs_supplier_quotation_calculation(frm, cdt, cdn);
supplier_quotation_each_item(frm, cdt, cdn);
refresh_field('qty');
});
cur_frm.fields_dict.supplier.$input.on("keyup", function (evt) {});

cur_frm.fields_dict.supplier.$input.on("mouseleave blur focusout", function (evt) {
shs_supplier_quotation_calculation(frm, cdt, cdn);
Expand Down
6 changes: 3 additions & 3 deletions factura_electronica/public/js/supplier_quotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ frappe.ui.form.on("Supplier Quotation", {
// es-GT: Habilitando escuchadores de eventos en el tipo de documento principal
// When ANY key is released after being pressed
cur_frm.fields_dict.supplier.$input.on("keyup", function (evt) {
shs_supplier_quotation_calculation(frm, cdt, cdn);
supplier_quotation_each_item(frm, cdt, cdn);
refresh_field('qty');
// shs_supplier_quotation_calculation(frm, cdt, cdn);
// supplier_quotation_each_item(frm, cdt, cdn);
// refresh_field('qty');
});

// When mouse leaves the field
Expand Down

0 comments on commit fa50646

Please sign in to comment.