Skip to content

Commit

Permalink
fixed L81 description
Browse files Browse the repository at this point in the history
  • Loading branch information
elicoidal committed May 25, 2017
1 parent d0f97e7 commit 80d17c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion business_requirement_deliverable/models/business.py
Expand Up @@ -78,7 +78,8 @@ def product_id_change(self):
uom_id = product.uom_id.id
if product.description_sale:
description += '\n' + product.description_sale
self.name = description
if not self.name:
self.name = description
self.uom_id = uom_id

@api.onchange('resource_type')
Expand Down

0 comments on commit 80d17c0

Please sign in to comment.