← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 690574] [NEW] Problems validate a lecteurer request on training mod.

 

Public bug reported:

Hi, my test is based on both 5.0.15 and latest trunk version (ubuntu 10.4 desktop Pc, bzr for download openerp from lp),
when I try to add lecteurer I've got this error:

"/home/administrator/Launchpad/openerp/server/bin/addons/training/invoice.py", line 98, in inv_line_create
    a_journal_id = proxy_journal.read(cr, uid, [ journal_list[0] ], ['analytic_journal_id'])[0]['analytic_journal_id'][0]
TypeError: 'bool' object is unsubscriptable

Something isn't present in my journal so it becames false?
Thanks
bye
Nicola

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

** Description changed:

- Hi, my test is based on both 5.0.15 and latest trunk version, 
+ Hi, my test is based on both 5.0.15 and latest trunk version (ubuntu 10.4 desktop Pc, bzr for download openerp from lp),
  when I try to add lecteurer I've got this error:
  
  "/home/administrator/Launchpad/openerp/server/bin/addons/training/invoice.py", line 98, in inv_line_create
-     a_journal_id = proxy_journal.read(cr, uid, [ journal_list[0] ], ['analytic_journal_id'])[0]['analytic_journal_id'][0]
+     a_journal_id = proxy_journal.read(cr, uid, [ journal_list[0] ], ['analytic_journal_id'])[0]['analytic_journal_id'][0]
  TypeError: 'bool' object is unsubscriptable
  
  Something isn't present in my journal so it becames false?
  Thanks
  bye
  Nicola

-- 
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/690574

Title:
  Problems validate a lecteurer request on training mod.

Status in OpenObject Addons Modules:
  New

Bug description:
  Hi, my test is based on both 5.0.15 and latest trunk version (ubuntu 10.4 desktop Pc, bzr for download openerp from lp),
when I try to add lecteurer I've got this error:

"/home/administrator/Launchpad/openerp/server/bin/addons/training/invoice.py", line 98, in inv_line_create
    a_journal_id = proxy_journal.read(cr, uid, [ journal_list[0] ], ['analytic_journal_id'])[0]['analytic_journal_id'][0]
TypeError: 'bool' object is unsubscriptable

Something isn't present in my journal so it becames false?
Thanks
bye
Nicola







Follow ups

References