upgrade-binary-content (U1608)#
ir.http.binary_content(), removed in Odoo 16.0.
Applies to Odoo 16.0 and later.
What it does#
Reports calls to binary_content().
Why is this bad?#
Odoo 16.0 removed ir.http.binary_content: the call raises
AttributeError. Use env["ir.binary"]._get_stream_from(...) (or
_get_image_stream_from) and stream.get_response().