On 30/06/13 09:37 -0700, Tarek Kilani wrote:
> Hi,
> 
> I have been fiddling with tryton for a while and today I wanted to make a 
> purchase for a product (actually a raw material, so correct me here if I'm 
> doing or understanding something wrong). Making a "Draft"-Purchase was no 
> problem and making a quotation for it was no problem. Only when confirming 
> the purchase gives me the following error message:
> 
> Traceback (most recent call last):
> >   File "/dist-packages/trytond/protocols/jsonrpc.py", line 108, in 
> > _marshaled_dispatch
> >     response['result'] = dispatch_method(method, params)
> >   File "/dist-packages/trytond/protocols/jsonrpc.py", line 147, in 
> > _dispatch
> >     res = dispatch(*args)
> >   File "/dist-packages/trytond/protocols/dispatcher.py", line 155, in 
> > dispatch
> >     res = getattr(obj, method)(*args_without_context, **kargs)
> >   File "/dist-packages/trytond/model/modelworkflow.py", line 113, in 
> > workflow_trigger_validate
> >     instance_obj.validate(instance, signal=signal)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 222, in validate
> >     force_running=force_running)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 334, in process
> >     res = self._split_test(workitem, activity.split_mode, signal)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 467, in 
> > _split_test
> >     self._join_test(transition, instance)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 479, in 
> > _join_test
> >     'state': 'active',
> >   File "/dist-packages/trytond/workflow/workflow.py", line 313, in create
> >     self.process(workitem)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 334, in process
> >     res = self._split_test(workitem, activity.split_mode, signal)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 467, in 
> > _split_test
> >     self._join_test(transition, instance)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 479, in 
> > _join_test
> >     'state': 'active',
> >   File "/dist-packages/trytond/workflow/workflow.py", line 313, in create
> >     self.process(workitem)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 334, in process
> >     res = self._split_test(workitem, activity.split_mode, signal)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 467, in 
> > _split_test
> >     self._join_test(transition, instance)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 479, in 
> > _join_test
> >     'state': 'active',
> >   File "/dist-packages/trytond/workflow/workflow.py", line 313, in create
> >     self.process(workitem)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 334, in process
> >     res = self._split_test(workitem, activity.split_mode, signal)
> >   File "/dist-packages/trytond/workflow/workflow.py", line 445, in 
> > _split_test
> >     if self._activate_transition(workitem, transition, signal):
> >   File "/dist-packages/trytond/workflow/workflow.py", line 434, in 
> > _activate_transition
> >     return test_fct(model_obj.browse(workitem.instance.res_id))
> > TypeError: 'Function' object is not callable 

You should give us which versions you are using.
At least it is at most a 2.2 (which already starts to be quite old).

> Now here I would like to point out that I do not know what tryton means 
> with "Quotation", so if someone could explain to me the whole purchase 
> process of tryton would be great and would give to other noobies some 
> orientation.

Quotation is when the purchase is sent for quotation to the supplier.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpCbDZScRPFn.pgp
Description: PGP signature

Reply via email to