erro ao validar um ordem de compras
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Brazilian Portuguese Localization (pt_BR) |
Fix Released
|
Critical
|
Renato Lima - http://www.akretion.com |
Bug Description
Environment Information :
System : Windows-32bit
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : pt_BR.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 "/opt/openerp-
result = ExportService.
File "/opt/openerp-
res = fn(db, uid, *params)
File "/opt/openerp-
return f(self, dbname, *args, **kwargs)
File "/opt/openerp-
res = self.exec_
File "/opt/openerp-
return wf_service.
File "/opt/openerp-
res2 = instance.
File "/opt/openerp-
workitem.
File "/opt/openerp-
ok = _split_test(cr, workitem, activity[
File "/opt/openerp-
_join_test(cr, t[0], t[1], ident, stack)
File "/opt/openerp-
create(
File "/opt/openerp-
process(cr, res, ident, stack=stack)
File "/opt/openerp-
ok = _split_test(cr, workitem, activity[
File "/opt/openerp-
_join_test(cr, t[0], t[1], ident, stack)
File "/opt/openerp-
create(
File "/opt/openerp-
process(cr, res, ident, stack=stack)
File "/opt/openerp-
ok = _split_test(cr, workitem, activity[
File "/opt/openerp-
_join_test(cr, t[0], t[1], ident, stack)
File "/opt/openerp-
create(
File "/opt/openerp-
process(cr, res, ident, stack=stack)
File "/opt/openerp-
result = _execute(cr, workitem, activity, ident, stack)
File "/opt/openerp-
id_new = wkf_expr.
File "/opt/openerp-
return _eval_expr(cr, ident, workitem, activity['action'])
File "/opt/openerp-
ret = eval(line, env, nocopy=True)
File "/opt/openerp-
return eval(test_
File "", line 1, in <module>
File "/opt/openerp-
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/opt/openerp-
if order.invoice_
File "/opt/openerp-
raise AttributeError(e)
AttributeError: "Field 'invoice_id' does not exist in object 'browse_
Este erro acontece porque no módulo purchase, foi alterado no objeto purchase.order o relacionado para account.invoice como mais detalhes: https:/ /bugs.launchpad .net/openobject -addons/ +bug/676169 foi corrigido nos métodos de criação da nota fiscal no modulo l10n_br_purchase e disponivel na revisão 137 da localização brasileira.
Renato Lima - http:// www.akretion. com