validity_date for Offer; no_quick_edit for intrastat_id; report_production - fix
							parent
							
								
									c20ca14122
								
							
						
					
					
						commit
						ed0fe21fa9
					
				|  | @ -62,9 +62,9 @@ class ProductTemplate(models.Model): | |||
|     @api.onchange('length', 'width', 'thickness') | ||||
|     def _onchange_measures(self): | ||||
|         if self.length>0 and self.width>0 and self.thickness>0: | ||||
|             self.volume = self.length*self.width*self.thickness/(1000*1000*1000) | ||||
|             self.volume = self.length*self.width*self.thickness / (1000*1000*1000) | ||||
|         elif self.length>0 and self.width>0 and self.height>0: | ||||
|             self.volume = self.length*self.width*self.height/(1000*1000*1000) | ||||
|             self.volume = self.length*self.width*self.height / (1000*1000*1000) | ||||
| 
 | ||||
|     @api.model | ||||
|     def create_product(self, vals): | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue