Skip to Content
Menu
This question has been flagged
1 Reply
2138 Views

Hi guys

I am following a tutorial https://www.youtube.com/watch?v=qU43Yoy2cbQ&list=PLZ4jpQqTamn1y4qxVtO2IW-TCRBXKYfb-&index=8 and I can't see any changes in my Odoo installation, furthermore the app icons in the apps screen don't show or update.

When I remove the custom addons folder things work as expected.

Can anyone please let me know what I am doing wrong?

https://www.dropbox.com/s/fb7jaz63p6yeyiu/library.zip?dl=0

Thanks

Avatar
Discard
Best Answer

Hi,

There is an issue in the py file, update the library_book.py as below,

# -*- coding: utf-8 -*-
from odoo import models, fields

class LibraryBook(models.Model):
_name = "library.book"

name = fields.Char(string="Name")
active = fields.Boolean("Is active")
image = fields.Binary()
pages = fields.Integer(string="# Pages")
isbn = fields.Char(string="ISBN", size=13)


Thanks

Avatar
Discard