25 lines
894 B
Python
25 lines
894 B
Python
# -*- coding: utf-8 -*-
|
|
##########################################################
|
|
### Disclaimer ###
|
|
##########################################################
|
|
### Lately, I started to get very busy after I ###
|
|
### started my new position and I couldn't keep up ###
|
|
### with clients demands & requests for customizations ###
|
|
### & upgrades, so I decided to publish this module ###
|
|
### for community free of charge. Building on that, ###
|
|
### I expect respect from whoever gets his/her hands ###
|
|
### on my code, not to copy nor rebrand the module & ###
|
|
### sell it under their names. ###
|
|
##########################################################
|
|
|
|
|
|
from odoo import models
|
|
|
|
class Base(models.AbstractModel):
|
|
|
|
_inherit = 'base'
|
|
|
|
def firebase_notification(self,users=None):
|
|
return True
|
|
|