fixed document
This commit is contained in:
parent
6945d0dd8a
commit
65ccb42f95
Binary file not shown.
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 59 KiB |
@ -8,7 +8,7 @@ On receipt of items in a particular warehouse, the balance in the Warehouse Acco
|
||||
|
||||
* Activate Perpetual Inventory
|
||||
|
||||
> Explore > Accounts > Accounts Settings > "Make Accounting Entry For Every Stock Movement"
|
||||
> Setup > Company > Stock Settings > "Enable Perpetual Inventory"
|
||||
|
||||
<img class="screenshot" alt="Perpetual Inventory" src="{{docs_base_url}}/assets/img/accounts/perpetual-1.png">
|
||||
|
||||
|
@ -103,9 +103,8 @@ frappe.ui.form.on('Stock Entry', {
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
toggle_display_account_head: function(frm) {
|
||||
var enabled = frappe.get_doc(":Company", frm.doc.company).enable_perpetual_inventory
|
||||
var enabled = frappe.get_doc(":Company", frm.doc.company).enable_perpetual_inventory;
|
||||
frm.fields_dict["items"].grid.set_column_disp(["cost_center", "expense_account"], enabled);
|
||||
}
|
||||
})
|
||||
|
@ -170,7 +170,6 @@ erpnext.stock.StockReconciliation = erpnext.stock.StockController.extend({
|
||||
this.frm.add_fetch("company", "stock_adjustment_account", "expense_account");
|
||||
this.frm.add_fetch("company", "cost_center", "cost_center");
|
||||
}
|
||||
|
||||
this.frm.fields_dict["expense_account"].get_query = function() {
|
||||
if(frappe.get_doc(":Company", me.frm.doc.company).enable_perpetual_inventory) {
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user