Merge dev from main #1

Merged
admin merged 25 commits from main into dev 2026-01-05 13:03:46 +00:00
Showing only changes of commit 9449f4f0ec - Show all commits

View File

@@ -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')