first commit
This commit is contained in:
9
modules/sale_opportunity/view/configuration_form.xml
Normal file
9
modules/sale_opportunity/view/configuration_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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/field[@name='sale_sequence']" position="after">
|
||||
<label name="sale_opportunity_sequence"/>
|
||||
<field name="sale_opportunity_sequence"/>
|
||||
</xpath>
|
||||
</data>
|
||||
67
modules/sale_opportunity/view/opportunity_form.xml
Normal file
67
modules/sale_opportunity/view/opportunity_form.xml
Normal file
@@ -0,0 +1,67 @@
|
||||
<?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. -->
|
||||
<form col="6">
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
<label name="contact"/>
|
||||
<field name="contact"/>
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
|
||||
<label name="address"/>
|
||||
<field name="address" colspan="3"/>
|
||||
<newline/>
|
||||
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
<label name="reference"/>
|
||||
<field name="reference"/>
|
||||
|
||||
<label name="amount"/>
|
||||
<field name="amount"/>
|
||||
<label name="conversion_probability"/>
|
||||
<group id="conversion_probability">
|
||||
<field name="conversion_probability" factor="100" xexpand="0"/>
|
||||
<label name="conversion_probability" string="%"
|
||||
xalign="0.0" xexpand="1"/>
|
||||
</group>
|
||||
|
||||
<notebook colspan="6">
|
||||
<page string="Lead/Opportunity" id="opportunity">
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
<label name="employee"/>
|
||||
<field name="employee"/>
|
||||
<label name="converted_by"/>
|
||||
<field name="converted_by"/>
|
||||
<label name="start_date"/>
|
||||
<field name="start_date"/>
|
||||
<label name="end_date"/>
|
||||
<field name="end_date"/>
|
||||
<label name="payment_term"/>
|
||||
<field name="payment_term"/>
|
||||
<separator name="comment" colspan="4"/>
|
||||
<field name="comment" colspan="4"/>
|
||||
<separator name="lost_reason" colspan="4"/>
|
||||
<field name="lost_reason" colspan="4"/>
|
||||
</page>
|
||||
<page name="lines">
|
||||
<field name="lines"/>
|
||||
</page>
|
||||
<page name="sales">
|
||||
<field name="sales" colspan="4"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="4" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="lost" icon="tryton-cancel"/>
|
||||
<button name="lead" icon="tryton-back"/>
|
||||
<button name="opportunity" icon="tryton-forward"/>
|
||||
<button name="convert" icon="tryton-forward"/>
|
||||
</group>
|
||||
</form>
|
||||
28
modules/sale_opportunity/view/opportunity_line_form.xml
Normal file
28
modules/sale_opportunity/view/opportunity_line_form.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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. -->
|
||||
<form cursor="product">
|
||||
<label name="opportunity"/>
|
||||
<field name="opportunity"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<notebook colspan="4">
|
||||
<page string="General" id="general">
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<newline/>
|
||||
|
||||
<label name="quantity"/>
|
||||
<field name="quantity"/>
|
||||
<label name="unit"/>
|
||||
<field name="unit"/>
|
||||
|
||||
<separator name="description" colspan="4"/>
|
||||
<field name="description" colspan="4"/>
|
||||
</page>
|
||||
<page string="Notes" id="notes">
|
||||
<separator name="note" colspan="4"/>
|
||||
<field name="note" colspan="4"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
9
modules/sale_opportunity/view/opportunity_line_tree.xml
Normal file
9
modules/sale_opportunity/view/opportunity_line_tree.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="opportunity" expand="1"/>
|
||||
<field name="product" expand="1" optional="0"/>
|
||||
<field name="summary" expand="1" optional="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?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. -->
|
||||
<form>
|
||||
<label name="from_date"/>
|
||||
<group id="dates" col="-1">
|
||||
<field name="from_date"/>
|
||||
<label name="to_date"/>
|
||||
<field name="to_date"/>
|
||||
</group>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
</form>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?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="//x/field[@name='id']" position="replace">
|
||||
<field name="employee"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?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="//x/field[@name='id']" position="replace">
|
||||
<field name="employee"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?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="//field[@name='won']" position="before">
|
||||
<field name="employee" expand="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="id"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="won_amount"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="id"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="won"/>
|
||||
<field name="lost"/>
|
||||
</y>
|
||||
</graph>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<?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. -->
|
||||
<tree keyword_open="1">
|
||||
<field name="won" sum="1" optional="1"/>
|
||||
<field name="winning_rate" factor="100">
|
||||
<suffix string="%" name="winning_rate"/>
|
||||
</field>
|
||||
<field name="winning_trend" expand="1"/>
|
||||
<field name="won_amount" sum="1" optional="1"/>
|
||||
<field name="won_amount_trend" expand="1" optional="1"/>
|
||||
<field name="lost" sum="1" optional="1"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?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="//x/field[@name='id']" position="replace">
|
||||
<field name="date"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?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="//x/field[@name='id']" position="replace">
|
||||
<field name="date"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?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. -->
|
||||
<tree>
|
||||
<field name="date"/>
|
||||
<field name="won" sum="1" optional="0"/>
|
||||
<field name="won_amount" sum="1" optional="0"/>
|
||||
<field name="lost" sum="1" optional="1"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="id"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="amount"/>
|
||||
<field name="converted_amount"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="id"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="number"/>
|
||||
<field name="converted"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?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. -->
|
||||
<tree keyword_open="1">
|
||||
<field name="number" sum="1"/>
|
||||
<field name="number_trend" expand="1"/>
|
||||
<field name="amount" sum="1" optional="1"/>
|
||||
<field name="amount_trend" expand="1" optional="1"/>
|
||||
<field name="converted" sum="1" optional="1"/>
|
||||
<field name="conversion_rate" factor="100" optional="0">
|
||||
<suffix string="%" name="conversion_rate"/>
|
||||
</field>
|
||||
<field name="conversion_trend" expand="1" optional="0"/>
|
||||
<field name="converted_amount" sum="1" optional="1"/>
|
||||
<field name="converted_amount_trend" expand="1" optional="1"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?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="//x/field[@name='id']" position="replace">
|
||||
<field name="date"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?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="//x/field[@name='id']" position="replace">
|
||||
<field name="date"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?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. -->
|
||||
<tree>
|
||||
<field name="date"/>
|
||||
<field name="number" sum="1"/>
|
||||
<field name="amount" sum="1" optional="1"/>
|
||||
<field name="converted" sum="1" optional="0"/>
|
||||
<field name="converted_amount" sum="1" optional="1"/>
|
||||
</tree>
|
||||
18
modules/sale_opportunity/view/opportunity_tree.xml
Normal file
18
modules/sale_opportunity/view/opportunity_tree.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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. -->
|
||||
<tree>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="number" expand="1"/>
|
||||
<field name="reference" expand="1" optional="1"/>
|
||||
<field name="start_date" optional="0"/>
|
||||
<field name="end_date" optional="0"/>
|
||||
<field name="employee" expand="1" optional="0"/>
|
||||
<field name="description" expand="1" optional="1"/>
|
||||
<field name="party" expand="1" optional="0"/>
|
||||
<field name="amount" optional="0"/>
|
||||
<field name="state"/>
|
||||
<field name="conversion_probability" factor="100" optional="0">
|
||||
<suffix name="conversion_probability" string="%"/>
|
||||
</field>
|
||||
</tree>
|
||||
8
modules/sale_opportunity/view/party_form.xml
Normal file
8
modules/sale_opportunity/view/party_form.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?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="//link[@name='sale.act_sale_relate']" position="before">
|
||||
<link icon="tryton-sale-opportunity" name="sale_opportunity.act_opportunity_form2" empty="hide"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user