← Back to team overview

openerp-india team mailing list archive

[Bug 956100] Re: Error if start period is same as end period when generating Chart of Accounts

 

Commited in revision 6512 of 6.1.

** Changed in: openobject-addons
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/956100

Title:
  Error if start period is same as end period when generating Chart of
  Accounts

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  If you want to view the Chart of Accounts for 1 period and thus select
  the same start period and end period, you get the following message:

  Client Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 180, in dispatch
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\controllers\main.py", line 829, in search_read
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\controllers\main.py", line 867, in do_search_read
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 611, in send

  
  Server Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\web\common\http.py", line 592, in send
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\netsvc.py", line 360, in dispatch_rpc
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\service\web_services.py", line 572, in dispatch
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\osv\osv.py", line 167, in execute_kw
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\osv\osv.py", line 121, in wrapper
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\osv\osv.py", line 176, in execute
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\osv\osv.py", line 164, in execute_cr
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\osv\orm.py", line 3381, in read
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\osv\orm.py", line 3492, in _read_flat
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\.\openerp\osv\fields.py", line 1132, in get
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\account\account.py", line 290, in __compute
    File "C:\Program Files (x86)\OpenERP 6.1-1\server\openerp\addons\account\account_move_line.py", line 89, in _query_get
  TypeError: 'int' object is not iterable

  Doing the same in the GTK client results in '0' balances.

  I'd expect either a message that similar periods cannot be selected OR
  the totals for the selected period.

  Running 6.1.1 locally on Win 7 with only OpenErp applications.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/956100/+subscriptions


References