[FIX] website: port of rev a98d60cb11ceee31a6bd9d3734d0e4b565e5d677
[FIX] website: port of rev a98d60cb11ceee31a6bd9d3734d0e4b565e5d677

The forward-port of the above revision missed
the conversion to the new api and that
`context` had to be replaced by `self.env.context`

Fixes #14922
Closes #14923

ygol/odoo,dfang/odoo,ygol/odoo,ygol/odoo,hip-odoo/odoo,ygol/odoo,ygol/odoo,ygol/odoo,hip-odoo/odoo,hip-odoo/odoo,hip-odoo/odoo,hip-odoo/odoo,hip-odoo/odoo,dfang/odoo,ygol/odoo,dfang/odoo,dfang/odoo,dfang/odoo,dfang/odoo