[FIX] Stock : Bad drop_view constriant corrected
bzr revid: jvo@tinyerp.com-20100526110412-xora8x3u7ozvbnx0
This commit is contained in:
parent
83f633a443
commit
db3bb656ef
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue