[fix] [minor] [sales invoice] don't hide warehouse and delivered_qty

This commit is contained in:
Anand Doshi 2013-07-29 12:27:47 +05:30
parent c7280b4973
commit 10c773dc1c

View File

@ -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);