forked from elmau/empresa-libre
Can add or edit products without taxes
This commit is contained in:
parent
a518278b55
commit
fb24346601
|
@ -206,10 +206,10 @@ function cmd_save_product_click(id, e, node){
|
||||||
}
|
}
|
||||||
|
|
||||||
var rows = $$('grid_product_taxes').getSelectedId(true, true)
|
var rows = $$('grid_product_taxes').getSelectedId(true, true)
|
||||||
if (rows.length == 0){
|
//~ if (rows.length == 0){
|
||||||
msg_error('Selecciona un impuesto')
|
//~ msg_error('Selecciona un impuesto')
|
||||||
return
|
//~ return
|
||||||
}
|
//~ }
|
||||||
|
|
||||||
var values = form.getValues();
|
var values = form.getValues();
|
||||||
|
|
||||||
|
@ -247,9 +247,7 @@ function cmd_save_product_click(id, e, node){
|
||||||
|
|
||||||
|
|
||||||
function cmd_cancel_product_click(id, e, node){
|
function cmd_cancel_product_click(id, e, node){
|
||||||
|
|
||||||
$$("multi_products").setValue("products_home")
|
$$("multi_products").setValue("products_home")
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue