rates: speichert kurse

This commit is contained in:
Frederik Jaeckel 2022-11-13 22:57:40 +01:00
parent 353df93a9e
commit 42ede3decb
15 changed files with 335 additions and 12 deletions

View file

@ -18,14 +18,19 @@ full copyright notices and license terms. -->
<label name="product_uom" />
<field name="product_uom" />
<separator id="sepids" colspan="4" string="Identifiers"/>
<label name="wkn" />
<field name="wkn" />
<label name="secsymb" />
<field name="secsymb" />
<notebook>
<page id="pgids" col="4" string="Identifiers">
<label name="wkn" />
<field name="wkn" />
<label name="secsymb" />
<field name="secsymb" />
<label name="isin" />
<field name="isin" />
<newline/>
<label name="isin" />
<field name="isin" />
</page>
<page name="rates" col="1" string="Rates">
<field name="rates" mode="tree,form,graph"/>
</page>
</notebook>
</form>

17
view/rate_form.xml Normal file
View file

@ -0,0 +1,17 @@
<?xml version="1.0"?>
<!-- This file is part of the investment-module from m-ds for Tryton.
The COPYRIGHT file at the top level of this repository contains the
full copyright notices and license terms. -->
<form col="4">
<label name="asset" />
<field name="asset" colspan="3"/>
<label name="date" />
<field name="date" />
<label name="rate" />
<field name="rate" symbol="currency"/>
<label colspan="3" id="lab1" string="per"/>
<field name="uom"/>
</form>

12
view/rate_graph.xml Normal file
View file

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!-- This file is part of the cashbook-module from m-ds for Tryton.
The COPYRIGHT file at the top level of this repository contains the
full copyright notices and license terms. -->
<graph type="line" legend="1" background="#ffffc0">
<x>
<field name="date"/>
</x>
<y>
<field name="rate" fill="0" empty="0"/>
</y>
</graph>

8
view/rate_list.xml Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!-- This file is part of the investment-module from m-ds for Tryton.
The COPYRIGHT file at the top level of this repository contains the
full copyright notices and license terms. -->
<tree>
<field name="date"/>
<field name="rate" symbol="currency"/>
</tree>