From a499a10f39af8a5e33f64293d3d5bb674456382d Mon Sep 17 00:00:00 2001 From: Florent THOMAS Date: Sat, 9 Mar 2019 12:20:40 +0100 Subject: [PATCH] fix flake issues --- .../models/account_analytic_account.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contract_sale_generation/models/account_analytic_account.py b/contract_sale_generation/models/account_analytic_account.py index 3f0487c5..9a904dc5 100644 --- a/contract_sale_generation/models/account_analytic_account.py +++ b/contract_sale_generation/models/account_analytic_account.py @@ -36,15 +36,15 @@ class AccountAnalyticAccount(models.Model): name = self._insert_markers( line, self.env.context['old_date'], self.env.context['next_date'], date_format) - + sale_line_vals = sale_line._convert_to_write(sale_line._cache) sale_line_vals.update({ 'name': name, 'discount': line.discount, 'price_unit': line.price_unit, - 'product_qty': line.quantity, - 'product_uom_qty': line.quantity, - 'product_uom': line.uom_id.id, + 'product_qty': line.quantity, + 'product_uom_qty': line.quantity, + 'product_uom': line.uom_id.id, }) return sale_line_vals