Odoo Help

0

No transition between stages in opportunities

By
Gillesd
on 5/7/14, 8:24 AM 785 views

Hello,

In opportunities, in form view, i don't the the five stages that are set.

For exemple : If i create a new one, it has just one stage "New". From the kanban view, if i drag & drop this opportunity to a other stage, "negotiation", it still has only one stage(negotiation)

I don't know why the possibility to escalate the stage from the form view disappeared.

Could someone help me with this ?

Thanks :)

0
Juan Felix Mateos
On 6/21/14, 7:02 AM

I get an error with the full code but it seems to work only with

<field name="stage_id" widget="statusbar" clickable="True" domain="[ '|', ('type', '=', type), ('type', '=', 'both')]" on_change="onchange_stage_id(stage_id)"/>

 

Is there any error in '&', '|', ('case_default', '=', True), ('section_ids', '=', section_id),

0
Gillesd
On 5/7/14, 8:46 AM

OK i found the solution.

After activating developer mode.

In form view of the opportunities, i select the "Edit FormView" (on the upper left of the screen)

I replace

<field name="stage_id" widget="statusbar" clickable="True"/>

By

<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)"/>

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/7/14, 8:24 AM
Seen: 785 times
Last updated: 3/16/15, 8:10 AM