[fix] [minor] [sales invoice] don't hide warehouse and delivered_qty
This commit is contained in:
parent
c7280b4973
commit
10c773dc1c
@ -171,8 +171,7 @@ cur_frm.cscript.hide_fields = function(doc) {
|
||||
'total_commission', 'advances'];
|
||||
|
||||
item_flds_normal = ['sales_order', 'delivery_note']
|
||||
item_flds_pos = ['warehouse', 'serial_no', 'batch_no', 'actual_qty',
|
||||
'delivered_qty', 'expense_account']
|
||||
item_flds_pos = ['serial_no', 'batch_no', 'actual_qty', 'expense_account']
|
||||
|
||||
if(cint(doc.is_pos) == 1) {
|
||||
hide_field(par_flds);
|
||||
|
Loading…
Reference in New Issue
Block a user