mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 04:58:29 +00:00
commonified some purchase code, added test case for auto inventory accounting for purchase invoice
This commit is contained in:
@@ -211,6 +211,12 @@ class DocType:
|
||||
'company_name':self.doc.name,
|
||||
'group_or_ledger':'Ledger',
|
||||
'parent_cost_center':'Root - ' + self.doc.abbr
|
||||
},
|
||||
{
|
||||
'cost_center_name': 'Auto Inventory Accounting',
|
||||
'company_name': self.doc.name,
|
||||
'group_or_ledger': 'Ledger',
|
||||
'parent_cost_center': 'Root - ' + self.doc.abbr
|
||||
}
|
||||
]
|
||||
for cc in cc_list:
|
||||
|
||||
Reference in New Issue
Block a user