Ir al contenido
Menú
Se marcó esta pregunta
3357 Vistas

I have changing stages, So I have changing the state[available_state] in crm.py [New/Qualification/level1/level2/Won/Lost].

when any opportunity changing the stages so only current stage is display in header statusbar.

link:View image

Suppose we change the state:

                  new ==> Qualification [only see Qualification]
                  Qualification ==> level1 [only see level1]
                  level1 ==> level2 [only see level2] 
                  level2 ==> won [only see Won]
                  any state ==> lost [only see lost]

I need a display all stages [New/Qualification/level1/level2/Won/Lost].

Avatar
Descartar
Autor

Here is Screenshot: http://oi40.tinypic.com/5ujlvc.jpg

Had the same problem which drove me crazy. Go to settings/User Interface/views and search for views with "opportunities". Edit the one that has external id 'crm.crm_case_form_view_oppor'. Change the line that reads:<field name="stage_id" widget="statusbar" clickable="True"/> into: <field name="stage_id" widget="statusbar" clickable="True" domain="['&', '|', ('case_default', '=', True), ('section_ids', '=', section_id), '|', ('type', '=', type), ('type', '=', 'both')]" on_change="onchange_stage_id(stage_id)"/>. Don't know how I got to the problem but this fixed it...

Autor

Yes set a default section_id

Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 25
849
2
may 25
1685
1
abr 25
1658
0
mar 25
1678
0
mar 25
1617