[FIX]GOLEM Resource Account : should use product.product on invoice line, not product.template
This commit is contained in:
parent
1d19c17f4a
commit
66601c03b9
@ -20,7 +20,7 @@
|
||||
'name': 'GOLEM resources invoicing',
|
||||
'summary': 'GOLEM resources invoicing',
|
||||
'description': ''' GOLEM resources invoicing ''',
|
||||
'version': '10.0.0.1.1',
|
||||
'version': '10.0.0.1.2',
|
||||
'category': 'GOLEM',
|
||||
'author': 'Youssef El Ouahby, Fabien Bourgeois',
|
||||
'license': 'AGPL-3',
|
||||
|
@ -81,7 +81,7 @@ class GolemResourceReservation(models.Model):
|
||||
'quantity': quantity,
|
||||
'uom_id': product.uom_id.id,
|
||||
'account_id': account_id,
|
||||
'product_id': product.id,
|
||||
'product_id': product.product_variant_id.id,
|
||||
})
|
||||
reservation.invoice_line_id = line_id
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user