[FIX] Stock : Bad drop_view constriant corrected

bzr revid: jvo@tinyerp.com-20100526110412-xora8x3u7ozvbnx0
This commit is contained in:
Jay (Open ERP) 2010-05-26 16:34:12 +05:30
parent 83f633a443
commit db3bb656ef
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ class stock_report_tracklots(osv.osv):
}
def init(self, cr):
drop_view_if_exists(cr, 'stock_report_prodlots')
drop_view_if_exists(cr, 'stock_report_tracklots')
cr.execute("""
create or replace view stock_report_tracklots as (
@ -150,7 +150,7 @@ class report_stock_lines_date(osv.osv):
'date': fields.datetime('Latest Inventory Date'),
}
def init(self, cr):
drop_view_if_exists(cr, 'stock_report_prodlots')
drop_view_if_exists(cr, 'report_stock_lines_date')
cr.execute("""
create or replace view report_stock_lines_date as (
select