Reviewers: , Description: [trytond-dev] sale: the description field in sale line must be updated always with on_change_product
Please review this at http://codereview.tryton.org/862002/ Affected files: M sale.py Index: sale.py =================================================================== --- a/sale.py +++ b/sale.py @@ -1112,9 +1112,8 @@ if tax_ids: res['taxes'].extend(tax_ids) - if not self.description: - with Transaction().set_context(party_context): - res['description'] = Product(self.product.id).rec_name + with Transaction().set_context(party_context): + res['description'] = Product(self.product.id).rec_name self.unit_price = res['unit_price'] self.type = 'line'
