← 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.

 

Something fishy is going on with the GTK client reading all fields of
the report, including binary function fields such as report_sxw_content,
where the direct binary content is not valid UTF-8 and should not be
serialized at all.

The server should not serialize this way, but the client should not even
be reading these fields at all.

** Changed in: openobject-server
       Status: Confirmed => In Progress

** Changed in: openobject-server
    Milestone: None => 6.0-rc2

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/670778

Title:
  Failed to click on 'Print' button at validate state of Purchase order.

Status in OpenObject Server:
  In Progress

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