← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 723023] [NEW] sell more than that there is in the stock

 

Public bug reported:

firefox, ubuntu, simplified interface
I want to sell for exemple 3 t-shirt but my real stock equals 0.

there is a bug

Traceback (most recent call last):
  File "/home/openerp/source/server/trunk/openerp/netsvc.py", line 410, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/source/server/trunk/openerp/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/source/addons/trunk/sale/sale.py", line 362, in write
    return super(sale_order, self).write(cr, uid, ids, vals, context=context)
  File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 3382, in write
    'where id IN %s', upd1 + [sub_ids])
  File "/home/openerp/source/server/trunk/openerp/sql_db.py", line 78, in wrapper
    return f(self, *args, **kwargs)
  File "/home/openerp/source/server/trunk/openerp/sql_db.py", line 131, in execute
    res = self._obj.execute(query, params)
DataError: ERREUR:  valeur du champ date/time en dehors des limites : « 02/22/2011 »
LIGNE 1 : ...er set "origin"=NULL,"incoterm"=NULL,"date_order"=E'02/22/20...
                                                               ^
ASTUCE : Peut-être avez-vous besoin d'un paramètrage « datestyle » différent.

** Affects: openobject-client-web
     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/723023

Title:
  sell more than that there is in the stock

Status in OpenERP Web Client:
  New

Bug description:
  firefox, ubuntu, simplified interface
  I want to sell for exemple 3 t-shirt but my real stock equals 0.

  there is a bug

  Traceback (most recent call last):
    File "/home/openerp/source/server/trunk/openerp/netsvc.py", line 410, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/openerp/source/server/trunk/openerp/service/web_services.py", line 598, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/source/addons/trunk/sale/sale.py", line 362, in write
      return super(sale_order, self).write(cr, uid, ids, vals, context=context)
    File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 3382, in write
      'where id IN %s', upd1 + [sub_ids])
    File "/home/openerp/source/server/trunk/openerp/sql_db.py", line 78, in wrapper
      return f(self, *args, **kwargs)
    File "/home/openerp/source/server/trunk/openerp/sql_db.py", line 131, in execute
      res = self._obj.execute(query, params)
  DataError: ERREUR:  valeur du champ date/time en dehors des limites : « 02/22/2011 »
  LIGNE 1 : ...er set "origin"=NULL,"incoterm"=NULL,"date_order"=E'02/22/20...
                                                                 ^
  ASTUCE : Peut-être avez-vous besoin d'un paramètrage « datestyle » différent.



Follow ups

References