[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9493 rev-id: launchpad_translations_on_behalf_of_openerp-20131003055550-0r0oqctbd69hv6ud

bzr revid: dle@openerp.com-20131003094541-ro29hhkas03rdvw8
This commit is contained in:
Denis Ledoux
2013-10-03 11:45:41 +02:00
+1 -1
View File
@@ -162,7 +162,7 @@ class pos_details(report_sxw.rml_parse):
for tax in line_taxes['taxes']:
taxes.setdefault(tax['id'], {'name': tax['name'], 'amount':0.0})
taxes[tax['id']]['amount'] += tax['amount']
return [value for value in taxes.values()] or []
return taxes.values()
def _get_user_names(self, user_ids):
user_obj = self.pool.get('res.users')