Community mailing list archives

community@mail.odoo.com

Re: Extend Model

by
Tecnativa S.L, Pedro Baeza
- 10/22/2016 14:59:51
You might forgot the import in the __init__.py file, but the inheritance is the same.

Regards.

2016-10-22 20:25 GMT+02:00 Guido Schaidl <guidoscha@arcor.de>:

Hello,

has something changed in the way to extend a model?

If i do:

class test(models.Model):
    _inherit = 'product.template'


The model does not change anymore.



_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe