You can't distribute a custom view or report built for Odoo, not
usable on other platform than Odoo, with an another licence than
AGPL.

But have in mind that AGPL are pointed to your customer. If your
customer wants the source code they have bought from you, you have
to provide them with it. Your customer are free to change in your
code and redistribute it to others if they want to. But you don't
have to provide your code to a third part if you don't want to. You
can create a portfolio of reports that you sell to your customers as
long as you give them the same AGPL licence that you got from Odoo.