This reverts commit aa196c0a667ee7c3f2400fc7bd65319ccbb25a5a
This commit is contained in:
parent
dfa32a77c1
commit
f8550790fa
@ -753,7 +753,7 @@
|
||||
"depends_on": "is_fixed_asset",
|
||||
"fetch_from": "item_code.asset_category",
|
||||
"fieldname": "asset_category",
|
||||
"fieldtype": "Link",
|
||||
"fieldtype": "Data",
|
||||
"label": "Asset Category",
|
||||
"options": "Asset Category",
|
||||
"read_only": 1
|
||||
|
@ -58,7 +58,8 @@ def make_depreciation_entry(asset_name, date=None):
|
||||
"account": accumulated_depreciation_account,
|
||||
"credit_in_account_currency": d.depreciation_amount,
|
||||
"reference_type": "Asset",
|
||||
"reference_name": asset.name
|
||||
"reference_name": asset.name,
|
||||
"cost_center": ""
|
||||
}
|
||||
|
||||
debit_entry = {
|
||||
|
@ -2,7 +2,6 @@
|
||||
{
|
||||
"doctype": "Opportunity",
|
||||
"name": "_Test Opportunity 1",
|
||||
"company": "Wind Power LLC",
|
||||
"opportunity_from": "Lead",
|
||||
"enquiry_type": "Sales",
|
||||
"party_name": "_T-Lead-00001",
|
||||
|
@ -32,8 +32,7 @@
|
||||
"is_active": 1,
|
||||
"is_default": 1,
|
||||
"item": "_Test Item Home Desktop Manufactured",
|
||||
"quantity": 1.0,
|
||||
"company": "_Test Company"
|
||||
"quantity": 1.0
|
||||
},
|
||||
{
|
||||
"scrap_items":[
|
||||
@ -79,8 +78,7 @@
|
||||
"is_default": 1,
|
||||
"currency": "USD",
|
||||
"item": "_Test FG Item",
|
||||
"quantity": 1.0,
|
||||
"company":"_Test Company"
|
||||
"quantity": 1.0
|
||||
},
|
||||
{
|
||||
"operations": [
|
||||
@ -162,7 +160,6 @@
|
||||
"currency": "USD",
|
||||
"item": "_Test Variant Item",
|
||||
"quantity": 1.0,
|
||||
"with_operations": 1,
|
||||
"company": "_Test Company"
|
||||
"with_operations": 1
|
||||
}
|
||||
]
|
||||
|
@ -437,6 +437,7 @@ def install_defaults(args=None):
|
||||
global_defaults.update({
|
||||
'current_fiscal_year': current_fiscal_year.name,
|
||||
'default_currency': args.get('currency'),
|
||||
'default_company':args.get('company_name') ,
|
||||
"country": args.get("country"),
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user