Stock reconciliation: cost center filters
This commit is contained in:
parent
759f9ee973
commit
d7fb6dce89
@ -40,6 +40,14 @@ erpnext.stock.StockReconciliation = erpnext.stock.StockController.extend({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.frm.fields_dict["cost_center"].get_query = function() {
|
||||||
|
return {
|
||||||
|
"filters": {
|
||||||
|
'company': me.frm.doc.company,
|
||||||
|
'group_or_ledger': 'Ledger'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user