← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701895] [NEW] [Trunk] account_analytic_plan break the creation of inovice from analytic lines

 

Public bug reported:

Hello,

I installed account_analytic_plan, hr_timesheet_invoice module with
latest trunk code.

I got an error:
1. draft invoice
2. Add invoice line with analytic distribution.
3. create the invoice
4. go to chart of analytic accounts
5. double click on Analytic account you will see the Analytic items
6. you can create invoice (invoice analytic lines), it give you the invoice created in list view..
7. double click on it.

  File "/home/mra/workspace/openobject-addons/account/account_move_line.py", line 905, in view_header_get
    res = _('Entries: ')+ (res[0] or '')
TypeError: 'NoneType' object is unsubscriptable

thanks
mra

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/701895

Title:
  [Trunk] account_analytic_plan  break the creation of inovice from
  analytic lines

Status in OpenObject Addons Modules:
  New

Bug description:
  Hello,

  I installed account_analytic_plan, hr_timesheet_invoice module with
  latest trunk code.

  I got an error:
  1. draft invoice
  2. Add invoice line with analytic distribution.
  3. create the invoice
  4. go to chart of analytic accounts
  5. double click on Analytic account you will see the Analytic items
  6. you can create invoice (invoice analytic lines), it give you the invoice created in list view..
  7. double click on it.

    File "/home/mra/workspace/openobject-addons/account/account_move_line.py", line 905, in view_header_get
      res = _('Entries: ')+ (res[0] or '')
  TypeError: 'NoneType' object is unsubscriptable

  thanks
  mra





Follow ups

References