← Back to team overview

openerp-india team mailing list archive

Re: [Bug 912223] Re: Close Fiascla Year in Accounting

 

Hi,
Following revision 4988 seems to fix the problem.
We try to do some test next week and close bug if the results are OK.

Thanks

Yves MALATESTA
CYM - Choose Your Model
Gérant

yves.malatesta@xxxxxxxxx
www.chyomo.fr

Mob : 	+33 786 180 818
Voip : 	+33 981 499 407
Fix :  	+33 297 937 148
Fax:       +33 981 403 057

CYM-Choose Your Model - Gaincru, 56140 RUFFIAC - R.C.S. VANNES 522 088
988

-----Message d'origine-----
De : bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] De la part de Jignesh Rathod(OpenERP)
Envoyé : jeudi 5 janvier 2012 14:35
À : yves.malatesta@xxxxxxxxxx
Objet : [Bug 912223] Re: Close Fiascla Year in Accounting

Hello MALATESTA Yves ,

have checked this issue with latest trunk and stable both but I did not face any trace back at closing fiscal year so would you please provide more information like video or revision no regarding this issue.  
 
I have checked at revision:

Stable 6.0.3 :

       Addons : 4984
       Server : 3559
       Gtk - Client : 1920
       web client : 4752
       
Thanks and waiting for replay. 

** Changed in: openobject-server
       Status: New => Incomplete

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/912223

Title:
  Close Fiascla Year in Accounting

Status in OpenERP Server:
  Incomplete

Bug description:
  When we want to close Fiascal Year we have this Error Report:

  
  Environment Information : 
  System : Linux-2.6.38-13-generic-i686-with-Ubuntu-11.04-natty
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 11.04
  Release:	11.04
  Codename:	natty
  Operating System Release : 2.6.38-13-generic
  Operating System Version : #53-Ubuntu SMP Mon Nov 28 19:23:39 UTC 2011
  Operating System Architecture : 32bit
  Operating System Locale : fr_FR.UTF8
  Python Version : 2.7.1+
  OpenERP-Client Version : 6.0.3
  Last revision No. & ID :1918 olt@xxxxxxxxxxx-20111215072039-is8ffprxux3mc221
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/malatesta/openerp/addons/account/wizard/account_fiscalyear_close.py", line 234, in data_save
      obj_acc_move.validate(cr, uid, [move_id], context=context)
    File "/home/malatesta/openerp/addons/account/account.py", line 1508, in validate
      self._centralise(cr, uid, move, 'debit', context=context)
    File "/home/malatesta/openerp/addons/account/account.py", line 1396, in _centralise
      if not currency_obj.is_zero(cr, uid, currency_id, row['amount_currency']):
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/addons/base/res/res_currency.py", line 100, in is_zero
      return abs(self.round(cr, uid, currency, amount)) < currency.rounding
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/addons/base/res/res_currency.py", line 97, in round
      return round(amount / currency.rounding) * currency.rounding
  TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'

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

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

Title:
  Close Fiascla Year in Accounting

Status in OpenERP Server:
  Incomplete

Bug description:
  When we want to close Fiascal Year we have this Error Report:

  
  Environment Information : 
  System : Linux-2.6.38-13-generic-i686-with-Ubuntu-11.04-natty
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 11.04
  Release:	11.04
  Codename:	natty
  Operating System Release : 2.6.38-13-generic
  Operating System Version : #53-Ubuntu SMP Mon Nov 28 19:23:39 UTC 2011
  Operating System Architecture : 32bit
  Operating System Locale : fr_FR.UTF8
  Python Version : 2.7.1+
  OpenERP-Client Version : 6.0.3
  Last revision No. & ID :1918 olt@xxxxxxxxxxx-20111215072039-is8ffprxux3mc221
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/malatesta/openerp/addons/account/wizard/account_fiscalyear_close.py", line 234, in data_save
      obj_acc_move.validate(cr, uid, [move_id], context=context)
    File "/home/malatesta/openerp/addons/account/account.py", line 1508, in validate
      self._centralise(cr, uid, move, 'debit', context=context)
    File "/home/malatesta/openerp/addons/account/account.py", line 1396, in _centralise
      if not currency_obj.is_zero(cr, uid, currency_id, row['amount_currency']):
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/addons/base/res/res_currency.py", line 100, in is_zero
      return abs(self.round(cr, uid, currency, amount)) < currency.rounding
    File "/usr/local/lib/python2.7/dist-packages/openerp-server/addons/base/res/res_currency.py", line 97, in round
      return round(amount / currency.rounding) * currency.rounding
  TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'

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


References