mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
[patch] breakup global defaults
This commit is contained in:
@@ -10,7 +10,11 @@ def execute():
|
||||
"reorder_email_notify": "Stock Settings",
|
||||
"tolerance": "Stock Settings",
|
||||
"stock_frozen_upto": "Stock Settings",
|
||||
"stock_auth_role": "Stock Settings"
|
||||
"stock_auth_role": "Stock Settings",
|
||||
"so_required": "Selling Settings",
|
||||
"dn_required": "Selling Settings",
|
||||
"po_required": "Selling Settings",
|
||||
"pr_required": "Selling Settings"
|
||||
}
|
||||
|
||||
from_defaults = {
|
||||
@@ -18,7 +22,14 @@ def execute():
|
||||
"item_naming_by": "Stock Settings",
|
||||
"stock_uom": "Stock Settings",
|
||||
"valuation_method": "Stock Settings",
|
||||
"allow_negative_stock": "Stock Settings"
|
||||
"allow_negative_stock": "Stock Settings",
|
||||
"cust_master_name": "Selling Settings",
|
||||
"customer_group": "Selling Settings",
|
||||
"territory": "Selling Settings",
|
||||
"price_list_name": "Selling Settings",
|
||||
"supplier_type": "Buying Settings",
|
||||
"supp_master_name": "Buying Settings",
|
||||
"maintain_same_rate": "Buying Settings"
|
||||
}
|
||||
|
||||
for key in from_global_defaults:
|
||||
|
||||
@@ -246,4 +246,5 @@ patch_list = [
|
||||
"patches.june_2013.p06_drop_unused_tables",
|
||||
"patches.june_2013.p08_shopping_cart_settings",
|
||||
"patches.june_2013.p05_remove_search_criteria_reports",
|
||||
"patches.june_2013.p09_update_global_defaults",
|
||||
]
|
||||
Reference in New Issue
Block a user