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']
number = fields.Char('Number', readonly=True, required=True)
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)
party = fields.Many2One(
'party.party', "Party",

View File

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

View File

@ -4,6 +4,8 @@ this repository contains the full copyright notices and license terms. -->
<form col="6">
<label name="party_contact"/>
<field name="party_contact"/>
<label name="contact_phone"/>
<field name="contact_phone"/>
<label name="party"/>
<field name="party"/>
<label name="contact"/>
@ -22,14 +24,14 @@ this repository contains the full copyright notices and license terms. -->
<field name="reference"/>
<label name="amount"/>
<field name="amount" symbol="currency"/>
<label name="description"/>
<field name="description" colspan="3"/>
<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="description"/>
<field name="description" colspan="3"/>
<notebook colspan="6">
<page string="Opportunity" id="opportunity">
<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="end_date"/>
<field name="party_contact" expand="1"/>
<field name="contact_phone" expand="1"/>
<field name="agent" expand="1"/>
<field name="description" expand="1"/>
<field name="party" expand="1"/>