It is currently Sun Feb 12, 2012 10:16 am

All times are UTC + 2 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Print workflow in 5.0?
PostPosted: Sat May 02, 2009 4:17 pm 
Offline

Joined: Tue Mar 04, 2008 11:41 am
Posts: 319
Location: Athens, Greece
I can see that server/bin/addons/base/ir/workflow/print_workflow.py is still there, pointing to some 'ir.workflow' object (!?) ..

It seems that in v5.00 there is no way to 'call' that report. Can you point me to any hint as to re-enable some graphviz output for the workflows?


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 05, 2009 4:12 pm 
Offline

Joined: Tue Mar 04, 2008 11:41 am
Posts: 319
Location: Athens, Greece
SOLVED..

Hacked the client (gtk) to call the report and present the pdf.

Details inside. ;)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 27, 2009 7:26 pm 
Offline

Joined: Tue Mar 04, 2008 11:41 am
Posts: 319
Location: Athens, Greece
A little explanation on the hack:

On the GTK client side, I have merely exposed the 'Print workflow' functionality in the 'print' menu of objects.
http://git.hellug.gr/cgi-bin/gitweb.cgi ... 201e70b742

At the server side, just a few improvements on the workflow creation.

http://git.hellug.gr/cgi-bin/gitweb.cgi ... s=workflow

Usage:
go to the object that should have the workflow, i.e. invoice. Don't try that on the workflow list/form itself!
Select the 'print workflow' print action from the toolbar or menu.
As long as the object (eg. invoice) does really have a workflow attached to it, the pdf will appear.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP