This commit is contained in:
2026-05-24 19:43:54 +02:00
parent 54309a1980
commit aed68ba6f4
9 changed files with 76 additions and 11 deletions

View File

@@ -325,7 +325,8 @@
name="Positions"
parent="purchase_trade.menu_global_reporting"
sequence="10"
id="menu_ctrm_positions"/>
id="menu_ctrm_positions"
icon="tradon-reporting-positions"/>
<menuitem
name="Physical Position"
parent="menu_ctrm_positions"
@@ -354,7 +355,8 @@
name="P&amp;L"
parent="purchase_trade.menu_global_reporting"
sequence="20"
id="menu_ctrm_pnl"/>
id="menu_ctrm_pnl"
icon="tradon-reporting-pnl"/>
<menuitem
name="Realized P&amp;L"
parent="menu_ctrm_pnl"
@@ -384,7 +386,8 @@
name="Risk"
parent="purchase_trade.menu_global_reporting"
sequence="30"
id="menu_ctrm_risk"/>
id="menu_ctrm_risk"
icon="tradon-reporting-risk"/>
<menuitem
name="VaR"
parent="menu_ctrm_risk"
@@ -417,7 +420,8 @@
name="Operations &amp; Logistics"
parent="purchase_trade.menu_global_reporting"
sequence="40"
id="menu_ctrm_operations"/>
id="menu_ctrm_operations"
icon="tradon-reporting-operations"/>
<menuitem
name="Shipping Logistics"
parent="menu_ctrm_operations"
@@ -447,7 +451,8 @@
name="Finance &amp; Accounting"
parent="purchase_trade.menu_global_reporting"
sequence="50"
id="menu_ctrm_finance"/>
id="menu_ctrm_finance"
icon="tradon-reporting-finance"/>
<menuitem
name="Accruals"
parent="menu_ctrm_finance"

View File

@@ -1,9 +1,33 @@
<tryton>
<data>
<record model="ir.ui.icon" id="reporting_icon">
<field name="name">tradon-reporting</field>
<field name="path">icons/tradon-reporting.svg</field>
</record>
<record model="ir.ui.icon" id="reporting_icon">
<field name="name">tradon-reporting</field>
<field name="path">icons/tradon-reporting.svg</field>
</record>
<record model="ir.ui.icon" id="reporting_positions_icon">
<field name="name">tradon-reporting-positions</field>
<field name="path">icons/tradon-reporting-positions.svg</field>
</record>
<record model="ir.ui.icon" id="reporting_pnl_icon">
<field name="name">tradon-reporting-pnl</field>
<field name="path">icons/tradon-reporting-pnl.svg</field>
</record>
<record model="ir.ui.icon" id="reporting_risk_icon">
<field name="name">tradon-reporting-risk</field>
<field name="path">icons/tradon-reporting-risk.svg</field>
</record>
<record model="ir.ui.icon" id="reporting_operations_icon">
<field name="name">tradon-reporting-operations</field>
<field name="path">icons/tradon-reporting-operations.svg</field>
</record>
<record model="ir.ui.icon" id="reporting_finance_icon">
<field name="name">tradon-reporting-finance</field>
<field name="path">icons/tradon-reporting-finance.svg</field>
</record>
<record model="ir.ui.icon" id="reporting_other_icon">
<field name="name">tradon-reporting-other</field>
<field name="path">icons/tradon-reporting-other.svg</field>
</record>
<record model="ir.ui.view" id="gr_configuration_view_form">
<field name="model">gr.configuration</field>
@@ -42,6 +66,7 @@
name="Other"
parent="menu_global_reporting"
sequence="60"
id="menu_ctrm_other"/>
id="menu_ctrm_other"
icon="tradon-reporting-other"/>
</data>
</tryton>

View File

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M3 9h18v11H3z" fill="#267F82" opacity=".35"/>
<path d="M12 2 2 7v2h20V7L12 2zM6.6 7 12 4.4 17.4 7H6.6zM4 10h3v7H4v-7zm5 0h3v7H9v-7zm5 0h3v7h-3v-7zm5 0h1v7h-1v-7zM3 19h18v2H3v-2z" fill="#267F82"/>
<path d="M13 16h2v-1h1c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-3v-1h4V8h-2V7h-2v1h-1c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h3v1h-4v2h2v1z" fill="#267F82"/>
</svg>

