I am trying to complete the Odoo 9 theme tutorial located here https://www.odoo.com/documentation/9.0/howtos/themes.html
I having a problem with the "javascript options" section, specifically using the code provided I get the exception "Uncaught ReferenceError: openerp is not defined".
I have tried to read around the problem, but cannot find anybody with the same issue. I have however read in other documentation that the "openerp" global variable has been removed. If this is the case what is best practice for achieving the intent of the tutorial in this section?
I have also had problems with other parts of the tutorial which I have been able to solve through other resources.
Maybe use odoo global variable ?
I have tried this already, the "odoo" variable has no "Website" property, and nothing that is clear, as far as I can see, that replaces it.