Skip to content

Commit

Permalink
FIX always use sale order line name, for coherence
Browse files Browse the repository at this point in the history
  • Loading branch information
eLBati committed Sep 14, 2016
1 parent 5ac25f7 commit 4485c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inter_company_rules/models/purchase_order.py
Expand Up @@ -147,7 +147,7 @@ def _prepare_sale_order_line_data(self, line, company, sale_id):
for tax_rec in taxes
if tax_rec.company_id.id == company.id]
return {
'name': product and product.name or line.name,
'name': line.name,
'order_id': sale_id,
'product_uom_qty': line.product_qty,
'product_id': product and product.id or False,
Expand Down

0 comments on commit 4485c9c

Please sign in to comment.