diff --git a/crm_claim_rma/wizard/account_invoice_refund.py b/crm_claim_rma/wizard/account_invoice_refund.py index f764ab48..0d0a8471 100644 --- a/crm_claim_rma/wizard/account_invoice_refund.py +++ b/crm_claim_rma/wizard/account_invoice_refund.py @@ -31,10 +31,7 @@ class account_invoice_refund(osv.osv_memory): def _get_description(self, cr, uid, context=None): if context is None: context = {} - if context.get('description'): - description = self.pool.get('claim.rma.case').read(cr, uid, context.get('description'), ['name'], context=context)['name'] - else: - description = '' + description = context.get('description') or '' return description _defaults = {