0

M using odoo 8 running on windows, i inhereted the res.company model, and added few columns

class res_ company(models.Model):
   _name = "res.company"
   _inherit = "res.company"
    manager_name = fields.Char()

but it when i restart odoo, i receive the following error:

ProgrammingError: column res.company.manager_name does not exist
LINE 1: ...mpany"."paperformat_id","res.company"."sale_note","res.compa...

isn't possible to add a new field to res.company or what exactly ?

Naglis
  • 2,583
  • 1
  • 19
  • 24
Jihane Hemicha
  • 115
  • 1
  • 2
  • 13

2 Answers2

1

Solved the problem, i had to update the base module, now it works.

Jihane Hemicha
  • 115
  • 1
  • 2
  • 13
0

In terminal you can update your base and it solves the problem Cmd : Python odoo-bin -c -d -u base

It takes time to update so be patient