Comment 4 for bug 475621

Revision history for this message
Ferdinand (office-chricar) wrote : Re: error trying to add column to class users(osv.osv)

solved: after moving
class users(osv.osv):
    _name = 'res.users'
    _inherit = 'res.users'
    _columns = {
         'period_id': fields.many2one('account.period', 'Period Accounting', help='Jail for accounting date entry'),
    }
users()

to a separate file and imorting this as the first in account module - no more error