Hi everyone,
Thanks to the community for all the answers I could get from this forum. I have one problem now for which I can't seem to find a solution.
I created a custom model (x_smartphones) with studio in odoo 10 entreprise and now I am building a new module via code which should inherit x_smartphones but I get the following error
TypeError: Model 'x_smartphones' does not exist in registry.
from odoo import fields, models, tools, _
import odoo.addons.decimal_precision as dp
class CustomSmartphonesTemplate(models.Model):
_inherit = 'x_smartphones'
#x_isdeal = fields.Boolean(string="Mettre en Occasion")
x_deal_pic = fields.Binary("Medium-sized image", attachment=True, help="blabla")
I have the following in __manifest__.py
'depends': [
'website',
'web_studio',
'product',
'website_sale',
'sale'
],
Thanks a lot for any input that could help!
Cheers,
Hugues
Sorry for the bump.
Anyone had an idea for this issue?
Do you resolve that?