[demo] [minor] Started make_demo.py
This commit is contained in:
parent
f90df7da02
commit
ed186b719e
@ -2,7 +2,7 @@
|
||||
{
|
||||
"creation": "2013-04-10 11:45:37",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-07-05 14:44:00",
|
||||
"modified": "2013-07-30 14:44:35",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
@ -111,7 +111,7 @@
|
||||
"no_copy": 1,
|
||||
"oldfieldname": "status",
|
||||
"oldfieldtype": "Select",
|
||||
"options": "\nOpen\nReplied\nAttempted to Contact\nContact in Future\nContacted\nInterested\nNot interested\nLead Lost\nConverted",
|
||||
"options": "\nOpen\nReplied\nAttempted to Contact\nContact in Future\nContacted\nInterested\nNot interested\nLead Lost\nConverted\nPassive",
|
||||
"reqd": 1,
|
||||
"search_index": 1
|
||||
},
|
||||
|
@ -28,7 +28,8 @@ class DocType:
|
||||
|
||||
def setup_account(self, args):
|
||||
import webnotes, json
|
||||
args = json.loads(args)
|
||||
if isinstance(args, basestring):
|
||||
args = json.loads(args)
|
||||
webnotes.conn.begin()
|
||||
|
||||
self.update_profile_name(args)
|
||||
|
46
utilities/demo_docs/Address.csv
Normal file
46
utilities/demo_docs/Address.csv
Normal file
@ -0,0 +1,46 @@
|
||||
Data Import Template,,,,,,,,,,,,,,,,,,,,,
|
||||
Table:,Address,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,,,,,,
|
||||
Notes:,,,,,,,,,,,,,,,,,,,,,
|
||||
Please do not change the template headings.,,,,,,,,,,,,,,,,,,,,,
|
||||
First data column must be blank.,,,,,,,,,,,,,,,,,,,,,
|
||||
Only mandatory fields are necessary for new records. You can delete non-mandatory columns if you wish.,,,,,,,,,,,,,,,,,,,,,
|
||||
"For updating, you can update only selective columns.",,,,,,,,,,,,,,,,,,,,,
|
||||
"If you are uploading new records, leave the ""name"" (ID) column blank.",,,,,,,,,,,,,,,,,,,,,
|
||||
"If you are uploading new records, ""Naming Series"" becomes mandatory, if present.",,,,,,,,,,,,,,,,,,,,,
|
||||
You can only upload upto 5000 records in one go. (may be less in some cases),,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,,,,,,
|
||||
Column Labels,ID,Address Type,Address Title,Address Line1,City/Town,Country,Phone,Customer,Customer Name,Supplier,Supplier Name,Address Line2,Pincode,State,Email Id,Fax,Preferred Billing Address,Preferred Shipping Address,Sales Partner,Lead,Lead Name
|
||||
Column Name:,name,address_type,address_title,address_line1,city,country,phone,customer,customer_name,supplier,supplier_name,address_line2,pincode,state,email_id,fax,is_primary_address,is_shipping_address,sales_partner,lead,lead_name
|
||||
Mandatory:,Yes,Yes,Yes,Yes,Yes,Yes,Yes,No,No,No,No,No,No,No,No,No,No,No,No,No,No
|
||||
Type:,Data (text),Select,Data,Data,Data,Select,Data,Link,Data,Link,Data,Data,Data,Data,Data,Data,Check,Check,Link,Link,Data
|
||||
Info:,,"One of: Billing, Shipping, Office, Personal, Plant, Postal, Shop, Subsidiary, Warehouse, Other",,,,Valid Country,,Valid Customer,,Valid Supplier,,,,,,,0 or 1,0 or 1,Valid Sales Partner,Valid Lead,
|
||||
Start entering data below this line,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Office,,254 Theotokopoulou Str.,Larnaka,Cyprus,23566775757,Adaptas,Adaptas,,,,,,,,,,,,
|
||||
,,Office,,R Patrão Caramelho 116,Fajozes,Portugal,23566775757,Asian Fusion,Asian Fusion,,,,,,,,,,,,
|
||||
,,Office,,30 Fulford Road,PENTRE-PIOD,United Kingdom,23566775757,Asian Junction,Asian Junction,,,,,,,,,,,,
|
||||
,,Office,,Schoenebergerstrasse 13,Raschau,Germany,23566775757,Big D Supermarkets,Big D Supermarkets,,,,,,,,,,,,
|
||||
,,Office,,Hoheluftchaussee 43,Kieritzsch,Germany,23566775757,Buttrey Food & Drug,Buttrey Food & Drug,,,,,,,,,,,,
|
||||
,,Office,,R Cimo Vila 6,Rebordosa,Portugal,23566775757,Chi-Chis,Chi-Chis,,,,,,,,,,,,
|
||||
,,Office,,R 5 Outubro 9,Quinta Nova São Domingos,Portugal,23566775757,Choices,Choices,,,,,,,,,,,,
|
||||
,,Office,,Avenida Macambira 953,Goiânia,Brazil,23566775757,Consumers and Consumers Express,Consumers and Consumers Express,,,,,,,,,,,,
|
||||
,,Office,,2342 Goyeau Ave,Windsor,Canada,23566775757,Crafts Canada,Crafts Canada,,,,,,,,,,,,
|
||||
,,Office,,Laukaantie 82,KOKKOLA,Finland,23566775757,Endicott Shoes,Endicott Shoes,,,,,,,,,,,,
|
||||
,,Office,,9 Brown Street,PETERSHAM,Australia,23566775757,Fayva,Fayva,,,,,,,,,,,,
|
||||
,,Office,,Via Donnalbina 41,Cala Gonone,Italy,23566775757,Intelacard,Intelacard,,,,,,,,,,,,
|
||||
,,Office,,Liljerum Grenadjärtorpet 69,TOMTEBODA,Sweden,23566775757,Landskip Yard Care,Landskip Yard Care,,,,,,,,,,,,
|
||||
,,Office,,72 Bishopgate Street,SEAHAM,United Kingdom,23566775757,Life Plan Counselling,Life Plan Counselling,,,,,,,,,,,,
|
||||
,,Office,,Σκαφίδια 105,ΠΑΡΕΚΚΛΗΣΙΑ,Cyprus,23566775757,Mr Fables,Mr Fables,,,,,,,,,,,,
|
||||
,,Office,,Mellemvej 7,Aabybro,Denmark,23566775757,Nelson Brothers,Nelson Brothers,,,,,,,,,,,,
|
||||
,,Office,,Plouggårdsvej 98,Karby,Denmark,23566775757,Netobill,Netobill,,,,,,,,,,,,
|
||||
,,Office,,176 Michalakopoulou Street,Agio Georgoudi,Cyprus,23566775757,,,Helios Air,Helios Air,,,,,,,,,,
|
||||
,,Office,,Fibichova 1102,Kokorín,Czech Republic,23566775757,,,Ks Merchandise,Ks Merchandise,,,,,,,,,,
|
||||
,,Office,,Zahradní 888,Cechtín,Czech Republic,23566775757,,,HomeBase,HomeBase,,,,,,,,,,
|
||||
,,Office,,ul. Grochowska 94,Warszawa,Poland,23566775757,,,Scott Ties,Scott Ties,,,,,,,,,,
|
||||
,,Office,,Norra Esplanaden 87,HELSINKI,Finland,23566775757,,,Reliable Investments,Reliable Investments,,,,,,,,,,
|
||||
,,Office,,2038 Fallon Drive,Dresden,Canada,23566775757,,,Nan Duskin,Nan Duskin,,,,,,,,,,
|
||||
,,Office,,77 cours Franklin Roosevelt,MARSEILLE,France,23566775757,,,Rainbow Records,Rainbow Records,,,,,,,,,,
|
||||
,,Office,,ul. Tuwima Juliana 85,Łódź,Poland,23566775757,,,New World Realty,New World Realty,,,,,,,,,,
|
||||
,,Office,,Gl. Sygehusvej 41,Narsaq,Greenland,23566775757,,,Asiatic Solutions,Asiatic Solutions,,,,,,,,,,
|
||||
,,Office,,Gosposka ulica 50,Nova Gorica,Slovenia,23566775757,,,Eagle Hardware,Eagle Hardware,,,,,,,,,,
|
|
46
utilities/demo_docs/Contact.csv
Normal file
46
utilities/demo_docs/Contact.csv
Normal file
@ -0,0 +1,46 @@
|
||||
Data Import Template,,,,,,,,,,,,,,,
|
||||
Table:,Contact,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,
|
||||
Notes:,,,,,,,,,,,,,,,
|
||||
Please do not change the template headings.,,,,,,,,,,,,,,,
|
||||
First data column must be blank.,,,,,,,,,,,,,,,
|
||||
Only mandatory fields are necessary for new records. You can delete non-mandatory columns if you wish.,,,,,,,,,,,,,,,
|
||||
"For updating, you can update only selective columns.",,,,,,,,,,,,,,,
|
||||
"If you are uploading new records, leave the ""name"" (ID) column blank.",,,,,,,,,,,,,,,
|
||||
"If you are uploading new records, ""Naming Series"" becomes mandatory, if present.",,,,,,,,,,,,,,,
|
||||
You can only upload upto 5000 records in one go. (may be less in some cases),,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,
|
||||
Column Labels,First Name,Email Id,Phone,Last Name,Status,Customer,Customer Name,Supplier,Supplier Name,Sales Partner,Is Primary Contact,Mobile No,Department,Designation,Unsubscribed
|
||||
Column Name:,first_name,email_id,phone,last_name,status,customer,customer_name,supplier,supplier_name,sales_partner,is_primary_contact,mobile_no,department,designation,unsubscribed
|
||||
Mandatory:,Yes,Yes,Yes,No,No,No,No,No,No,No,No,No,No,No,No
|
||||
Type:,Data,Data,Data,Data,Select,Link,Data,Link,Data,Link,Check,Data,Data,Data,Check
|
||||
Info:,,,,,"One of: Open, Replied",Valid Customer,,Valid Supplier,,Valid Sales Partner,0 or 1,,,,0 or 1
|
||||
Start entering data below this line,,,,,,,,,,,,,,,
|
||||
,Jan,JanVaclavik@dayrep.com,456675757,Václavík,,Adaptas,Adaptas,,,,,,,,
|
||||
,Chidumaga,ChidumagaTobeolisa@armyspy.com,456675757,Tobeolisa,,Asian Fusion,Asian Fusion,,,,,,,,
|
||||
,Jana,JanaKubanova@superrito.com,456675757,Kubáňová,,Asian Junction,Asian Junction,,,,,,,,
|
||||
,紹萱,XuChaoXuan@gustr.com,456675757,于,,Big D Supermarkets,Big D Supermarkets,,,,,,,,
|
||||
,Özlem,OzlemVerwijmeren@dayrep.com,456675757,Verwijmeren,,Buttrey Food & Drug,Buttrey Food & Drug,,,,,,,,
|
||||
,Hans,HansRasmussen@superrito.com,456675757,Rasmussen,,Chi-Chis,Chi-Chis,,,,,,,,
|
||||
,Satomi,SatomiShigeki@superrito.com,456675757,Shigeki,,Choices,Choices,,,,,,,,
|
||||
,Simon,SimonVJessen@superrito.com,456675757,Jessen,,Consumers and Consumers Express,Consumers and Consumers Express,,,,,,,,
|
||||
,نگارین,NeguaranShahsaah@teleworm.us,456675757,شاه سیاه,,Crafts Canada,Crafts Canada,,,,,,,,
|
||||
,Lom-Ali,Lom-AliBataev@dayrep.com,456675757,Bataev,,Endicott Shoes,Endicott Shoes,,,,,,,,
|
||||
,Tiên,VanNgocTien@einrot.com,456675757,Văn,,Fayva,Fayva,,,,,,,,
|
||||
,Quimey,QuimeyOsorioRuelas@gustr.com,456675757,Osorio,,Intelacard,Intelacard,,,,,,,,
|
||||
,Edgarda,EdgardaSalcedoRaya@teleworm.us,456675757,Salcedo,,Landskip Yard Care,Landskip Yard Care,,,,,,,,
|
||||
,Hafsteinn,HafsteinnBjarnarsonar@armyspy.com,456675757,Bjarnarsonar,,Life Plan Counselling,Life Plan Counselling,,,,,,,,
|
||||
,Даниил,@superrito.com,456675757,Коновалов,,Mr Fables,Mr Fables,,,,,,,,
|
||||
,Selma,SelmaMAndersen@teleworm.us,456675757,Andersen,,Nelson Brothers,Nelson Brothers,,,,,,,,
|
||||
,Ladislav,LadislavKolaja@armyspy.com,456675757,Kolaja,,Netobill,Netobill,,,,,,,,
|
||||
,Tewolde,TewoldeAbaalom@teleworm.us,456675757,Abaalom,,,,Helios Air,Helios Air,,,,,,
|
||||
,Leila,LeilaFernandesRodrigues@gustr.com,456675757,Rodrigues,,,,Ks Merchandise,Ks Merchandise,,,,,,
|
||||
,Dmitry,DmitryBulgakov@gustr.com,456675757,Bulgakov,,,,HomeBase,HomeBase,,,,,,
|
||||
,Haiduc,HaiducWhitfoot@dayrep.com,456675757,Whitfoot,,,,Scott Ties,Scott Ties,,,,,,
|
||||
,Sesselja,SesseljaPetursdottir@cuvox.de,456675757,Pétursdóttir,,,,Reliable Investments,Reliable Investments,,,,,,
|
||||
,Hajdar,HajdarPignar@superrito.com,456675757,Pignar,,,,Nan Duskin,Nan Duskin,,,,,,
|
||||
,Gustava,GustavaLorenzo@teleworm.us,456675757,Lorenzo,,,,Rainbow Records,Rainbow Records,,,,,,
|
||||
,Bethany,BethanyWood@teleworm.us,456675757,Wood,,,,New World Realty,New World Realty,,,,,,
|
||||
,Gloriana,GlorianaBrownlock@cuvox.de,456675757,Brownlock,,,,Asiatic Solutions,Asiatic Solutions,,,,,,
|
||||
,Jenson,JensonFraser@gustr.com,456675757,Fraser,,,,Eagle Hardware,Eagle Hardware,,,,,,
|
|
38
utilities/demo_docs/Customer.csv
Normal file
38
utilities/demo_docs/Customer.csv
Normal file
@ -0,0 +1,38 @@
|
||||
Data Import Template,,,,,,,,,,,,,,,,
|
||||
Table:,Customer,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,
|
||||
Notes:,,,,,,,,,,,,,,,,
|
||||
Please do not change the template headings.,,,,,,,,,,,,,,,,
|
||||
First data column must be blank.,,,,,,,,,,,,,,,,
|
||||
Only mandatory fields are necessary for new records. You can delete non-mandatory columns if you wish.,,,,,,,,,,,,,,,,
|
||||
"For updating, you can update only selective columns.",,,,,,,,,,,,,,,,
|
||||
"If you are uploading new records, leave the ""name"" (ID) column blank.",,,,,,,,,,,,,,,,
|
||||
"If you are uploading new records, ""Naming Series"" becomes mandatory, if present.",,,,,,,,,,,,,,,,
|
||||
You can only upload upto 5000 records in one go. (may be less in some cases),,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,
|
||||
Column Labels,ID,Customer Name,Customer Type,Customer Group,Territory,Company,Series,Lead Ref,Default Price List,Default Currency,Customer Details,Credit Days,Credit Limit,Website,Default Sales Partner,Default Commission Rate
|
||||
Column Name:,name,customer_name,customer_type,customer_group,territory,company,naming_series,lead_name,default_price_list,default_currency,customer_details,credit_days,credit_limit,website,default_sales_partner,default_commission_rate
|
||||
Mandatory:,Yes,Yes,Yes,Yes,Yes,Yes,No,No,No,No,No,No,No,No,No,No
|
||||
Type:,Data (text),Data,Select,Link,Link,Link,Select,Link,Link,Link,Text,Int,Currency,Data,Link,Float
|
||||
Info:,,,"One of: Company, Individual",Valid Customer Group,Valid Territory,Valid Company,"One of: CUST, CUSTMUM",Valid Lead,Valid Price List,Valid Currency,,Integer,,,Valid Sales Partner,
|
||||
Start entering data below this line,,,,,,,,,,,,,,,,
|
||||
,,Asian Junction,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Life Plan Counselling,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Two Pesos,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Mr Fables,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Intelacard,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Big D Supermarkets,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Adaptas,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Nelson Brothers,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Landskip Yard Care,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Buttrey Food & Drug,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Fayva,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Asian Fusion,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Crafts Canada,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Consumers and Consumers Express,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Netobill,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Choices,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Chi-Chis,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Red Food,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
||||
,,Endicott Shoes,Company,Commercial,Rest Of The World,Wind Power LLC,,,,,,,,,,
|
|
36
utilities/demo_docs/Item.csv
Normal file
36
utilities/demo_docs/Item.csv
Normal file
@ -0,0 +1,36 @@
|
||||
Data Import Template,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Table:,Item,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Notes:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Please do not change the template headings.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
First data column must be blank.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Only mandatory fields are necessary for new records. You can delete non-mandatory columns if you wish.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
"For updating, you can update only selective columns.",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
"If you are uploading new records, leave the ""name"" (ID) column blank.",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
"If you are uploading new records, ""Naming Series"" becomes mandatory, if present.",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
You can only upload upto 5000 records in one go. (may be less in some cases),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Column Labels,ID,Is Service Item,Is Asset Item,Is Sub Contracted Item,Item Name,Is Sales Item,Default Unit of Measure,Allow Production Order,Allow Bill of Materials,Description,Is Stock Item,Inspection Required,Is Purchase Item,Item Group,Has Batch No,Has Serial No,Allow Samples,Item Code,Default Reserved Warehouse,Cost Center,Last Purchase Rate,Default BOM,Naming Series,Image,Valuation Method,Image,Weightage,Net Weight,Max Discount (%),Warranty Period (in days),Default Cost Center,Re-Order Level,Default Income Account,Default Expense Account,Description HTML,Show in Website,End of Life,Website Warehouse,Manufacturer Part Number,Page Name,Manufacturer,Allowance Percent,Brand,Barcode,Slideshow,Re-Order Qty,Weight UOM,Minimum Order Qty,Lead Time Days,Website Description,Standard Rate
|
||||
Column Name:,name,is_service_item,is_asset_item,is_sub_contracted_item,item_name,is_sales_item,stock_uom,is_pro_applicable,is_manufactured_item,description,is_stock_item,inspection_required,is_purchase_item,item_group,has_batch_no,has_serial_no,is_sample_item,item_code,default_warehouse,default_sales_cost_center,last_purchase_rate,default_bom,naming_series,image,valuation_method,website_image,weightage,net_weight,max_discount,warranty_period,cost_center,re_order_level,default_income_account,purchase_account,description_html,show_in_website,end_of_life,website_warehouse,manufacturer_part_no,page_name,manufacturer,tolerance,brand,barcode,slideshow,re_order_qty,weight_uom,min_order_qty,lead_time_days,web_long_description,standard_rate
|
||||
Mandatory:,Yes,Yes,Yes,Yes,Yes,Yes,Yes,Yes,Yes,Yes,Yes,Yes,Yes,Yes,Yes,Yes,Yes,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No
|
||||
Type:,Data (text),Select,Select,Select,Data,Select,Link,Select,Select,Small Text,Select,Select,Select,Link,Select,Select,Select,Data,Link,Link,Float,Link,Select,Select,Select,Select,Int,Float,Float,Data,Link,Float,Link,Link,Small Text,Check,Date,Link,Data,Data,Data,Float,Link,Data,Link,Float,Link,Float,Int,Text Editor,Float
|
||||
Info:,,"One of: Yes, No","One of: Yes, No","One of: Yes, No",,"One of: Yes, No",Valid UOM,"One of: Yes, No","One of: Yes, No",,"One of: Yes, No","One of: Yes, No","One of: Yes, No",Valid Item Group,"One of: Yes, No","One of: Yes, No","One of: Yes, No",,Valid Warehouse,Valid Cost Center,,Valid BOM,One of: ITEM,One of: attach_files:,"One of: FIFO, Moving Average",One of: attach_files:,Integer,,,,Valid Cost Center,,Valid Account,Valid Account,,0 or 1,,Valid Warehouse,,,,,Valid Brand,,Valid Website Slideshow,,Valid UOM,,Integer,,
|
||||
Start entering data below this line,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Wind Turbine,Yes,No,No,Wind Turbine,No,Nos,Yes,Yes,Small Wind Turbine for Home Use,Yes,No,Yes,Products,No,No,No,Wind Turbine,Finished Goods - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Wind Mill A Series,Yes,No,No,Wind Mill A Series,No,Nos,Yes,Yes,Wind Mill A Series for Home Use 9ft,Yes,No,Yes,Products,No,Yes,No,Wind Mill A Series,Finished Goods - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Wind Mill A Series,Yes,No,No,Wind Mill A Series,No,Nos,Yes,Yes,Wind Mill A Series for Home Use 12ft,Yes,No,Yes,Products,No,Yes,No,Wind Mill A Series,Finished Goods - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Wind MIll C Series,Yes,No,No,Wind MIll C Series,No,Nos,Yes,Yes,Wind Mill C Series for Commercial Use 18ft,Yes,No,Yes,Products,No,Yes,No,Wind MIll C Series,Finished Goods - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Base Plate,Yes,No,No,Base Plate,No,Nos,Yes,No,3/4 in. x 2 ft. x 4 ft. Pine Plywood,Yes,No,Yes,Raw Material,No,No,No,Base Plate,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Base Bearing Plate,Yes,No,No,Base Bearing Plate,No,Nos,Yes,No,1/4 in. x 6 in. x 6 in. Mild Steel Plate,Yes,No,Yes,Raw Material,No,No,No,Base Bearing Plate,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Bearing Pipe,Yes,No,No,Bearing Pipe,No,Nos,Yes,No,1.5 in. Diameter x 36 in. Mild Steel Tubing,Yes,No,Yes,Raw Material,No,No,No,Bearing Pipe,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Upper Bearing Plate,Yes,No,No,Upper Bearing Plate,No,Nos,Yes,No,3/16 in. x 6 in. x 6 in. Low Carbon Steel Plate,Yes,No,Yes,Raw Material,No,No,No,Upper Bearing Plate,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Bearing Collar,Yes,No,No,Bearing Collar,No,Nos,Yes,No,1 in. x 3 in. x 1 ft. Multipurpose Al Alloy Bar ,Yes,No,Yes,Raw Material,No,No,No,Bearing Collar,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,External Disc,Yes,No,No,External Disc,No,Nos,Yes,No,15/32 in. x 4 ft. x 8 ft. 3-Ply Rtd Sheathing ,Yes,No,Yes,Raw Material,No,No,No,External Disc,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Shaft,Yes,No,No,Shaft,No,Nos,Yes,No,1.25 in. Diameter x 6 ft. Mild Steel Tubing,Yes,No,Yes,Raw Material,No,No,No,Shaft,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Internal Disc,Yes,No,No,Internal Disc,No,Nos,Yes,No,For Bearing Collar,Yes,No,Yes,Raw Material,No,No,No,Internal Disc,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Blade Rib,Yes,No,No,Blade Rib,No,Nos,Yes,No,1/2 in. x 2 ft. x 4 ft. Pine Plywood,Yes,No,Yes,Raw Material,No,No,No,Blade Rib,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Wing Sheet,Yes,No,No,Wing Sheet,No,Nos,Yes,No,1/32 in. x 24 in. x 47 in. HDPE Opaque Sheet,Yes,No,Yes,Raw Material,No,No,No,Wing Sheet,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Disc Collars,Yes,No,No,Disc Collars,No,Nos,Yes,No,For Upper Bearing,Yes,No,Yes,Raw Material,No,No,No,Disc Collars,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Bearing Block,Yes,No,No,Bearing Block,No,Nos,Yes,No,"CAST IRON, MCMASTER PART NO. 3710T13",Yes,No,Yes,Raw Material,No,No,No,Bearing Block,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,Stand,Yes,No,No,Stand,No,Nos,Yes,No,N/A,Yes,No,Yes,Raw Material,No,No,No,Stand,Stores - WP,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
|
34
utilities/demo_docs/Item_Price.csv
Normal file
34
utilities/demo_docs/Item_Price.csv
Normal file
@ -0,0 +1,34 @@
|
||||
Data Import Template,,,,,
|
||||
Table:,Item Price,,,,
|
||||
Parent Table:,Item,,,,
|
||||
,,,,,
|
||||
Notes:,,,,,
|
||||
Please do not change the template headings.,,,,,
|
||||
First data column must be blank.,,,,,
|
||||
Only mandatory fields are necessary for new records. You can delete non-mandatory columns if you wish.,,,,,
|
||||
"For updating, you can update only selective columns.",,,,,
|
||||
"If you are uploading new records, leave the ""name"" (ID) column blank.",,,,,
|
||||
"If you are uploading new records, ""Naming Series"" becomes mandatory, if present.",,,,,
|
||||
You can only upload upto 5000 records in one go. (may be less in some cases),,,,,
|
||||
"""Parent"" signifies the parent table in which this row must be added",,,,,
|
||||
"If you are updating, please select ""Overwrite"" else existing rows will not be deleted.",,,,,
|
||||
,,,,,
|
||||
Column Labels,ID,Price List Name,Valid for Buying or Selling?,Ref Rate,Currency
|
||||
Column Name:,parent,price_list_name,buying_or_selling,ref_rate,ref_currency
|
||||
Mandatory:,Yes,Yes,Yes,No,No
|
||||
Type:,Data (text),Link,Select,Currency,Link
|
||||
Info:,,Valid Price List,"One of: Buying, Selling",,Valid Currency
|
||||
Start entering data below this line,,,,,
|
||||
,Base Bearing Plate,Standard Buying,Buying,750,INR
|
||||
,Base Plate,Standard Buying,Buying,1092,INR
|
||||
,Bearing Block,Standard Buying,Buying,355,INR
|
||||
,Bearing Collar,Standard Buying,Buying,980,INR
|
||||
,Bearing Pipe,Standard Buying,Buying,599,INR
|
||||
,Blade Rib,Standard Buying,Buying,430,INR
|
||||
,Disc Collars,Standard Buying,Buying,3000,INR
|
||||
,External Disc,Standard Buying,Buying,1200,INR
|
||||
,Internal Disc,Standard Buying,Buying,1000,INR
|
||||
,Shaft,Standard Buying,Buying,600,INR
|
||||
,Stand,Standard Buying,Buying,200,INR
|
||||
,Upper Bearing Plate,Standard Buying,Buying,400,INR
|
||||
,Wing Sheet,Standard Buying,Buying,20300,INR
|
|
68
utilities/demo_docs/Lead.csv
Normal file
68
utilities/demo_docs/Lead.csv
Normal file
@ -0,0 +1,68 @@
|
||||
Data Import Template,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Table:,Lead,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Notes:,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Please do not change the template headings.,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
First data column must be blank.,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Only mandatory fields are necessary for new records. You can delete non-mandatory columns if you wish.,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
"For updating, you can update only selective columns.",,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
"If you are uploading new records, leave the ""name"" (ID) column blank.",,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
"If you are uploading new records, ""Naming Series"" becomes mandatory, if present.",,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
You can only upload upto 5000 records in one go. (may be less in some cases),,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
Column Labels,ID,Contact Name,Status,Naming Series,Company Name,Email Id,Source,From Customer,Campaign Name,Remark,Phone,Mobile No.,Fax,Website,Territory,Lead Type,Lead Owner,Market Segment,Industry,Request Type,Lost Reason,Next Contact By,Next Contact Date,Last Contact Date,Company,Unsubscribed,Blog Subscriber
|
||||
Column Name:,name,lead_name,status,naming_series,company_name,email_id,source,customer,campaign_name,remark,phone,mobile_no,fax,website,territory,type,lead_owner,market_segment,industry,request_type,order_lost_reason,contact_by,contact_date,last_contact_date,company,unsubscribed,blog_subscriber
|
||||
Mandatory:,Yes,Yes,Yes,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No,No
|
||||
Type:,Data (text),Data,Select,Select,Data,Data,Select,Link,Link,Small Text,Data,Data,Data,Data,Link,Select,Link,Select,Link,Select,Link,Link,Date,Date,Link,Check,Check
|
||||
Info:,,,"One of: Open, Replied, Attempted to Contact, Contact in Future, Contacted, Interested, Not interested, Lead Lost, Converted","One of: LEAD, LEAD/10-11/, LEAD/MUMBAI/",,,"One of: Advertisement, Blog Post, Campaign, Call, Customer, Exhibition, Supplier, Website, Email",Valid Customer,Valid Campaign,,,,,,Valid Territory,"One of: Client, Channel Partner, Consultant",Valid Profile,"One of: Lower Income, Middle Income, Upper Income",Valid Industry Type,"One of: Product Enquiry, Request for Information, Suggestions, Other",Valid Quotation Lost Reason,Valid Profile,,,Valid Company,0 or 1,0 or 1
|
||||
Start entering data below this line,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Mart Lakeman,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Saga Lundqvist,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Adna Sjöberg,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Ida Svendsen,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Emppu Hämeenniemi,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Eugenio Pisano,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Semhar Hagos,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Branimira Ivanković,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Shelly Fields,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Leo Mikulić,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Denisa Jarošová,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Janek Rutkowski,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,美月 宇藤,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Даниил Афанасьев,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Zorislav Petković,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Nanao Niwa,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Hreiðar Jörundsson,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Lai Chu,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Victor Aksakov,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Saidalim Bisliev,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Totte Jakobsson,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Naná Armas,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Walerian Duda,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Moarimikashi ,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Dobromił Dąbrowski ,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Teigan Sinclair,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Fahad Guirguis,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Morten Olsen,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Christian Baecker,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Sebastianus Dohmen,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Eero Koskinen,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,富奎 盧,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Milica Jelić,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Barbora Holubová,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Marta Kos,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Simret Zula,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Kamil Chlubna,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Aceline Bolduc,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Lucie Stupková,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Roland Solvik,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Mekirinzukushitakufu ,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Mukharbek Sultanovich,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Osman Amanuel,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,幸子 阪部,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Masakazu Kamitani,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Omran Sabbagh,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Rikako Matsumura,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Anayolisa Chukwukadibia,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
,,Gudmunda Hinna,Passive,,,,,,,,,,,,,,,,,,,,,,,,
|
|
25
utilities/demo_docs/Stock Reconcilation Template.csv
Normal file
25
utilities/demo_docs/Stock Reconcilation Template.csv
Normal file
@ -0,0 +1,25 @@
|
||||
Stock Reconciliation,,,,,,
|
||||
----,,,,,,
|
||||
"Stock Reconciliation can be used to update the stock on a particular date, usually as per physical inventory.",,,,,,
|
||||
"When submitted, the system creates difference entries to set the given stock and valuation on this date.",,,,,,
|
||||
It can also be used to create opening stock entries and to fix stock value.,,,,,,
|
||||
----,,,,,,
|
||||
Notes:,,,,,,
|
||||
Item Code and Warehouse should already exist.,,,,,,
|
||||
You can update either Quantity or Valuation Rate or both.,,,,,,
|
||||
"If no change in either Quantity or Valuation Rate, leave the cell blank.",,,,,,
|
||||
----,,,,,,
|
||||
Item Code,Warehouse,Quantity,Valuation Rate,,,
|
||||
Base Bearing Plate,Stores,4,750,,,
|
||||
Base Plate,Stores,4,1092,,,
|
||||
Bearing Block,Stores,2,355,,,
|
||||
Bearing Collar,Stores,4,980,,,
|
||||
Bearing Pipe,Stores,5,599,,,
|
||||
Blade Rib,Stores,3,430,,,
|
||||
Disc Collars,Stores,7,3000,,,
|
||||
External Disc,Stores,2,1200,,,
|
||||
Internal Disc,Stores,2,1000,,,
|
||||
Shaft,Stores,5,600,,,
|
||||
Stand,Stores,2,200,,,
|
||||
Upper Bearing Plate,Stores,10,400,,,
|
||||
Wing Sheet,Stores,20,300,,,
|
|
29
utilities/demo_docs/Supplier.csv
Normal file
29
utilities/demo_docs/Supplier.csv
Normal file
@ -0,0 +1,29 @@
|
||||
Data Import Template,,,,,,,,,
|
||||
Table:,Supplier,,,,,,,,
|
||||
,,,,,,,,,
|
||||
,,,,,,,,,
|
||||
Notes:,,,,,,,,,
|
||||
Please do not change the template headings.,,,,,,,,,
|
||||
First data column must be blank.,,,,,,,,,
|
||||
Only mandatory fields are necessary for new records. You can delete non-mandatory columns if you wish.,,,,,,,,,
|
||||
"For updating, you can update only selective columns.",,,,,,,,,
|
||||
"If you are uploading new records, leave the ""name"" (ID) column blank.",,,,,,,,,
|
||||
"If you are uploading new records, ""Naming Series"" becomes mandatory, if present.",,,,,,,,,
|
||||
You can only upload upto 5000 records in one go. (may be less in some cases),,,,,,,,,
|
||||
,,,,,,,,,
|
||||
Column Labels,ID,Supplier Name,Supplier Type,Company,Series,Default Currency,Supplier Details,Credit Days,Website
|
||||
Column Name:,name,supplier_name,supplier_type,company,naming_series,default_currency,supplier_details,credit_days,website
|
||||
Mandatory:,Yes,Yes,Yes,Yes,No,No,No,No,No
|
||||
Type:,Data (text),Data,Link,Link,Select,Link,Text,Int,Data
|
||||
Info:,,,Valid Supplier Type,Valid Company,"One of: SUPP, SUPP/10-11/",Valid Currency,,Integer,
|
||||
Start entering data below this line,,,,,,,,,
|
||||
,Helios Air,Helios Air,Raw Material,Wind Power LLC,,,,,
|
||||
,Ks Merchandise,Ks Merchandise,Electrical,Wind Power LLC,,,,,
|
||||
,HomeBase,HomeBase,Raw Material,Wind Power LLC,,,,,
|
||||
,Scott Ties,Scott Ties,Raw Material,Wind Power LLC,,,,,
|
||||
,Reliable Investments,Reliable Investments,Services,Wind Power LLC,,,,,
|
||||
,Nan Duskin,Nan Duskin,Services,Wind Power LLC,,,,,
|
||||
,Rainbow Records,Rainbow Records,Services,Wind Power LLC,,,,,
|
||||
,New World Realty,New World Realty,Services,Wind Power LLC,,,,,
|
||||
,Asiatic Solutions,Asiatic Solutions,Raw Material,Wind Power LLC,,,,,
|
||||
,Eagle Hardware,Eagle Hardware,Raw Material,Wind Power LLC,,,,,
|
|
BIN
utilities/demo_docs/bearing-block.png
Normal file
BIN
utilities/demo_docs/bearing-block.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 221 KiB |
BIN
utilities/demo_docs/wind-turbine.png
Normal file
BIN
utilities/demo_docs/wind-turbine.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
60
utilities/make_demo.py
Normal file
60
utilities/make_demo.py
Normal file
@ -0,0 +1,60 @@
|
||||
import webnotes, os
|
||||
webnotes.session = webnotes._dict({"user":"Administrator"})
|
||||
from core.page.data_import_tool.data_import_tool import upload
|
||||
|
||||
def make():
|
||||
webnotes.connect()
|
||||
webnotes.mute_emails = True
|
||||
install()
|
||||
complete_setup()
|
||||
make_items()
|
||||
make_customers_suppliers_contacts()
|
||||
# make_bom()
|
||||
# make_opening_stock()
|
||||
# make_opening_accounts()
|
||||
|
||||
def install():
|
||||
print "Creating Fresh Database..."
|
||||
from webnotes.install_lib.install import Installer
|
||||
inst = Installer('root')
|
||||
inst.import_from_db("demo", verbose = 1)
|
||||
|
||||
def complete_setup():
|
||||
print "Complete Setup..."
|
||||
webnotes.get_obj("Setup Control").setup_account({
|
||||
"first_name": "Test",
|
||||
"last_name": "User",
|
||||
"fy_start": "1st Jan",
|
||||
"industry": "Manufacturing",
|
||||
"company_name": "Wind Power LLC",
|
||||
"company_abbr": "WP",
|
||||
"currency": "INR",
|
||||
"timezone": "America/New York",
|
||||
"country": "United States"
|
||||
})
|
||||
|
||||
def make_items():
|
||||
print "Importing Items..."
|
||||
webnotes.uploaded_file = os.path.join(os.path.dirname(__file__), "demo_docs", "Item.csv")
|
||||
upload()
|
||||
|
||||
def make_customers_suppliers_contacts():
|
||||
print "Importing Customers..."
|
||||
webnotes.uploaded_file = os.path.join(os.path.dirname(__file__), "demo_docs", "Customer.csv")
|
||||
upload()
|
||||
print "Importing Suppliers..."
|
||||
webnotes.uploaded_file = os.path.join(os.path.dirname(__file__), "demo_docs", "Supplier.csv")
|
||||
upload()
|
||||
print "Importing Contacts..."
|
||||
webnotes.uploaded_file = os.path.join(os.path.dirname(__file__), "demo_docs", "Contact.csv")
|
||||
upload()
|
||||
print "Importing Address..."
|
||||
webnotes.uploaded_file = os.path.join(os.path.dirname(__file__), "demo_docs", "Address.csv")
|
||||
upload()
|
||||
print "Importing Lead..."
|
||||
webnotes.uploaded_file = os.path.join(os.path.dirname(__file__), "demo_docs", "Lead.csv")
|
||||
upload()
|
||||
|
||||
|
||||
if __name__=="__main__":
|
||||
make()
|
Loading…
x
Reference in New Issue
Block a user