'Action of loading fonts
In lazy mode will scan the filesystem only if there is no founts in the database and sync if no font in CustomTTFonts
In not lazy mode will force scan filesystem and sync'

@api.model
def font_scan(self, lazy=False):

    if lazy:
        fonts = self.search([('path', '!=', '/dev/null')])
        if (not fonts):
            self._scan_disk()
        elif (len(customfonts.CustomTTFonts) == 0):
            self._sync()
    else:
        self._scan_disk()
    return True
