Create a new database with profile Manufacturing
Install the account_anglo_saxon module
add to stock location a ledger account (3000)
Create a product-category -> assign the 4 ledger accounts
Create a product -> assign the just created product-category
Create a purchase order for the product
Confirm the purchase order
Approve the purchase order
While approving the purchase order the below error popup.
Environment_Information :
PlatForm : linux2
Operating System : posix
Operating System Version : [GCC 4.3.2]
Operating System Locale : nl_NL
Python Version : 2.5.2
OpenERP-Client Version : 5.0.1
Last revision Details :
Traceback (most recent call last):
File "/home/jverlaan/openerp/server/bin/netsvc.py", line 240, in dispatch
result = LocalService(service_name)(method, *params)
File "/home/jverlaan/openerp/server/bin/netsvc.py", line 73, in __call__
return getattr(self, method)(*params)
File "/home/jverlaan/openerp/server/bin/service/web_services.py", line 568, in exec_workflow
res = service.exec_workflow(db, uid, object, method, id)
File "/home/jverlaan/openerp/server/bin/osv/osv.py", line 59, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/jverlaan/openerp/server/bin/osv/osv.py", line 137, in exec_workflow
res = self.exec_workflow_cr(cr, uid, obj, method, *args)
File "/home/jverlaan/openerp/server/bin/osv/osv.py", line 130, in exec_workflow_cr
return wf_service.trg_validate(uid, obj, args[0], method, cr)
File "/home/jverlaan/openerp/server/bin/workflow/wkf_service.py", line 81, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/jverlaan/openerp/server/bin/workflow/instance.py", line 49, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/jverlaan/openerp/server/bin/workflow/workitem.py", line 62, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/jverlaan/openerp/server/bin/workflow/workitem.py", line 175, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/jverlaan/openerp/server/bin/workflow/workitem.py", line 183, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/jverlaan/openerp/server/bin/workflow/workitem.py", line 42, in create
process(cr, res, ident, stack=stack)
File "/home/jverlaan/openerp/server/bin/workflow/workitem.py", line 62, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/jverlaan/openerp/server/bin/workflow/workitem.py", line 175, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/jverlaan/openerp/server/bin/workflow/workitem.py", line 183, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/jverlaan/openerp/server/bin/workflow/workitem.py", line 42, in create
process(cr, res, ident, stack=stack)
File "/home/jverlaan/openerp/server/bin/workflow/workitem.py", line 54, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/jverlaan/openerp/server/bin/workflow/workitem.py", line 127, in _execute
id_new = wkf_expr.execute(cr, ident, workitem, activity)
File "/home/jverlaan/openerp/server/bin/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/jverlaan/openerp/server/bin/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env)
File "<string>", line 1, in <module>
File "/home/jverlaan/openerp/server/bin/osv/orm.py", line 168, in <lambda>
return lambda *args, **argv: getattr(self._table, name)(self._cr, self._uid, [self._id], *args, **argv)
File "/home/jverlaan/openerp/addons/purchase/purchase.py", line 316, in action_invoice_create
il.append(self.inv_line_create(a,ol))
TypeError: inv_line_create() takes exactly 5 arguments (3 given)
Create a new database with profile Manufacturing
Install the account_anglo_saxon module
add to stock location a ledger account (3000)
Create a product-category -> assign the 4 ledger accounts
Create a product -> assign the just created product-category
Create a purchase order for the product
Confirm the purchase order
Approve the purchase order
While approving the purchase order the below error popup.
revision-id: <email address hidden>
date: 2009-07-09 10:39:13 +0200
build-date: 2009-07-13 10:02:39 +0200
revno: 1803
branch-nick: server
revision-id: <email address hidden>
date: 2009-07-09 18:45:20 +0530
build-date: 2009-07-13 10:03:20 +0200
revno: 958
branch-nick: client
revision-id: <email address hidden>
date: 2009-07-10 13:15:30 +0530
build-date: 2009-07-13 10:04:16 +0200
revno: 2375
branch-nick: addons
Environment_ Information :
PlatForm : linux2
Operating System : posix
Operating System Version : [GCC 4.3.2]
Operating System Locale : nl_NL
Python Version : 2.5.2
OpenERP-Client Version : 5.0.1
Last revision Details :
Traceback (most recent call last): jverlaan/ openerp/ server/ bin/netsvc. py", line 240, in dispatch service_ name)(method, *params) jverlaan/ openerp/ server/ bin/netsvc. py", line 73, in __call__ jverlaan/ openerp/ server/ bin/service/ web_services. py", line 568, in exec_workflow exec_workflow( db, uid, object, method, id) jverlaan/ openerp/ server/ bin/osv/ osv.py" , line 59, in wrapper jverlaan/ openerp/ server/ bin/osv/ osv.py" , line 137, in exec_workflow workflow_ cr(cr, uid, obj, method, *args) jverlaan/ openerp/ server/ bin/osv/ osv.py" , line 130, in exec_workflow_cr trg_validate( uid, obj, args[0], method, cr) jverlaan/ openerp/ server/ bin/workflow/ wkf_service. py", line 81, in trg_validate validate( cr, id, ident, signal) jverlaan/ openerp/ server/ bin/workflow/ instance. py", line 49, in validate process( cr, witem, ident, signal, force_running, stack=stack) jverlaan/ openerp/ server/ bin/workflow/ workitem. py", line 62, in process 'split_ mode'], ident, signal, stack) jverlaan/ openerp/ server/ bin/workflow/ workitem. py", line 175, in _split_test jverlaan/ openerp/ server/ bin/workflow/ workitem. py", line 183, in _join_test cr,[activity] , inst_id, ident, stack) jverlaan/ openerp/ server/ bin/workflow/ workitem. py", line 42, in create jverlaan/ openerp/ server/ bin/workflow/ workitem. py", line 62, in process 'split_ mode'], ident, signal, stack) jverlaan/ openerp/ server/ bin/workflow/ workitem. py", line 175, in _split_test jverlaan/ openerp/ server/ bin/workflow/ workitem. py", line 183, in _join_test cr,[activity] , inst_id, ident, stack) jverlaan/ openerp/ server/ bin/workflow/ workitem. py", line 42, in create jverlaan/ openerp/ server/ bin/workflow/ workitem. py", line 54, in process jverlaan/ openerp/ server/ bin/workflow/ workitem. py", line 127, in _execute execute( cr, ident, workitem, activity) jverlaan/ openerp/ server/ bin/workflow/ wkf_expr. py", line 68, in execute jverlaan/ openerp/ server/ bin/workflow/ wkf_expr. py", line 58, in _eval_expr jverlaan/ openerp/ server/ bin/osv/ orm.py" , line 168, in <lambda> self._table, name)(self._cr, self._uid, [self._id], *args, **argv) jverlaan/ openerp/ addons/ purchase/ purchase. py", line 316, in action_ invoice_ create append( self.inv_ line_create( a,ol))
File "/home/
result = LocalService(
File "/home/
return getattr(self, method)(*params)
File "/home/
res = service.
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.exec_
File "/home/
return wf_service.
File "/home/
res2 = instance.
File "/home/
workitem.
File "/home/
ok = _split_test(cr, workitem, activity[
File "/home/
_join_test(cr, t[0], t[1], ident, stack)
File "/home/
create(
File "/home/
process(cr, res, ident, stack=stack)
File "/home/
ok = _split_test(cr, workitem, activity[
File "/home/
_join_test(cr, t[0], t[1], ident, stack)
File "/home/
create(
File "/home/
process(cr, res, ident, stack=stack)
File "/home/
result = _execute(cr, workitem, activity, ident, stack)
File "/home/
id_new = wkf_expr.
File "/home/
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/
ret = eval(line, env)
File "<string>", line 1, in <module>
File "/home/
return lambda *args, **argv: getattr(
File "/home/
il.
TypeError: inv_line_create() takes exactly 5 arguments (3 given)