diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-08-24 18:37:34 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-08-24 18:37:34 +0200 |
| commit | fbd3bbf2e903a8294d363e28ad5b4e69d65cbd38 (patch) | |
| tree | 423cf6331b37288d6b14a2be55fc31e67836fbd3 | |
| parent | f5259d67a761605773e0c5dad5c0372e5e49e96e (diff) | |
[FIX] hr_timesheet_invoice: correct variable name
Typo introduced during last forward-port (88c0ce0)
| -rw-r--r-- | addons/hr_timesheet_invoice/hr_timesheet_invoice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py index f040bf815d2..8fd79a74032 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py @@ -249,7 +249,7 @@ class account_analytic_line(osv.osv): # key_id is either an account.analytic.account, either a res.partner # don't really care, what's important is the analytic lines that # will be used to create the invoice lines - account = analytic_lines[0].account_id + account = analytic_line_ids[0].account_id partner = account.partner_id # will be the same for every line if (not partner) or not (currency_id): raise UserError(_('Contract incomplete. Please fill in the Customer and Pricelist fields for %s.') % (account.name)) |
