diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2015-09-26 08:26:23 -0700 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2015-09-26 08:26:23 -0700 |
| commit | adbfed5bbb719d743e7d01ebc85eb1ae8003cf4f (patch) | |
| tree | 0e554575d5b0bc9d53d87c671a397575b18923aa | |
| parent | 5209bb255decb24479a1995bd5b1eb4423d199e3 (diff) | |
[IMP] typo
| -rw-r--r-- | addons/account/models/account_journal_dashboard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/models/account_journal_dashboard.py b/addons/account/models/account_journal_dashboard.py index d1e93f2fb29..79cdd3645eb 100644 --- a/addons/account/models/account_journal_dashboard.py +++ b/addons/account/models/account_journal_dashboard.py @@ -156,7 +156,7 @@ class account_journal(models.Model): account_sum = query_results[0].get('sum') #TODO need to check if all invoices are in the same currency than the journal!!!! elif self.type in ['sale', 'purchase']: - title = _('Bills you need to pay') if self.type == 'purchase' else _('Invoices owed to you') + title = _('Bills to pay') if self.type == 'purchase' else _('Invoices owed to you') # optimization to find total and sum of invoice that are in draft, open state query = """SELECT state, count(id) AS count, sum(amount_total) AS total FROM account_invoice WHERE journal_id = %s AND state NOT IN ('paid', 'cancel') GROUP BY state;""" self.env.cr.execute(query, (self.id,)) |
