diff --git a/contract/__manifest__.py b/contract/__manifest__.py index ba9acff6..bb05c382 100644 --- a/contract/__manifest__.py +++ b/contract/__manifest__.py @@ -9,7 +9,7 @@ { 'name': 'Contracts Management - Recurring', - 'version': '10.0.4.0.0', + 'version': '10.0.4.0.1', 'category': 'Contract Management', 'license': 'AGPL-3', 'author': "OpenERP SA, " diff --git a/contract/models/account_analytic_invoice_line.py b/contract/models/account_analytic_invoice_line.py index 760e3f88..68e693c5 100644 --- a/contract/models/account_analytic_invoice_line.py +++ b/contract/models/account_analytic_invoice_line.py @@ -98,7 +98,7 @@ class AccountAnalyticInvoiceLine(models.Model): def _inverse_price_unit(self): """Store the specific price in the no auto-price records.""" for line in self.filtered(lambda x: not x.automatic_price): - line.specific_price = self.price_unit + line.specific_price = line.price_unit @api.multi @api.depends('quantity', 'price_unit', 'discount')