[6.1] shipping_api_ups: Shipping label returned is improperly sized/formatted
Bug #1097857 reported by
Brett Lehrer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP-USA Localization |
New
|
Undecided
|
Unassigned |
Bug Description
When processing the shipping label, a few things go wrong. First, the requested label dimensions sent (hardcoded) in the XML confirm request are ignored because it's also requesting a GIF. Second, the GIF returned is always 800x1400 pixels, even though the label only takes up 800x1200 pixels. A single line of code after "new_im = new_im.rotate(270)" in shipping_
new_im = new_im.
Not cropping out that unused space results in the PDF label's aspect ratio being distorted, which may make the MaxiCode more difficult to read from a UPS scanner (and cost you money and/or your production API key).
To post a comment you must log in.