Änderung auf round_globally
							parent
							
								
									164fb28200
								
							
						
					
					
						commit
						5836b075a8
					
				|  | @ -26,7 +26,7 @@ class AccountInvoiceLine(models.Model): | ||||||
| 
 | 
 | ||||||
|     intrastat_id = fields.Many2one(comodel_name='report.intrastat.code', string='Intrastat Code') |     intrastat_id = fields.Many2one(comodel_name='report.intrastat.code', string='Intrastat Code') | ||||||
| 
 | 
 | ||||||
|     @api.model |     @api.one | ||||||
|     def create(self, vals): |     def create(self, vals): | ||||||
|         if vals.get('product_id', False) and not vals.get('intrastat_id', False): |         if vals.get('product_id', False) and not vals.get('intrastat_id', False): | ||||||
|             vals.update(intrastat_id=self.env['product.template'].browse(vals['product_id']).intrastat_id.id) |             vals.update(intrastat_id=self.env['product.template'].browse(vals['product_id']).intrastat_id.id) | ||||||
|  |  | ||||||
|  | @ -76,7 +76,7 @@ class Config(object): | ||||||
|             'security_lead': 0, |             'security_lead': 0, | ||||||
| 
 | 
 | ||||||
|             # Einstellungen Finanzen |             # Einstellungen Finanzen | ||||||
|             'tax_calculation_rounding_method': 'round_per_line', |             'tax_calculation_rounding_method': 'round_globally', | ||||||
|             'vat_check_vies': True, |             'vat_check_vies': True, | ||||||
|             'group_multi_currency': True,  # Multiwährungsfunktion aktivieren |             'group_multi_currency': True,  # Multiwährungsfunktion aktivieren | ||||||
|             'module_account_reports_followup': False, |             'module_account_reports_followup': False, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue