I created and installed a module, barebones and everything was cool,
managed to add a field (cusvc_phone) to res.partner, verified in Models, but when I add the second field I get the following error
ProgrammingError: column res_partner.cusvc_email does not exist
My .py is as follows
# Merchant Application applicationfrom odoo import models, fields
#Extend res.partner model with customer service phone number
class Merchappl_respartner(models.Model):
_inherit = 'res.partner'
cusvc_phone = fields.Char('Customer Service Phone')
cusvc_email = fields.Char('Customer Service Email')
It shouldn't be this hard to create a module which extends res.partner so I must be doing something wrong. Any help and/or pointers are much appreciated.
Apologies, but i have physically restarted my server many times to no avail. The only way I could get my changes to show was by creating a new database. It just wouldn't refresh my existing database. This wouldn't be a problem, but I have someone who is making changes to other applications, namely Website. I'll try to create and install a renamed version of my module and see if that takes in the existing database, fingers crossed.