Browse Source

fix flake issues

pull/284/head
Florent THOMAS 6 years ago
parent
commit
a499a10f39
  1. 8
      contract_sale_generation/models/account_analytic_account.py

8
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

Loading…
Cancel
Save