189 lines
8.8 KiB
XML
Executable File
189 lines
8.8 KiB
XML
Executable File
<?xml version="1.0"?>
|
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
this repository contains the full copyright notices and license terms. -->
|
|
<data>
|
|
<xpath expr="/form/group[@id='hd'][2]" position="replace"/>
|
|
<xpath expr="/form/field[@name='party_lang']" position="before">
|
|
<field name="allow_modification_after_validation" invisible="1"/>
|
|
</xpath>
|
|
<xpath expr="/form/group[@id='hd'][1]" position="replace">
|
|
<group id="purchase_header_summary" colspan="6" col="10"
|
|
panel="summary" xalign="0" yalign="0"
|
|
col_widths="min-content,2fr,min-content,130px,min-content,1.2fr,min-content,130px,min-content,1fr">
|
|
<label name="party"/>
|
|
<field name="party"/>
|
|
<label name="number"/>
|
|
<field name="number"/>
|
|
<label name="reference"/>
|
|
<field name="reference"/>
|
|
<label name="purchase_date"/>
|
|
<field name="purchase_date"/>
|
|
<label name="currency"/>
|
|
<field name="currency"/>
|
|
</group>
|
|
|
|
<group id="purchase_header_left" colspan="4" col="1"
|
|
xalign="0" yalign="0" col_widths="1fr">
|
|
<group id="purchase_commercial_terms" string="Commercial Terms"
|
|
colspan="1" col="1" panel="card" icon="tryton-public"
|
|
xalign="0" yalign="0"
|
|
col_widths="1fr">
|
|
<group id="purchase_commercial_terms_top"
|
|
colspan="1" col="6" xalign="0" yalign="0"
|
|
col_widths="min-content,1fr,min-content,1fr,min-content,130px">
|
|
<label name="payment_term"/>
|
|
<field name="payment_term"/>
|
|
<label name="wb"/>
|
|
<field name="wb"/>
|
|
<label name="lc_date"/>
|
|
<field name="lc_date"/>
|
|
</group>
|
|
<group id="purchase_commercial_terms_incoterm"
|
|
colspan="1" col="4" xalign="0" yalign="0"
|
|
col_widths="min-content,1fr,min-content,1fr">
|
|
<label name="incoterm"/>
|
|
<field name="incoterm"/>
|
|
<label name="incoterm_location"/>
|
|
<field name="incoterm_location"/>
|
|
</group>
|
|
<group id="purchase_commercial_terms_origin"
|
|
colspan="1" col="4" xalign="0" yalign="0"
|
|
col_widths="min-content,1fr,min-content,1fr">
|
|
<label name="product_origin"/>
|
|
<field name="product_origin"/>
|
|
<label name="tolerance_option"/>
|
|
<field name="tolerance_option"/>
|
|
<label name="certif"/>
|
|
<field name="certif"/>
|
|
</group>
|
|
</group>
|
|
|
|
<group id="purchase_execution" string="People & Execution"
|
|
colspan="1" col="4" panel="card" icon="tryton-link"
|
|
xalign="0" yalign="0"
|
|
col_widths="min-content,1fr,min-content,1fr">
|
|
<label name="broker"/>
|
|
<field name="broker"/>
|
|
<label name="operator"/>
|
|
<field name="operator"/>
|
|
<label name="trader"/>
|
|
<field name="trader"/>
|
|
<label name="our_reference"/>
|
|
<field name="our_reference"/>
|
|
<label name="from_location"/>
|
|
<field name="from_location"/>
|
|
<label name="to_location"/>
|
|
<field name="to_location"/>
|
|
<label name="association"/>
|
|
<field name="association"/>
|
|
<label name="crop"/>
|
|
<field name="crop"/>
|
|
</group>
|
|
|
|
<group id="purchase_tolerance" string="Tolerance"
|
|
colspan="1" col="6" panel="card" icon="tryton-switch"
|
|
xalign="0" yalign="0"
|
|
col_widths="min-content,1fr,min-content,1fr,min-content,200px">
|
|
<label name="tol_min"/>
|
|
<field name="tol_min"/>
|
|
<label name="tol_max"/>
|
|
<field name="tol_max"/>
|
|
<label name="tolerance_used"/>
|
|
<field name="tolerance_used" widget="tolerance_gauge"
|
|
min_field="tolerance_min" max_field="tolerance_max"
|
|
width="190" xexpand="0" xfill="0"/>
|
|
</group>
|
|
<field name="tolerance_min" invisible="1"/>
|
|
<field name="tolerance_max" invisible="1"/>
|
|
</group>
|
|
|
|
<group id="purchase_header_right" colspan="2" col="1"
|
|
xalign="0" yalign="0" col_widths="1fr">
|
|
<group id="purchase_map" string="Map" colspan="1" col="1"
|
|
panel="card" icon="tryton-public" xalign="0" yalign="0"
|
|
col_widths="1fr">
|
|
<field name="viewer" widget="html_viewer" height="220"/>
|
|
</group>
|
|
<group id="purchase_recap" string="Execution summary"
|
|
colspan="1" col="1" panel="sidebar" icon="tryton-note"
|
|
xalign="0" yalign="0"
|
|
col_widths="1fr">
|
|
<field name="execution_summary_viewer" widget="html_viewer"
|
|
height="142"/>
|
|
</group>
|
|
</group>
|
|
</xpath>
|
|
<xpath expr="/form/notebook/page[@id='purchase']" position="after">
|
|
<page string="Contract Clauses" col="4" id="contract_clauses">
|
|
<label name="contract_template"/>
|
|
<field name="contract_template"/>
|
|
<newline/>
|
|
<field name="contract_clauses" colspan="4" mode="tree,form" view_ids="purchase_trade.contract_clause_selection_view_tree,purchase_trade.contract_clause_selection_view_form"/>
|
|
</page>
|
|
<page string="Required documents" id="rd">
|
|
<group col="2" id="dt">
|
|
<label name="doc_template"/>
|
|
<field name="doc_template"/>
|
|
</group>
|
|
<newline/>
|
|
<field name="required_documents" colspan="4"/>
|
|
</page>
|
|
<page string="Charter Conditions" id="charter_conditions">
|
|
<field name="charter_conditions" colspan="4" mode="tree,form" view_ids="purchase_trade.charter_condition_view_tree,purchase_trade.charter_condition_view_form"/>
|
|
</page>
|
|
<page string="Analytics" id="di">
|
|
<field name="analytic_dimensions" colspan="4"/>
|
|
</page>
|
|
<page string="Estimated dates" col="4" id="estimated">
|
|
<field name="estimated_date" />
|
|
</page>
|
|
<page string="Execution plan" col="4" id="ep">
|
|
<label name="plan" />
|
|
<field name="plan" />
|
|
<!-- <field name="plans" mode="tree,form" view_ids="purchase_trade.ep_view_list,purchase_trade.ep_view_form"/> -->
|
|
</page>
|
|
</xpath>
|
|
<xpath expr="/form/notebook/page[@id='info']" position="after">
|
|
<page string="Derivatives" col="4" id="der">
|
|
<field name="derivatives" mode="tree" view_ids="purchase_trade.derivative_view_tree_sequence" height="450"/>
|
|
</page>
|
|
<page string="Forex" col="4" id="fo">
|
|
<field name="forex" mode="tree" view_ids="purchase_trade.view_forex_cover_physical_contract_tree2"/>
|
|
</page>
|
|
<page string="Pnl" col="4" id="pnl">
|
|
<label name="group_pnl"/>
|
|
<field name="group_pnl" colspan="1"/>
|
|
<newline/>
|
|
<field name="pnl_" mode="tree,graph,graph" view_ids="purchase_trade.valuation_view_tree_sequence3,purchase_trade.valuation_view_graph,purchase_trade.valuation_view_graph2" height="450" colspan="4"/>
|
|
<field name="pnl" mode="tree" view_ids="purchase_trade.valuation_view_tree_sequence4" height="450" colspan="4"/>
|
|
</page>
|
|
<page string="Pnl graph" col="4" id="pnl_graph">
|
|
<field name="pnl_graph"
|
|
widget="rich_graph"
|
|
records_field="pnl_graph"
|
|
date_field="valuation_date"
|
|
series="pnl,mtm"
|
|
view_ids="purchase_trade.purchase_pnl_graph_view_tree"
|
|
labels="pnl:Pnl,mtm:Mtm"
|
|
colors="pnl:#00b894,mtm:#8b5cf6"
|
|
hidden_series="pnl_graph"
|
|
digits="2"
|
|
height="360"
|
|
colspan="4"/>
|
|
<separator string="Pnl graph values" colspan="4"/>
|
|
<field name="pnl_graph"
|
|
mode="tree"
|
|
view_ids="purchase_trade.purchase_pnl_graph_view_tree"
|
|
height="420"
|
|
colspan="4"/>
|
|
</page>
|
|
</xpath>
|
|
<xpath expr="/form/notebook/page[@id='info']/label[@name='invoice_party']" position="before">
|
|
<field name="bank_accounts" colspan="4" invisible="1"/>
|
|
<label name="bank_account"/>
|
|
<field name="bank_account"/>
|
|
<label name="our_bank_account"/>
|
|
<field name="our_bank_account"/>
|
|
</xpath>
|
|
</data>
|