Here is my price_comp.py under models folder
from odoo import models, fields, api, _
class PriceComp(models.Model): _name = 'price.comparison' _description = 'Price Comparison'
price_no = fields.Integer('Price Comparison No.') purchreq_no = fields.Integer('Purch. Req. Number') docdate = fields.date('Document Date') reason = fields.Text('Reason') note = fields.Text('Note')
then this is my __init__.py looks like, under models folder too
from . import price_comp