allow pricechange for TZ_PLATTE (temporary workaround for wrong prices coming from DesignBox)
							parent
							
								
									6f3fed62be
								
							
						
					
					
						commit
						069d3c7a80
					
				|  | @ -514,7 +514,7 @@ class SaleOrderLine(models.Model): | |||
|         self.ensure_one() | ||||
|         allowed_write = True | ||||
|         precision_digits = self.env['decimal.precision'].precision_get('Product Price') | ||||
|         if self.from_designbox and set(vals.keys()).intersection(not_allowed_designbox_keys): | ||||
|         if (self.from_designbox and self.product_id.default_code!='TZ_PLATTE') and set(vals.keys()).intersection(not_allowed_designbox_keys): | ||||
|             for val_key in not_allowed_designbox_keys: | ||||
|                 if val_key in list(vals.keys()) and type(self.__getattribute__(val_key)) is float: | ||||
|                     if float_compare(self.__getattribute__(val_key), vals[val_key], | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue