Change int to float (invoice_amount)

Merged Eric Horvat requested to merge 8.0-minor-fix into 8.0-stage
Compare and
1 file
+ 1
1
Preferences
File browser
Compare changes
+ 1
1
@@ -28,7 +28,7 @@ class PurchaseData(models.Model):
invoiced = fields.Boolean(compute='_compute_invoiced')
total_invoices = fields.Integer(compute='_get_invoice_count', string='Invoice Count')
invoices_untaxed_total = fields.Integer(compute='_compute_invoice_total', string='Invoice Total')
invoices_untaxed_total = fields.Float(compute='_compute_invoice_total', string='Invoice Total')
@api.depends('invoice_ids')
def _get_invoice_count(self):