← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670778] Re: Failed to click on 'Print' button at validate state of Purchase order.

 

It happens with XMLRPC connection.
Looks like a server issue.
Please recheck and provide information.
Thanks.

-- 
Failed to click on 'Print' button at validate state of Purchase order.
https://bugs.launchpad.net/bugs/670778
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Confirmed

Bug description:
The Following Traceback will come :

Environment Information : 
System : Linux-2.6.32-21-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-21-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_IN.ISO8859-1
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1672 launchpad_translations_on_behalf_of_openerp-20101104045013-wa4nb44ew8m70unc
'utf8' codec can't decode byte 0xaf in position 10: unexpected code byte

Not Facing any server traceback.

The actual problem in following line of code:
<button name="%(report_purchase_order)d" string="Print" states="approved" type="action" icon="gtk-print"/>
Here need to pass action not report xml id or define it as a object type and return the report from that methods.

Thanks.





References