← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 758510] Re: Error al pulsar Realizar Pagos en las Ordenes de Cobro

 

** Changed in: openerp-spain
     Assignee: (unassigned) => Borja López Soilán (NeoPolus) (borjals)

** Changed in: openerp-spain
   Importance: Undecided => Low

** Changed in: openerp-spain
   Importance: Low => Medium

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

Title:
  Error al pulsar Realizar Pagos en las Ordenes de Cobro

Status in OpenERP Spanish Localization Project:
  In Progress

Bug description:
  Si pulsamos sobre Realizar Pagos en una orden de Cobro (Estado
  Confirmada) devuelve un mensaje de error si tenemos el campo Crear
  asientos contables = "Por pago directo".

  El error devuelto es:

  Environment Information : 
  System : Windows-XP-5.1.2600-SP3
  OS Name : nt
  Operating System Release : XP
  Operating System Version : 5.1.2600
  Operating System Architecture : 32bit
  Operating System Locale : es_ES.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.0-rc2
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/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.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/account_payment_extension/payment.py", line 238, in set_done
      line_amount = line.type == 'payment' and amount or -amount
  UnboundLocalError: local variable 'amount' referenced before assignment



References