Skip to content

Commit

Permalink
search params updated (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
susu105 committed Sep 20, 2022
1 parent f58c6d9 commit 3ba13b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion som_generationkwh/som_generationkwh.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def getPriceWithoutGeneration(self, cr, uid, line):
product_id_nogen = per_obj.read(cr, uid, fare_period, ['product_id'])['product_id'][0]
line_s_gen_id = gffl_obj.search(cr, uid, [
('invoice_id','=', line['invoice_id'][0]),('product_id','=',product_id_nogen),
('data_fins', '=', line['data_fins']), ('data_desde', '=', line['data_desde'])
('data_desde', '=', line['data_desde']),
])
line_s_gen = gffl_obj.read(cr, uid, line_s_gen_id[0])
return line_s_gen
Expand Down

0 comments on commit 3ba13b5

Please sign in to comment.