mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
aii: default account from company
This commit is contained in:
@@ -214,6 +214,11 @@ class DocType:
|
||||
"Stock Adjustment - " + self.doc.abbr):
|
||||
webnotes.conn.set(self.doc, "stock_adjustment_account", "Stock Adjustment - " +
|
||||
self.doc.abbr)
|
||||
|
||||
if not self.doc.expenses_included_in_valuation and webnotes.conn.exists("Account",
|
||||
"Expenses Included In Valuation - " + self.doc.abbr):
|
||||
webnotes.conn.set(self.doc, "expenses_included_in_valuation",
|
||||
"Expenses Included In Valuation - " + self.doc.abbr)
|
||||
|
||||
# Create default cost center
|
||||
# ---------------------------------------------------
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"creation": "2013-02-27 09:38:05",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-03-18 16:34:04",
|
||||
"modified": "2013-03-19 12:52:00",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
@@ -194,6 +194,13 @@
|
||||
"label": "Stock Adjustment Account",
|
||||
"options": "Account"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "expenses_included_in_valuation",
|
||||
"fieldtype": "Link",
|
||||
"label": "Expenses Included In Valuation",
|
||||
"options": "Account"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
"fieldname": "col_break23",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[
|
||||
{
|
||||
"creation": "2013-02-19 12:28:27",
|
||||
"creation": "2013-02-21 14:54:43",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-02-20 14:09:00",
|
||||
"modified": "2013-03-19 14:46:49",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
@@ -403,7 +403,7 @@
|
||||
"fieldname": "emp_created_by",
|
||||
"fieldtype": "Select",
|
||||
"label": "Employee Records to be created by ",
|
||||
"options": "\nNaming Series\nEmployee Number"
|
||||
"options": "Naming Series\nEmployee Number"
|
||||
},
|
||||
{
|
||||
"doctype": "DocField",
|
||||
|
||||
Reference in New Issue
Block a user