change composition of imos_url
							parent
							
								
									3c95d997bd
								
							
						
					
					
						commit
						6f3fed62be
					
				|  | @ -48,7 +48,7 @@ class WizardResetOrder(models.TransientModel): | ||||||
|                         so.message_post(body='Warenkorb konnte im DesignBox-Portal nicht zurückgesetzt werden!\n %s' % order_info) |                         so.message_post(body='Warenkorb konnte im DesignBox-Portal nicht zurückgesetzt werden!\n %s' % order_info) | ||||||
|                     else: |                     else: | ||||||
|                         info += "\n%s --> OK" % so.name |                         info += "\n%s --> OK" % so.name | ||||||
|                         so.message_post(body='Warenkorb im DesignBox-Portal zurückgesetzt!\n%s --> OK' % so.name) |                         so.message_post(body='Warenkorb im DesignBox-Portal zurückgesetzt!\n%s --> OK' % so.origin) | ||||||
| 
 | 
 | ||||||
|                 if error_at_quotation: |                 if error_at_quotation: | ||||||
|                     raise Warning(_(info)) |                     raise Warning(_(info)) | ||||||
|  | @ -62,7 +62,7 @@ class WizardResetOrder(models.TransientModel): | ||||||
|         self.ensure_one() |         self.ensure_one() | ||||||
|         imos_base_url = tools.config.get('imos_base_url') |         imos_base_url = tools.config.get('imos_base_url') | ||||||
|         imos_pass = tools.config.get('imos_pass') |         imos_pass = tools.config.get('imos_pass') | ||||||
|         imos_url = imos_base_url + r'?id=142&tx_imosnetpublic_api[controller]=Basket&tx_imosnetpublic_api[action]=update' |         imos_url = imos_base_url + r'&tx_imosnetpublic_api[controller]=Basket&tx_imosnetpublic_api[action]=update' | ||||||
|         idata = {"uid" : int(order_id[-6:]), "status" : 0} |         idata = {"uid" : int(order_id[-6:]), "status" : 0} | ||||||
|         data = { |         data = { | ||||||
|             'pass' : imos_pass, |             'pass' : imos_pass, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue