ff60e8d63a1d5ccbab2920750acf4d2c1f5092b0
This fixes creating a new db.
res_users is created in static SQL, because it must exist
before anything else. There, context_lang must exist as well.
Additionaly, init res_lang before res_users.
Trace:
File "./bin/osv/orm.py", line 1560, in _auto_init
default = self._defaults[k](self, cr, 1, {})
File "./bin/addons/base/res/res_user.py", line 152, in _get_company
return self.pool.get('res.users').browse(cr, uid, uid,
context).company_id.id
File "./bin/osv/orm.py", line 225, in __getattr__
return self[name]
File "./bin/osv/orm.py", line 182, in __getitem__
datas = self._table.read(self._cr, self._uid, ids, fffields,
context=self._context, load="_classic_write")
File "./bin/addons/base/res/res_user.py", line 127, in read
result = super(users, self).read(cr, uid, ids, fields, context,
load)
File "./bin/osv/orm.py", line 1905, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "./bin/osv/orm.py", line 1959, in _read_flat
self._order))
File "./bin/sql_db.py", line 78, in wrapper
return f(self, *args, **kwargs)
File "./bin/sql_db.py", line 120, in execute
res = self._obj.execute(query, params)
ProgrammingError: column "context_lang" does not exist
LINE 1:
...text_tz","name","company_id","signature","active","context_l...
bzr revid: p_christ@hol.gr-20090312083416-r7yjmipqik0k0kd1
About OpenERP --------------- OpenERP is a free Enterprise Resource Planning and Customer Relationship Management software. It is mainly developed to meet changing needs. The main functional features are: CRM & SRM, analytic and financial accounting, double-entry stock management, sales and purchases management, tasks automation, help desk, marketing campaign, ... and vertical modules for very specific businesses. Technical features include a distributed server, flexible workflows, an object database, dynamic GUIs, customizable reports, NET-RPC and XML-RPC interfaces, ... For more information, please visit: http://www.openerp.com About Tiny.be ---------------- Tiny.be is a company specialising in the development of high-level applications and websites. All the company products are free software, released under the GNU GPL license. Our main products include: OpenERP (ERP & CRM for SMB), Tiny eCommerce (complete eCommerce system), OpenReport (automated generation of complex documents), Tiny Raytracer, ... For more information, please visit: http://www.tiny.be
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%