New version

This commit is contained in:
oscar alvarez 2023-08-17 11:32:45 -05:00
parent d69d224dfb
commit accf5d3dda
4 changed files with 7 additions and 3 deletions

View File

@ -50,6 +50,7 @@ class Opportunity(
_depends_stop = ['state'] _depends_stop = ['state']
number = fields.Char('Number', readonly=True, required=True) number = fields.Char('Number', readonly=True, required=True)
party_contact = fields.Char('Party Contact', states=_states_opp) party_contact = fields.Char('Party Contact', states=_states_opp)
contact_phone = fields.Char('Contact Phone', states=_states_opp)
reference = fields.Char('Reference', states=_states_opp) reference = fields.Char('Reference', states=_states_opp)
party = fields.Many2One( party = fields.Many2One(
'party.party', "Party", 'party.party', "Party",

View File

@ -1,5 +1,5 @@
[tryton] [tryton]
version=6.0.8 version=6.0.9
depends: depends:
party party
sale sale

View File

@ -4,6 +4,8 @@ this repository contains the full copyright notices and license terms. -->
<form col="6"> <form col="6">
<label name="party_contact"/> <label name="party_contact"/>
<field name="party_contact"/> <field name="party_contact"/>
<label name="contact_phone"/>
<field name="contact_phone"/>
<label name="party"/> <label name="party"/>
<field name="party"/> <field name="party"/>
<label name="contact"/> <label name="contact"/>
@ -22,14 +24,14 @@ this repository contains the full copyright notices and license terms. -->
<field name="reference"/> <field name="reference"/>
<label name="amount"/> <label name="amount"/>
<field name="amount" symbol="currency"/> <field name="amount" symbol="currency"/>
<label name="description"/>
<field name="description" colspan="3"/>
<label name="conversion_probability"/> <label name="conversion_probability"/>
<group id="conversion_probability"> <group id="conversion_probability">
<field name="conversion_probability" factor="100" xexpand="0"/> <field name="conversion_probability" factor="100" xexpand="0"/>
<label name="conversion_probability" string="%" <label name="conversion_probability" string="%"
xalign="0.0" xexpand="1"/> xalign="0.0" xexpand="1"/>
</group> </group>
<label name="description"/>
<field name="description" colspan="3"/>
<notebook colspan="6"> <notebook colspan="6">
<page string="Opportunity" id="opportunity"> <page string="Opportunity" id="opportunity">
<label name="payment_term"/> <label name="payment_term"/>

View File

@ -7,6 +7,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="start_date"/> <field name="start_date"/>
<field name="end_date"/> <field name="end_date"/>
<field name="party_contact" expand="1"/> <field name="party_contact" expand="1"/>
<field name="contact_phone" expand="1"/>
<field name="agent" expand="1"/> <field name="agent" expand="1"/>
<field name="description" expand="1"/> <field name="description" expand="1"/>
<field name="party" expand="1"/> <field name="party" expand="1"/>