Model not found in odoo version 11

Submitted 3 years, 6 months ago
Ticket #208
Views 538
Language/Framework Other
Priority Medium
Status Closed

Hello! need to ask that, do you guys helps in odoo framework too?

I had created a module in odoo and created 2 models in it

1. Course

2. Sesssion

course model is working fine but for the session it says model not found.

Submitted on Oct 04, 20

Sorry as it's community based product, if anyone know about this then some techions will help you. But right now we don't have Teckiy SME'S on this framework, i would suggest you to provide more details about your issue also change your title - Vengat 3 years, 6 months ago (Edited)
add a comment

2 Answers

Sorry, I am not much familiar with Odoo, but from your details it could be some config setting issue for session model.

May be check this stack overflow discussion Odoo does not find model and let me know if it helps. May be we can start investigate together.

Submitted 3 years, 6 months ago


Verified

Issue has been resolve Thanks.

I was doing a mistake while defining the attributes of model class as:

class NmeOfModel(models.Model):

description = fields.char(required=True)

it should be like this :

description = fields.Char(required=True)

in odoo it doesn't give me attribute error it just said model not found.

I am new in odoo that's why couldn't get it earlier

Submitted 3 years, 6 months ago

can you click on resolved button you can see next to techions answering vote button?..Otherwise, we will close the ticket one who answered your ticket and remove these answers from your comment. This portion only for answering.

- Vengat 3 years, 6 months ago

Can you update your answer what you have fixed?

- Vengat 3 years, 6 months ago

I was doing a mistake while defining the attributes of model class as: class NmeOfModel(models.Model): description = fields.char(required=True)

it should be like this :

description = fields.Char(required=True)

in odoo it doesn't give me attribute error it just said model not found.

I am new in odoo that's why couldn't get it earlier

- moazamrana22 3 years, 6 months ago

Hey can you edit your answer and update it?. kindly dont create comments. Your answer would help others to avoid create new tickets.

- Vengat 3 years, 6 months ago


Latest Blogs