From 9449f4f0ec21ab2f4c5c6076c7555de63a0dedda Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sun, 4 Jan 2026 20:15:27 +0100 Subject: [PATCH] 04.01.26 --- modules/purchase_trade/dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/purchase_trade/dashboard.py b/modules/purchase_trade/dashboard.py index 296757f..43f3082 100755 --- a/modules/purchase_trade/dashboard.py +++ b/modules/purchase_trade/dashboard.py @@ -238,7 +238,7 @@ class Dashboard(ModelSQL, ModelView): Configuration = Pool().get('gr.configuration') config = Configuration.search(['id','>',0])[0] f1,f2,f3,f4,f5,d1,d2,d3,d4,d5 = self.get_last_five_fx_rates() - Pnl = Pool().get('valuation.valuation') + Pnl = Pool().get('valuation.valuation.line') pnls = Pnl.search(['id','>',0]) pnl_amount = "{:,.0f}".format(round(sum([e.amount for e in pnls]),0)) Open = Pool().get('open.position')