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
solved: after moving
'period_ id': fields. many2one( 'account. period' , 'Period Accounting', help='Jail for accounting date entry'),
class users(osv.osv):
_name = 'res.users'
_inherit = 'res.users'
_columns = {
}
users()
to a separate file and imorting this as the first in account module - no more error