Can add or edit products without taxes

This commit is contained in:
Mauricio Baeza 2021-09-14 21:49:21 -05:00
parent a518278b55
commit fb24346601
1 changed files with 4 additions and 6 deletions

View File

@ -206,10 +206,10 @@ function cmd_save_product_click(id, e, node){
}
var rows = $$('grid_product_taxes').getSelectedId(true, true)
if (rows.length == 0){
msg_error('Selecciona un impuesto')
return
}
//~ if (rows.length == 0){
//~ msg_error('Selecciona un impuesto')
//~ return
//~ }
var values = form.getValues();
@ -247,9 +247,7 @@ function cmd_save_product_click(id, e, node){
function cmd_cancel_product_click(id, e, node){
$$("multi_products").setValue("products_home")
};