mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-28 06:08:25 +00:00
allow negative qty feature
This commit is contained in:
@@ -34,7 +34,8 @@ keydict = {
|
||||
'valuation_method': 'default_valuation_method',
|
||||
'date_format': 'date_format',
|
||||
'currency_format':'default_currency_format',
|
||||
'account_url':'account_url'
|
||||
'account_url':'account_url',
|
||||
'allow_negative_stock' : 'allow_negative_stock'
|
||||
}
|
||||
|
||||
class DocType:
|
||||
@@ -66,4 +67,4 @@ class DocType:
|
||||
get_last_day(get_first_day(ysd,0,11)).strftime('%Y-%m-%d'))
|
||||
|
||||
def get_defaults(self):
|
||||
return webnotes.conn.get_defaults()
|
||||
return webnotes.conn.get_defaults()
|
||||
|
||||
Reference in New Issue
Block a user