trytonpsk-crm/view/opportunity_form.xml

89 lines
3.4 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="party"/>
<field name="party"/>
<label name="contact"/>
<field name="contact"/>
<label name="number"/>
<field name="number"/>
<label name="address"/>
<field name="address" colspan="3"/>
<label name="type"/>
<field name="type"/>
<label name="description"/>
<field name="description" colspan="5"/>
<label name="kind_opportunity"/>
<field name="kind_opportunity"/>
<!-- <newline/> -->
<label name="source"/>
<field name="source"/>
<label name="reference"/>
<field name="reference"/>
<label name="amount"/>
<field name="amount" symbol="currency"/>
<label name="time_ammount"/>
<field name="time_ammount"/>
<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="Opportunity" id="opportunity">
<label name="company"/>
<field name="company"/>
<newline/>
<label name="employee"/>
<field name="employee"/>
<label name="converted_by"/>
<field name="converted_by"/>
<label name="start_date"/>
<field name="start_date"/>s
<label name="end_date"/>
<field name="end_date"/>
<label name="payment_term"/>
<field name="payment_term"/>
<!-- <separator name="cancelled_reason" colspan="4"/> -->
<label name="cancelled_reason"/>
<field name="cancelled_reason"/>
<separator name="comment" colspan="4"/>
<field name="comment" colspan="4"/>
</page>
<page name="lines">
<field name="lines"/>
</page>
<page name="sales">
<field name="sales" colspan="4"/>
</page>
<page string="Contracts" name="contracts">
<field name="contracts" colspan="4"/>
</page>
<page string="Party Validation" name="party_validations">
<field name="party_validations" view_ids="crm.opportunity_validation_view_tree,crm.opportunity_validation_view_form" colspan="4"/>
</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="prospecting" string="Prospecting" icon="tryton-forward"/>
<button name="analysis" string="Analysis" icon="tryton-forward"/>
<button name="quotation" string="Quotation" icon="tryton-forward"/>
<button name="quote_revision" string="Quote Revision" icon="tryton-forward"/>
<button name="review" string="Review" icon="tryton-forward"/>
<button name="quote_approbation" string="Quote Approbation" icon="tryton-forward"/>
<button name="customer_approbation" string="Customer Approbation" icon="tryton-forward"/>
<button name="accepted" string="Accepted" icon="tryton-forward"/>
<button name="lost" string="Lost" icon="tryton-cancel"/>
<!-- <button name="lead" icon="tryton-back"/> -->
</group>
</form>