mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
[fix] Test cases
This commit is contained in:
@@ -258,9 +258,11 @@ def create_fixed_asset_item():
|
|||||||
"item_code": "Macbook Pro",
|
"item_code": "Macbook Pro",
|
||||||
"item_name": "Macbook Pro",
|
"item_name": "Macbook Pro",
|
||||||
"description": "Macbook Pro Retina Display",
|
"description": "Macbook Pro Retina Display",
|
||||||
|
"asset_category": "Computers",
|
||||||
"item_group": "All Item Groups",
|
"item_group": "All Item Groups",
|
||||||
"stock_uom": "Nos",
|
"stock_uom": "Nos",
|
||||||
"is_stock_item": 0
|
"is_stock_item": 0,
|
||||||
|
"is_fixed_asset": 1
|
||||||
}).insert()
|
}).insert()
|
||||||
except frappe.DuplicateEntryError:
|
except frappe.DuplicateEntryError:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user