Odoo Help


Trying to inherit res.partner in custom module

on 3/14/16, 2:33 PM 1,158 views

I am trying to inherit res.partner module in my custom module and trying to add a simple integer field.

Here is my code

from opener import models,fields

class Associateaccounts_respartner(models,Model);


associate_count=fields.Integer(string='# of Associate')

and import my .py file to __init__.py

it is showing me this below error

ProgrammingError: column res_partner.associate_count does not exist

On 3/14/16, 3:18 PM

Ok I got it. Its just a simple indentation problem

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/14/16, 2:33 PM
Seen: 1158 times
Last updated: 3/14/16, 3:18 PM