Great!
What about '_get_message(' method.
I think this method shoud be overriden too because it will be called by many modules, I don't know why, probably an extra security from Odoo.
Hello odoosers!!
1)
_get_message() is used only to prepare the message.
The various model that re-define id, are just overriding it in order to add info to the message.
I recommend not altering the _get_message() method because it is tested by test_user_count() in odoo/addons/mail/tests/test_update_notification.py ... so you might break the tests.
Otherwise need to bypass the test_user_count() method as well.
2)
Then you can also directly disable the hidden cron (ir.cron) that execute the check.
XML:
<record id="mail.ir_cron_module_update_notification" model="ir.cron">
<field name="active" eval="False"/>
</record>
<record id="base.ir_cron_act" model="ir.actions.act_window">
<field name="domain" eval="[]"/>
</record>
3)
Odoo 10 11 12 automatically call home with the JS client
I remind everyone to consider that there is also the JS client that can communicate with home. In this case the communication could originate from your browser. There is an
interesting article in Chinese that discusses this. It has been encountered in versions 10, 11 and 12. Currently I don't see such solutions implemented from 13 onwards, but be careful, sniff and grep!
4)
I point out to everyone that bypassing these controls is unethical, since the business model of Odoo S.A. supports the maintenance of the Community version, that is the heart of Odoo.
If you do it for personal use, study, development test, research... ok.
But if you're doing it to run your company business, I think it's extremely unethical.
Write your own modules instead! It gives much more satisfaction, more control and you will always be free.