Fix
This commit is contained in:
parent
5c66b32ca0
commit
22087b4889
|
@ -221,10 +221,11 @@ class Opportunity(
|
|||
cls._buttons.update({
|
||||
'opportunity': {
|
||||
'invisible': Eval('state').in_(
|
||||
['won', 'lost', 'opportunity','cancelled']),
|
||||
['won', 'lost', 'opportunity', 'cancelled']),
|
||||
},
|
||||
'converted': {
|
||||
'invisible': Eval('state').in_(['lead', 'convert', 'cancelled']),
|
||||
'invisible': Eval('state').in_(
|
||||
['lead', 'convert', 'cancelled']),
|
||||
},
|
||||
'won': {
|
||||
'invisible': ~Eval('state').in_(['converted']),
|
||||
|
@ -233,7 +234,8 @@ class Opportunity(
|
|||
'invisible': ~Eval('state').in_(['converted']),
|
||||
},
|
||||
'cancelled': {
|
||||
'invisible': Eval('state').in_(['lead', 'won', 'lost', 'cancelled']),
|
||||
'invisible': Eval('state').in_([
|
||||
'lead', 'won', 'lost', 'cancelled']),
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -276,7 +276,7 @@ this repository contains the full copyright notices and license terms. -->
|
|||
</record>
|
||||
|
||||
<record model="ir.action.report" id="report_opportunity">
|
||||
<field name="name">Quotation Short Format</field>
|
||||
<field name="name">Quotation</field>
|
||||
<field name="model">crm.opportunity</field>
|
||||
<field name="report_name">crm.opportunity</field>
|
||||
<field name="extension">pdf</field>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=6.0.18
|
||||
version=6.0.19
|
||||
depends:
|
||||
party
|
||||
sale
|
||||
|
|
Loading…
Reference in New Issue