multi='day_open', type="float", store=True),
'day_close': fields.function(_compute_day, string='Days to Close', \
multi='day_close', type="float", store=True),
- 'state': fields.related('stage_id', 'state', type="selection", store=True,
- selection=crm.AVAILABLE_STATES, string="Status", readonly=True,
- help='The Status is set to \'Draft\', when a case is created. If the case is in progress the Status is set to \'Open\'. When the case is over, the Status is set to \'Done\'. If the case needs to be reviewed then the Status is set to \'Pending\'.'),
+ 'date_last_stage_update': fields.datetime('Last Stage Update', select=True),
+ # Messaging and marketing
+ 'message_bounce': fields.integer('Bounce'),
# Only used for type opportunity
- 'probability': fields.float('Success Rate (%)',group_operator="avg"),
+ 'probability': fields.float('Success Rate (%)', group_operator="avg"),
'planned_revenue': fields.float('Expected Revenue', track_visibility='always'),
'ref': fields.reference('Reference', selection=crm._links_get, size=128),
'ref2': fields.reference('Reference 2', selection=crm._links_get, size=128),
<field name="description"/>
</page>
<page string="Extra Info">
- <group string="Categorization" groups="base.group_multi_company,base.group_no_one" name="categorization">
- <field name="company_id"
- groups="base.group_multi_company"
- widget="selection" colspan="2"/>
- </group>
- <group string="Mailings">
- <field name="opt_out"/>
- </group>
- <group string="Misc">
- <group>
+ <group>
+ <group string="Categorization" groups="base.group_multi_company,base.group_no_one" name="categorization">
+ <field name="company_id"
+ groups="base.group_multi_company"
+ widget="selection" colspan="2"/>
+ <field name="state" groups="base.group_no_one"/>
+ </group>
+ <group string="Mailings">
+ <field name="opt_out"/>
+ <field name="message_bounce"/>
+ </group>
+ <group string="Misc">
+ <field name="probability" groups="base.group_no_one"/>
<field name="active"/>
<field name="referred"/>
</group>