From 6dc7c671e51890b99863fc7c3f3515447d56edf8 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Mon, 26 Mar 2018 12:33:41 +0200 Subject: [PATCH] [FIX]GOLEM Resource Account : use list, not standard price --- golem_resource_account/models/golem_resource_reservation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golem_resource_account/models/golem_resource_reservation.py b/golem_resource_account/models/golem_resource_reservation.py index 011d248..2af1e32 100644 --- a/golem_resource_account/models/golem_resource_reservation.py +++ b/golem_resource_account/models/golem_resource_reservation.py @@ -42,7 +42,7 @@ class GolemResourceReservation(models.Model): inv_obj = self.env['account.invoice'] partner_id = reservation.partner_id product = reservation.resource_id.product_tmpl_id - amount = product.standard_price + amount = product.list_price if not product: raise ValidationError(_('You can not create an invoice without '