← Back to team overview

openerp-india team mailing list archive

[Bug 1205271] Re: [Trunk] Sales team dashboard : forecast amount digit len not more tn 10 or G

 

** Branch unlinked: lp:~openerp-dev/openobject-addons/trunk-
bug-1205271-dharmraj

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

Title:
  [Trunk] Sales team dashboard :  forecast amount digit len not more tn
  10 or G

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Hello,

  Tested with latest trunk Db on rnbt.
  Open sale team dashboard ,
  Try to edit the forecast amount 12345678901
  unable to add digit len more tn 10.

  Expected:
  not trace back,  Unable to set more tn  K,M,G So it's better to show the warning like:  it's cross max limit...

  Result:
  Gives following trace:

  Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/addons/web/http.py", line 308, in dispatch
      response["result"] = self._call_function(**self.params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/addons/web/http.py", line 184, in _call_function
      return self.func(*args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/addons/web/http.py", line 1043, in nfunc
      return func(*args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/addons/web/controllers/main.py", line 1094, in call_kw
      return self._call_kw(model, method, args, kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/addons/web/controllers/main.py", line 1086, in _call_kw
      return getattr(request.session.model(model), method)(*args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/addons/web/http.py", line 573, in proxy
      result = meth(cr, request.uid, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/addons/sale_crm/sale_crm.py", line 90, in action_forecast
      return self.write(cr, uid, [id], {'invoiced_forecast': value}, context=context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/addons/mail/mail_thread.py", line 355, in write
      result = super(mail_thread, self).write(cr, uid, ids, values, context=context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/osv/orm.py", line 4180, in write
      'where id IN %s', upd1 + [sub_ids])
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/sql_db.py", line 156, in wrapper
      return f(self, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-16076/server/openerp/sql_db.py", line 221, in execute
      res = self._obj.execute(query, params)
  DataError: integer out of range

  Thanks & Regards,
  Devishree(DBR)

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


References