trytonpsk-crm/view/opportunity_form.xml

84 lines
3.1 KiB
XML

<?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="prospect"/>
<field name="prospect"/>
<label name="party_contact"/>
<field name="party_contact"/>
<label name="contact_phone"/>
<field name="contact_phone"/>
<label name="contact_email"/>
<field name="contact_email"/>
<label name="party"/>
<field name="party"/>
<label name="contact"/>
<field name="contact"/>
<label name="number"/>
<field name="number"/>
<label name="type"/>
<field name="type"/>
<label name="agent"/>
<field name="agent"/>
<label name="address"/>
<field name="address" widget="selection"/>
<label name="amount"/>
<field name="amount" symbol="currency"/>
<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>
<label name="lead_origin"/>
<field name="lead_origin" widget="selection"/>
<label name="description"/>
<field name="description" colspan="3"/>
<label name="city"/>
<field name="city" widget="selection"/>
<label name="party_category"/>
<field name="party_category" widget="selection"/>
<notebook colspan="6">
<page string="Opportunity" id="opportunity">
<label name="payment_term"/>
<field name="payment_term" widget="selection"/>
<label name="company"/>
<field name="company" widget="selection"/>
<label name="start_date"/>
<field name="start_date"/>
<label name="end_date"/>
<field name="end_date"/>
<field name="activities" colspan="4"/>
<separator name="comment" colspan="4"/>
<field name="comment" colspan="4"/>
<label name="cancelled_reason"/>
<field name="cancelled_reason"/>
</page>
<page name="lines">
<field name="lines"/>
</page>
<page name="sales">
<field name="sales" colspan="4"/>
</page>
<!-- <page name="persons">
<field name="persons" colspan="4"/>
</page> -->
<!-- <page string="Contracts" name="contracts">
<field name="contracts" colspan="4"/>
</page> -->
<page string="Conditions" name="conditions">
<field name="conditions"/>
</page>
</notebook>
<label name="state"/>
<field name="state"/>
<group col="-1" colspan="4" id="buttons">
<button name="cancelled" string="Cancelled" icon="tryton-cancel"/>
<button name="opportunity" string="Opportunity" icon="tryton-forward"/>
<button name="converted" string="Converted" icon="tryton-forward"/>
<button name="won" string="Won" icon="tryton-forward"/>
<button name="lost" string="Lost" icon="tryton-cancel"/>
<!-- <button name="lead" icon="tryton-back"/> -->
</group>
</form>