Skip to content
Snippets Groups Projects
Commit 3f62a9b4 authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] account_analytic_analysis: drop the view before recreating it

bzr revid: christophe@tinyerp.com-20090130154312-ei4l70zpgpw0v6pq
parent 2ea4e107
No related branches found
No related tags found
No related merge requests found
......@@ -451,6 +451,7 @@ class account_analytic_account_summary_user(osv.osv):
'user' : fields.many2one('res.users', 'User'),
}
def init(self, cr):
tools.sql.drop_view_if_exists(cr, 'account_analytic_analysis_summary_user')
cr.execute('CREATE OR REPLACE VIEW account_analytic_analysis_summary_user AS (' \
'SELECT ' \
'(u.account_id * u.max_user) + u."user" AS id, ' \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment