Odoo Help

Welcome!

This community 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.

0

A workflow with checklist?

By
thenon
on 5/21/13, 8:18 PM 2,158 views

We want to model a process. In this process, to give from state A to state B, you need to tick 5 checkboxes to indicate 5 things have been done. To go to State C, you need to tick 10 checkboxes, etc.

What would be the best way to achieve this in OpenERP?

Thanks.

0

Felipe

--Felipe--
962
| 5 3 8
Bogotá, Colombia
--Felipe--
Informatics engineer Industrial engineer
Felipe
On 5/22/13, 12:11 AM

Let's say your checkboxes (boolean fields) are field1,field2....

In the workflow, in the transition between nodes A and B leave blank the "signal" field, and in the "condition" field replace "True"(default) for (field1 and field2 and field3 and field4 and field5) so if all the 5 fields are True(checked) the object should go to the next node and in the "action" field of the nodeB put "write({'state':'stateB'})"

Ok thanks that sounds like it would work, but my question is more general/basic, i.e. where to start with making this all happen? Is there a module that allows you to add these checkboxes to a kanban view? Ideally I don't want to be hard coding things, but allow users to set up various conditions that are required to move to the next state. OpenERP should then just validate that they've all been ticked when allowing/disallowing the item to be moved to the next state.

thenon
on 5/22/13, 5:39 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/21/13, 8:18 PM
Seen: 2158 times
Last updated: 3/16/15, 8:10 AM