Hi,

When I perform a procurement and then go to Manufacturing->Procurement
Orders, the procurement is in status Exception.

When I select the procurement there is no text in the Latest Error field,
and the buttons Retry and Cancel don't work.
The virtual stock is calculated according to the procurement, but there is
no way to create a Purchase order from the procurement.

In the logfile I see the following trace:
[2009-03-27 00:18:32,512] ERROR:orm:Programming error: field '__conform__'
does not exist in object 'account.tax' !
[2009-03-27 00:18:32,512] ERROR:orm:Programming error: field '__conform__'
does not exist in object 'account.tax' !
[2009-03-27 00:18:32,513] ERROR:web-services:[01]: Traceback (most recent
call last):
[2009-03-27 00:18:32,513] ERROR:web-services:[02]:   File
"/usr/lib/openerp-server/osv/osv.py", line 59, in wrapper
[2009-03-27 00:18:32,514] ERROR:web-services:[03]:     return f(self,
dbname, *args, **kwargs)
[2009-03-27 00:18:32,514] ERROR:web-services:[04]:   File
"/usr/lib/openerp-server/osv/osv.py", line 137, in exec_workflow
[2009-03-27 00:18:32,514] ERROR:web-services:[05]:     res =
self.exec_workflow_cr(cr, uid, obj, method, *args)
[2009-03-27 00:18:32,514] ERROR:web-services:[06]:   File
"/usr/lib/openerp-server/osv/osv.py", line 130, in exec_workflow_cr
[2009-03-27 00:18:32,514] ERROR:web-services:[07]:     return
wf_service.trg_validate(uid, obj, args[0], method, cr)
[2009-03-27 00:18:32,514] ERROR:web-services:[08]:   File
"/usr/lib/openerp-server/workflow/wkf_service.py", line 81, in trg_validate
[2009-03-27 00:18:32,514] ERROR:web-services:[09]:     res2 =
instance.validate(cr, id, ident, signal)
[2009-03-27 00:18:32,514] ERROR:web-services:[10]:   File
"/usr/lib/openerp-server/workflow/instance.py", line 49, in validate
[2009-03-27 00:18:32,515] ERROR:web-services:[11]:     workitem.process(cr,
witem, ident, signal, force_running, stack=stack)
[2009-03-27 00:18:32,515] ERROR:web-services:[12]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 62, in process
[2009-03-27 00:18:32,515] ERROR:web-services:[13]:     ok = _split_test(cr,
workitem, activity['split_mode'], ident, signal, stack)
[2009-03-27 00:18:32,515] ERROR:web-services:[14]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 171, in _split_test
[2009-03-27 00:18:32,515] ERROR:web-services:[15]:     _join_test(cr, t[0],
t[1], ident, stack)
[2009-03-27 00:18:32,515] ERROR:web-services:[16]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 179, in _join_test
[2009-03-27 00:18:32,515] ERROR:web-services:[17]:     create(cr,[activity],
inst_id, ident, stack)
[2009-03-27 00:18:32,516] ERROR:web-services:[18]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 42, in create
[2009-03-27 00:18:32,516] ERROR:web-services:[19]:     process(cr, res,
ident, stack=stack)
[2009-03-27 00:18:32,516] ERROR:web-services:[20]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 62, in process
[2009-03-27 00:18:32,516] ERROR:web-services:[21]:     ok = _split_test(cr,
workitem, activity['split_mode'], ident, signal, stack)
[2009-03-27 00:18:32,516] ERROR:web-services:[22]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 171, in _split_test
[2009-03-27 00:18:32,516] ERROR:web-services:[23]:     _join_test(cr, t[0],
t[1], ident, stack)
[2009-03-27 00:18:32,516] ERROR:web-services:[24]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 179, in _join_test
[2009-03-27 00:18:32,516] ERROR:web-services:[25]:     create(cr,[activity],
inst_id, ident, stack)
[2009-03-27 00:18:32,517] ERROR:web-services:[26]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 42, in create
[2009-03-27 00:18:32,517] ERROR:web-services:[27]:     process(cr, res,
ident, stack=stack)
[2009-03-27 00:18:32,517] ERROR:web-services:[28]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 62, in process
[2009-03-27 00:18:32,517] ERROR:web-services:[29]:     ok = _split_test(cr,
workitem, activity['split_mode'], ident, signal, stack)
[2009-03-27 00:18:32,517] ERROR:web-services:[30]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 171, in _split_test
[2009-03-27 00:18:32,517] ERROR:web-services:[31]:     _join_test(cr, t[0],
t[1], ident, stack)
[2009-03-27 00:18:32,517] ERROR:web-services:[32]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 179, in _join_test
[2009-03-27 00:18:32,518] ERROR:web-services:[33]:     create(cr,[activity],
inst_id, ident, stack)
[2009-03-27 00:18:32,518] ERROR:web-services:[34]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 42, in create
[2009-03-27 00:18:32,518] ERROR:web-services:[35]:     process(cr, res,
ident, stack=stack)
[2009-03-27 00:18:32,518] ERROR:web-services:[36]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 54, in process
[2009-03-27 00:18:32,518] ERROR:web-services:[37]:     result = _execute(cr,
workitem, activity, ident, stack)
[2009-03-27 00:18:32,518] ERROR:web-services:[38]:   File
"/usr/lib/openerp-server/workflow/workitem.py", line 126, in _execute
[2009-03-27 00:18:32,518] ERROR:web-services:[39]:     id_new =
wkf_expr.execute(cr, ident, workitem, activity)
[2009-03-27 00:18:32,519] ERROR:web-services:[40]:   File
"/usr/lib/openerp-server/workflow/wkf_expr.py", line 68, in execute
[2009-03-27 00:18:32,519] ERROR:web-services:[41]:     return _eval_expr(cr,
ident, workitem, activity['action'])
[2009-03-27 00:18:32,519] ERROR:web-services:[42]:   File
"/usr/lib/openerp-server/workflow/wkf_expr.py", line 58, in _eval_expr
[2009-03-27 00:18:32,519] ERROR:web-services:[43]:     ret = eval(line, env)
[2009-03-27 00:18:32,519] ERROR:web-services:[44]:   File "<string>", line
1, in <module>
[2009-03-27 00:18:32,519] ERROR:web-services:[45]:   File
"/usr/lib/openerp-server/osv/orm.py", line 160, in <lambda>
[2009-03-27 00:18:32,519] ERROR:web-services:[46]:     return lambda *args,
**argv: getattr(self._table, name)(self._cr, self._uid, [self._id], *args,
**argv)
[2009-03-27 00:18:32,519] ERROR:web-services:[47]:   File
"/usr/lib/openerp-server/addons/mrp/mrp.py", line 1077, in action_po_assign
[2009-03-27 00:18:32,520] ERROR:web-services:[48]:     'fiscal_position':
partner.property_account_position and
partner.property_account_position.idor False
[2009-03-27 00:18:32,520] ERROR:web-services:[49]:   File
"/usr/lib/openerp-server/osv/orm.py", line 2449, in create
[2009-03-27 00:18:32,520] ERROR:web-services:[50]:
self._columns[field].set(cr, self, id_new, field, vals[field], user,
context)
[2009-03-27 00:18:32,520] ERROR:web-services:[51]:   File
"/usr/lib/openerp-server/osv/fields.py", line 431, in set
[2009-03-27 00:18:32,520] ERROR:web-services:[52]:     obj.create(cr, user,
act[2], context=context)
[2009-03-27 00:18:32,520] ERROR:web-services:[53]:   File
"/usr/lib/openerp-server/osv/orm.py", line 2449, in create
[2009-03-27 00:18:32,520] ERROR:web-services:[54]:
self._columns[field].set(cr, self, id_new, field, vals[field], user,
context)
[2009-03-27 00:18:32,521] ERROR:web-services:[55]:   File
"/usr/lib/openerp-server/osv/fields.py", line 536, in set
[2009-03-27 00:18:32,521] ERROR:web-services:[56]:     cr.execute('insert
into '+self._rel+' ('+self._id1+','+self._id2+') values (%s, %s)', (id,
act_nbr))
[2009-03-27 00:18:32,521] ERROR:web-services:[57]:   File
"/usr/lib/openerp-server/sql_db.py", line 76, in wrapper
[2009-03-27 00:18:32,521] ERROR:web-services:[58]:     return f(self, *args,
**kwargs)
[2009-03-27 00:18:32,521] ERROR:web-services:[59]:   File
"/usr/lib/openerp-server/sql_db.py", line 118, in execute
[2009-03-27 00:18:32,521] ERROR:web-services:[60]:     res =
self._obj.execute(query, params)
[2009-03-27 00:18:32,521] ERROR:web-services:[61]: ProgrammingError: can't
adapt

I can get it working by setting a Fiscal Position for the supplier relation,
but that shouldn't be necessary.

Still I am not able to retry the failed exceptions.....

Anyone seen this before?

Running 5.0.0-3

Regards,
Freerk
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to