0

I am currently encountering an error in Odoo. I am using Odoo v.10 and I am looking for loan management module for FREE and I found a module in lower version which is 8 and when I'm installing the module, it gives me an error. Why is this?

Here's the log error

but I checked it and the model name is perfectly declared on its dunder init and the views are declared on its manifest or dunder openerp.

account.loan.proof.type, model name

my views.xml

my dunder init

the dunder openerp

halfer
  • 19,824
  • 17
  • 99
  • 186
law rence
  • 169
  • 1
  • 18

2 Answers2

0

In odoo v10 using new api. So you must be upgrade that module v8 to v10. As per your screen shot this code are written in V8 and using old API. In v10, osv package is not available, also i think you don't use any cr, self, context type parameter in funtion, also don't use self.pool.get(). You should be use self.env[] for v10.

Debasish
  • 322
  • 6
  • 23
0

you have to upgrade your addon from old api to new api. please read this guidelines and it will help you.

odoo new api guidlines

Hilar AK
  • 1,655
  • 13
  • 25