Sunday, September 6, 2020
1 change · master
Miscellaneous changes
In order for a product picture to be accepted by Ebay API, it should respect certain rules defined at https://developer.ebay.com/DevZone/guides/features-guide/default.html#development/Pictures-Intro.html One of them is that: "The maximum image file size is 12 MB." Before this commit: The maximum image file size is 12 MB was computed as `img.size[0] * img.size[1] <= 12000`, which does not comply to the rule After this commit: The way to compute the size of the picture is fixed OP
Original PR description
In order for a product picture to be accepted by Ebay API, it should respect certain rules defined at https://developer.ebay.com/DevZone/guides/features-guide/default.html#development/Pictures-Intro.html One of them is that: "The maximum image file size is 12 MB." Before this commit: The maximum image file size is 12 MB was computed as `img.size[0] * img.size[1] <= 12000`, which does not comply to the rule After this commit: The way to compute the size of the picture is fixed OPW-2319651 Forward-Port-Of: odoo/enterprise#12693