sst test 1
							parent
							
								
									b55280cbe7
								
							
						
					
					
						commit
						475c570519
					
				
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										0
									
								
								dev/scripts/pg_create_company.py → dev/scripts/interfaces/pg_create_company.py
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
									
										0
									
								
								dev/scripts/pg_create_company.py → dev/scripts/interfaces/pg_create_company.py
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
								
								
									
										0
									
								
								dev/scripts/pg_get_orders.py → dev/scripts/interfaces/pg_get_orders.py
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
									
										0
									
								
								dev/scripts/pg_get_orders.py → dev/scripts/interfaces/pg_get_orders.py
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
								
								
									
										15
									
								
								dev/scripts/portal_create_partner.py → dev/scripts/interfaces/sst01_portal_create_partner.py
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
									
										15
									
								
								dev/scripts/portal_create_partner.py → dev/scripts/interfaces/sst01_portal_create_partner.py
								
								
								
								
									
									
									Normal file → Executable file
								
							|  | @ -4,27 +4,32 @@ import odoorpc | |||
| host = 'localhost' | ||||
| port = 8080 | ||||
| db = 'tz-austria_1' | ||||
| user = 'admin' | ||||
| user = 'tz-admin' | ||||
| pw = 'x' | ||||
| 
 | ||||
| odoo = odoorpc.ODOO(host, port=port) | ||||
| odoo.login(db, user, pw) | ||||
| 
 | ||||
| values = { | ||||
|     "name": "Max Musterman", | ||||
|     "firstname": "Max", | ||||
|     "midname": "middle", | ||||
|     "lastname": "Musterman", | ||||
|     "street": "Strasse 11", | ||||
|     "street2": "Zusatz 1", | ||||
|     "zip": "1145", | ||||
|     "city": "Wien", | ||||
|     "country_id": "AT", | ||||
|     "fax": "+43 456546", | ||||
|     "phone": "+43 564564", | ||||
|     "mobile": "+43 677 564564", | ||||
|     "endkunde": True, | ||||
|     "portal_id": "111111", | ||||
|     "company": "Bier AG", | ||||
|     "info_uid": "habe keine", | ||||
|     "info_kundennr": "K1234", | ||||
|     "email": "max@musterman.at", | ||||
|     "line_ids": ["12345"], | ||||
|     "opt_out": True, | ||||
|     "ref": "A88S", | ||||
|     "partner_sector_id": "Test", | ||||
|     "comment": "comment", | ||||
|     "vat": False, | ||||
|     "lang": "de" | ||||
| } | ||||
							
								
								
									
										4
									
								
								dev/scripts/pg_create_quotation.py → dev/scripts/interfaces/sst03_pg_create_quotation.py
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
									
										4
									
								
								dev/scripts/pg_create_quotation.py → dev/scripts/interfaces/sst03_pg_create_quotation.py
								
								
								
								
									
									
									Normal file → Executable file
								
							|  | @ -4,7 +4,7 @@ import odoorpc | |||
| host = 'localhost' | ||||
| port = 8080 | ||||
| db = 'tz-austria_1' | ||||
| user = 'admin' | ||||
| user = 'tz-admin' | ||||
| pw = 'x' | ||||
| 
 | ||||
| odoo = odoorpc.ODOO(host, port=port) | ||||
|  | @ -16,7 +16,7 @@ values = { | |||
|     "note": "note", | ||||
|     "date_order": "2017-11-21", | ||||
|     "assembled": True, | ||||
|     "line_id": "L1", | ||||
|     "line_id": "12345", | ||||
|     "portal_id": "111111", | ||||
|     "portal_delivery_id": "222222", | ||||
|     "delivery_firstname": "Ahmed", | ||||
							
								
								
									
										9
									
								
								dev/scripts/create_product.py → dev/scripts/interfaces/sst10_create_product.py
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
									
										9
									
								
								dev/scripts/create_product.py → dev/scripts/interfaces/sst10_create_product.py
								
								
								
								
									
									
									Normal file → Executable file
								
							|  | @ -4,7 +4,7 @@ import odoorpc | |||
| host = 'localhost' | ||||
| port = 8080 | ||||
| db = 'tz-austria_1' | ||||
| user = 'admin' | ||||
| user = 'tz-admin' | ||||
| pw = 'x' | ||||
| 
 | ||||
| odoo = odoorpc.ODOO(host, port=port) | ||||
|  | @ -18,13 +18,14 @@ values = { | |||
|     "thickness": 33.44, | ||||
|     "surface": "m", | ||||
|     "weight": 80.45, | ||||
|     "active": True, | ||||
|     "is_interneal": True, | ||||
|     "xcat_id": "xcat_1", | ||||
|     "xcat_id": "Kategorie 1", | ||||
|     "notes": "notes", | ||||
|     "material_type_id": "material_1", | ||||
|     "material_type_id": "Holz", | ||||
|     "intrastat_id": "Code", | ||||
|     "sale_ok": True, | ||||
|     "assembly_line_ids": ["L1", "L2"], | ||||
|     "assembly_line_ids": ["12345", "12346"], | ||||
|     "list_price": 50.00 | ||||
| } | ||||
| 
 | ||||
|  | @ -9,7 +9,7 @@ class ConfigGlaser(Config): | |||
|         self.company_xmlid = 'dp_custom.glaser_and_co_company' | ||||
| 
 | ||||
|         self.company_data = { | ||||
|             'name': 'Glaser & Co.', | ||||
|             'name': 'Glaser & Co.', | ||||
|             'street': 'Neugasse 36', | ||||
|             'street2': False, | ||||
|             'city': 'Spannberg', | ||||
|  |  | |||
|  | @ -29,7 +29,7 @@ Port:     %s | |||
| ENVIRONMENTS = { | ||||
|     # Local environments are listed with passwords | ||||
|     'br': Environment('http://localhost', '8080', 'tz-austria_1', 'tz-admin', 'x', 'admin', config=ConfigTZA()), | ||||
|     'br-glaser': Environment('http://localhost', '8080', 'tz-austria_1', 'glaser-admin', 'x', 'admin', config=ConfigTZA()), | ||||
|     'br-glaser': Environment('http://localhost', '8080', 'tz-austria_1', 'glaser-admin', 'x', 'admin', config=ConfigGlaser()), | ||||
| 
 | ||||
|     'aa': Environment('http://localhost', '8080', 'tz-austria_1', 'admin', 'x', 'admin'), | ||||
|     'oa': Environment('http://localhost', '8080', 'tz-austria_1', 'admin', 'x', 'admin'), | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue