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

 

This should be fixed at server revision 3086
odo@xxxxxxxxxxx-20101209230742-gwf8e4zvmk43k6ln

After investigating further, I don't think a client-side patch would
work as an optimization here (we would like to avoid transmitting some
binary fields like report_rml_content, but there are other binary
function fields that we need, so switching bin_size to True would not
work). But anyway the server-side fix should prevent the error in both
clients.

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

-- 
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:
  Fix Released

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