mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[FIX] fix description of the refund with the new module crm_claim_categ_as_name
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user