← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 842698] [NEW] cannot create journal items

 

Public bug reported:


>From : Accounting/Customers (Suppliers)/Journal Items : click new,
nothing happens

>From : Accounting / Journal Entries / Journal Items : 
- the account field should be automatically completed from the partner field 
- complete manually data, enter, bug : 

Client side : 
Client Traceback (most recent call last):
  File "/home/aline/openerp/web/openerp-web/addons/web/common/dispatch.py", line 165, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 684, in create
    r = m.create(data, req.session.eval_context(req.context))
  File "/home/aline/openerp/web/openerp-web/addons/web/common/backendrpc.py", line 26, in <lambda>
    return lambda *l:self._session.execute(self._model, name, *l)
  File "/home/aline/openerp/web/openerp-web/addons/web/common/backendrpc.py", line 87, in execute
    r = self.proxy('object').execute(self._db, self._uid, self._password, model, func, *l, **d)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])


server side : 
  File "/home/aline/openerp/server/trunk/openerp/sql_db.py", line 153, in wrapper
    return f(self, *args, **kwargs)
  File "/home/aline/openerp/server/trunk/openerp/sql_db.py", line 213, in execute
    res = self._obj.execute(query, params)
ProgrammingError: ERREUR:  l'opérateur n'existe pas : integer = boolean
LIGNE 1 : ...tate FROM account_journal_period WHERE journal_id = false AN...
                                                               ^
ASTUCE : Aucun opérateur ne correspond au nom donné et aux types d'arguments.
Vous devez ajouter des conversions explicites de type.

** Affects: openerp-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/842698

Title:
  cannot create journal items

Status in OpenERP Web:
  New

Bug description:

  From : Accounting/Customers (Suppliers)/Journal Items : click new,
  nothing happens

  From : Accounting / Journal Entries / Journal Items : 
  - the account field should be automatically completed from the partner field 
  - complete manually data, enter, bug : 

  Client side : 
  Client Traceback (most recent call last):
    File "/home/aline/openerp/web/openerp-web/addons/web/common/dispatch.py", line 165, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 684, in create
      r = m.create(data, req.session.eval_context(req.context))
    File "/home/aline/openerp/web/openerp-web/addons/web/common/backendrpc.py", line 26, in <lambda>
      return lambda *l:self._session.execute(self._model, name, *l)
    File "/home/aline/openerp/web/openerp-web/addons/web/common/backendrpc.py", line 87, in execute
      r = self.proxy('object').execute(self._db, self._uid, self._password, model, func, *l, **d)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
      return self.__send(self.__name, args)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
      return self._parse_response(h.getfile(), sock)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
      return u.close()
    File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
      raise Fault(**self._stack[0])

  
  server side : 
    File "/home/aline/openerp/server/trunk/openerp/sql_db.py", line 153, in wrapper
      return f(self, *args, **kwargs)
    File "/home/aline/openerp/server/trunk/openerp/sql_db.py", line 213, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: ERREUR:  l'opérateur n'existe pas : integer = boolean
  LIGNE 1 : ...tate FROM account_journal_period WHERE journal_id = false AN...
                                                                 ^
  ASTUCE : Aucun opérateur ne correspond au nom donné et aux types d'arguments.
  Vous devez ajouter des conversions explicites de type.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/842698/+subscriptions


Follow ups

References