summaryrefslogtreecommitdiff
path: root/openerp/tools/sql.py
AgeCommit message (Collapse)Author
2012-02-27[FIX] drop_view_if_exists: simpler and CASCADING implementation for pg 8.3+Olivier Dony
OpenERP depends on PostgreSQL 8.3 so we can now use 'IF EXISTS'. It's also necessary to 'CASCADE' the drop, otherwise depending views will prevent the deletion and thus update of the view. Depending views will automatically be updated later and thus re-created, so this is safe. bzr revid: odo@openerp.com-20120227165737-z5fgb6fle9g0cylw
2011-02-07[IMP] openerp python module.Vo Minh Thu
- Some logging code moved from netsvc.py to loglevels.py - Changed imports to use the new openerp module - config and netsvc initialization calls move to openerp-server.py - Moved openerp-server.py outside the old bin directory - Some imports in tools moved inside the methods to break mutual-dependencies bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso