İçereği Atla
Menü
Bu soru işaretlendi
2334 Görünümler
Hello,

I want to show quantity available in my Excel sale report. i added a field to sale_report.py
x_stockactuelle = fields.Float('STOCK AVAILABLE', readonly=True, store=False) 
def_select(self): select_str = """ WITH currency_rate as (%s) SELECT min(l.id) as id, t.x_stockactuelle as x_stockactuelle, """

def _group_by(self): group_by_str = """ GROUP BY t.x_stockactuelle, """

I got this error (the field "x_stockactuelle" is related to "product_template.virtual_available") :

ProgrammingError: ERREUR: column product_template.virtual_available does not exist

LINE 1: SELECT "product_template"."virtual_available"as"virtual_a... 


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ağu 18
12529
1
Ağu 18
9736
0
Şub 23
1837
7
Eyl 21
28301
0
Mar 19
2161