[merge] fixed conflict
This commit is contained in:
commit
650501526f
0
patches/july_2013/__init__.py
Normal file
0
patches/july_2013/__init__.py
Normal file
3
patches/july_2013/restore_tree_roots.py
Normal file
3
patches/july_2013/restore_tree_roots.py
Normal file
@ -0,0 +1,3 @@
|
||||
def execute():
|
||||
from startup.install import import_defaults
|
||||
import_defaults()
|
@ -135,7 +135,7 @@ def import_defaults():
|
||||
|
||||
# supplier type
|
||||
{'doctype': 'Supplier Type', 'name': 'Default Supplier Type', 'supplier_type': 'Default Supplier Type'},
|
||||
|
||||
|
||||
# warehouse type
|
||||
{'doctype': 'Warehouse Type', 'name': 'Default Warehouse Type', 'warehouse_type': 'Default Warehouse Type'},
|
||||
{'doctype': 'Warehouse Type', 'name': 'Fixed Asset', 'warehouse_type': 'Fixed Asset'},
|
||||
@ -170,6 +170,6 @@ def import_defaults():
|
||||
]
|
||||
|
||||
for r in records:
|
||||
bean = webnotes.bean(r)
|
||||
bean.insert()
|
||||
|
||||
if not webnotes.conn.exists(r['doctype'], r['name']):
|
||||
bean = webnotes.bean(r)
|
||||
bean.insert()
|
Loading…
x
Reference in New Issue
Block a user