[FIX] explicit type cast
bzr revid: sso@tinyerp.com-20090708130739-ljgupb6wdrjvsksz
This commit is contained in:
parent
53aea18cda
commit
75e4b85c0e
|
@ -999,7 +999,7 @@ class report_seller_auction(osv.osv):
|
|||
select
|
||||
adl.id as auction,
|
||||
min(al.id) as id,
|
||||
adl.auction1 as date,
|
||||
to_char(adl.auction1, 'YYYY-MM-DD') as date,
|
||||
ad.partner_id as seller,
|
||||
count(al.id) as "object_number",
|
||||
SUM(al.obj_price) as "total_price",
|
||||
|
@ -1037,7 +1037,7 @@ class report_seller_auction2(osv.osv):
|
|||
cr.execute('''create or replace view report_seller_auction2 as
|
||||
(select
|
||||
min(al.id) as id,
|
||||
adl.auction1 as date,
|
||||
to_char(adl.auction1, 'YYYY-MM-DD') as date,
|
||||
adl.id as auction,
|
||||
ad.partner_id as seller,
|
||||
sum(al.obj_price) as "sum_adj",
|
||||
|
@ -1073,7 +1073,7 @@ class report_auction_view2(osv.osv):
|
|||
cr.execute('''create or replace view report_auction_view2 as (
|
||||
select
|
||||
ad.id as id,
|
||||
ad.auction1 as date,
|
||||
to_char(ad.auction1, 'YYYY-MM-DD') as date,
|
||||
ad.id as "auction",
|
||||
count(al.id) as "obj_number",
|
||||
SUM(al.obj_price) as "sum_adj",
|
||||
|
|
Loading…
Reference in New Issue