[FIX] point_of_sale: remove useless or condition in tax computation

bzr revid: mat@openerp.com-20131002143734-b51sl1taumajaaus
This commit is contained in:
Martin Trigaux 2013-10-02 16:37:34 +02:00
parent e441ba637f
commit be6cb7fc2a
1 changed files with 1 additions and 1 deletions

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')