hi all,
i am creating a custom app/module, for which already created some models & views, all working fine (with help of seniors here at odoo.com), today i am trying to add model below but it is not creating, after restart server, tried to check in psql and in developer mode (Settings - Technical - Model) but didn't found this model, in log area (using Pycharm) it is showing a line as: 2021-01-18 12:38:03,108 13585 INFO odoodev odoo.modules.registry: At least one model cache has been invalidated, signaling through the database
from odoo import models, fields
class StoreCats(models.Model):
_name = 'tests.storecats'
_rec_name = 'name'
_description = "Store Categories"
name = fields.Char(string="Store Category", required=True)
description = fields.Char(string="Description")
deleted_at = fields.Datetime()
please help, this is very simple enough model. also have added entry in __init__.py file under models directory. don't know what i am missing or doing wrong...
regards