09 Sep Python How Do Add a Python Code Error when creating new module? September 11, 2024 By Daniyal Ahmed 0 comments The error occurs because osv and fields are outdated in newer versions of Odoo. The correct import is from odoo import models, fields, ... Continue reading