After

Width:  |  Height:  |  Size: 481 B

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M3 8h3V5h10v3h2.5L22 12v5h-2c0 1.7-1.3 3-3 3s-3-1.3-3-3H9c0 1.7-1.3 3-3 3s-3-1.3-3-3H1v-5l2-4z" fill="#267F82" opacity=".35"/>
<path d="M8 3h9v5h2.5L23 12v6h-2.2c-.4 1.7-1.9 3-3.8 3s-3.4-1.3-3.8-3H9.8C9.4 19.7 7.9 21 6 21s-3.4-1.3-3.8-3H1v-6l2-5h3V3h2zm0 2v8h8V5H8zM4.4 9 3 12.5V16h11.2c.4-1.2 1.5-2 2.8-2s2.4.8 2.8 2H21v-3.2L18.6 10H17v5H6V9H4.4zM6 19c.8 0 1.5-.7 1.5-1.5S6.8 16 6 16s-1.5.7-1.5 1.5S5.2 19 6 19zm11 0c.8 0 1.5-.7 1.5-1.5S17.8 16 17 16s-1.5.7-1.5 1.5S16.2 19 17 19z" fill="#267F82"/>
</svg>

After

Width:  |  Height:  |  Size: 644 B

View File

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z" fill="#267F82" opacity=".35"/>
<path d="M3 3h8v8H3V3zm2 2v4h4V5H5zm8-2h8v8h-8V3zm2 2v4h4V5h-4zM3 13h8v8H3v-8zm2 2v4h4v-4H5zm8-2h8v8h-8v-8zm2 2v4h4v-4h-4z" fill="#267F82"/>
<path d="M11 11h2v2h-2z" fill="#267F82"/>
</svg>

After

Width:  |  Height:  |  Size: 412 B

View File

@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M4 19h16v2H4zM4 5h2v14H4z" fill="#267F82"/>
<path d="M7 16h3v3H7zM11 12h3v7h-3zM15 8h3v11h-3z" fill="#267F82" opacity=".35"/>
<path d="M7 14l4-4 3 2 5-6 1.5 1.3-6.1 7.2-3.1-2.1-2.9 2.9L7 14z" fill="#267F82"/>
<path d="M18 4h2v2h-2zM15 17h3v2h-3zM11 15h3v4h-3zM7 17h3v2H7z" fill="#267F82"/>
</svg>

After

Width:  |  Height:  |  Size: 438 B

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M4 5h7v5H4zM13 5h7v5h-7zM4 14h7v5H4zM13 14h7v5h-7z" fill="#267F82" opacity=".35"/>
<path d="M3 4h9v7H3V4zm2 2v3h5V6H5zm7 4 3-3h-2V5h6v2h-2l3 3 3-3h-2V3H11v4H9l3 3zM3 13h9v7H3v-7zm2 2v3h5v-3H5zm7 4 3-3h-2v-2h6v2h-2l3 3 3-3h-2v-4H11v4H9l3 3z" fill="#267F82"/>
</svg>

After

Width:  |  Height:  |  Size: 402 B

View File

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M12 2 4 5v6c0 5 3.3 8.9 8 11 4.7-2.1 8-6 8-11V5l-8-3z" fill="#267F82" opacity=".35"/>
<path d="M12 2 4 5v6c0 5 3.3 8.9 8 11 4.7-2.1 8-6 8-11V5l-8-3zm0 2.2 6 2.2V11c0 3.8-2.2 6.8-6 8.7-3.8-1.9-6-4.9-6-8.7V6.4l6-2.2z" fill="#267F82"/>
<path d="M11 7h2v7h-2zM11 16h2v2h-2z" fill="#267F82"/>
</svg>

After

Width:  |  Height:  |  Size: 434 B

View File

@@ -69,7 +69,7 @@ setup(name=name,
),
package_data={
'trytond.modules.purchase_trade': (info.get('xml', [])
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po']),
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', 'icons/*.svg']),
},
classifiers=[
'Development Status :: 5 - Production/Stable',