Fix name of invoice
Date in name is not a good idea as it is not formated with locales of user
This commit is contained in:
1 parent
9e01c1a62c
commit
7a8bd9e11f
1 file changed
+1
-2
+1
-2
@@ -715,8 +715,7 @@ class Invoice(OSV):
|
||||
ids = [ids]
|
||||
res = []
|
||||
for invoice in self.browse(cursor, user, ids, context=context):
|
||||
res.append((invoice.id, invoice.number or invoice.invoice_date + \
|
||||
invoice.partner.name))
|
||||
res.append((invoice.id, invoice.number or '/' + ' ' + invoice.partner.name))
|
||||
return res
|
||||
|
||||
def name_search(self, cursor, user, name='', args=None, operator='ilike',
|
||||
|
||||
Reference in new issue
Block a user