c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #21996
[Bug 758510] Re: Error al pulsar Realizar Pagos en las Ordenes de Cobro
Ok, el problema debería haber quedado solucionado en la revisión 5392
(http://bazaar.launchpad.net/~openerp-commiter/openobject-
addons/extra-6.0/revision/5392) de los extra-addons 6.0 (no afectaba a
los extra-addons 5.0).
Gracias por reportarlo! :)
** Changed in: openerp-spain
Status: In Progress => Fix Released
--
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:
Fix Released
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