mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
[minor] fixed conflict while merging perpetual branch into master
This commit is contained in:
@@ -122,5 +122,5 @@ $.extend(erpnext.complete_setup, {
|
||||
|
||||
fy_start_list: ['', '1st Jan', '1st Apr', '1st Jul', '1st Oct'],
|
||||
|
||||
domains: ['', "Manufacturing", "Retail", "Distribution", "Services"],
|
||||
domains: ['', "Manufacturing", "Retail", "Distribution", "Services", "Other"],
|
||||
});
|
||||
@@ -20,7 +20,7 @@ erpnext.stock.StockController = wn.ui.form.Controller.extend({
|
||||
},
|
||||
show_general_ledger: function() {
|
||||
var me = this;
|
||||
if(this.frm.doc.docstatus===1 && cint(wn.defaults.get_default("auto_inventory_accounting"))) {
|
||||
if(this.frm.doc.docstatus===1 && cint(wn.defaults.get_default("auto_accounting_for_stock"))) {
|
||||
cur_frm.add_custom_button('Accounting Ledger', function() {
|
||||
wn.route_options = {
|
||||
"voucher_no": me.frm.doc.name,
|
||||
|
||||
Reference in New Issue
Block a user