error al cancelar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| openerp-mexico-localization |
Undecided
|
Vauxoo |
Bug Description
Este es un bugs que me esta saliendo al querer cancelar
OpenERP Server Error
Client Traceback (most recent call last):
File "/opt/openerp/
response[
File "/opt/openerp/
action = self._call_kw(req, model, method, args, {})
File "/opt/openerp/
return getattr(
File "/opt/openerp/
result = self.proxy.
File "/opt/openerp/
result = self.session.
File "/opt/openerp/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/opt/openerp/
return openerp.
File "/opt/openerp/
result = ExportService.
File "/opt/openerp/
res = fn(db, uid, *params)
File "/opt/openerp/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
res = invoice_
AttributeError: 'account.invoice' object has no attribute 'sf_cancel'
Aceptar
Changed in openerp-mexico-localization: | |
status: | New → Won't Fix |
assignee: | nobody → Vauxoo (vauxoo) |
Darío Bahena (dario-mx) wrote : | #2 |
Dear Moi,
I am having the very same error, and I can reproduce at will. The only thing I changed locally, was a couple of validations to allow me remove invoices and attachements (as I am just testing now, so want to remove everything after done). Disabling my changes does not prevent this defect though.
Another couple of remarks:
1) There is a very similar report, which is a bit older:
https:/
and is marked as fixed in 2014-01-02, but I did not find any code from Ariel (fix author) modified around that date (latest is from 2013-07-16).
2) Perhaps my understanding of OpenERP is very limited, but the errors says basically that the object being used (account.invoice) does not have that function (well attribute) defined (sf_cancel).
By searching in the code, the only place where sf_cancel is defined is on ir_attachment_
invoice_obj = self.pool.
res = invoice_
Again, my knowledge of OpenERP is very limited, so my question may be very naive. I am just trying to help in getting this fixed.
Please let me know if there is anything I can collect to research more.
Thanks.
Esto es debido a que están usando un wizard de la versión 6.0
Utilicen el nuevo flujo de trabajo (workflow) de la versión 7.0 con las últimas revnos y no tendrán mayores problemas.
No se ha podido replicar, por lo tanto no se ha podido solucionar.
Intenta descargar la última revno y quitar todo cambio local (solo si es el caso)