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

Make task sequence unchangeable in Kanban

By
Renemari Padillo
on 4/12/16, 5:12 AM 306 views

Is it possible to make task sequence unchangeable upon dragging and dropping cards in Kanban from different stages?

Refer to the table below:

BACKLOG
IN PROGRESS
CODE REVIEW
QA
DONE
TASK 1




TASK 2




TASK 3




TASK 4




TASK 5




TASK 6




TASK 7




TASK 8




TASK 9



Upon moving the task from different stages they should still retain their sequences in ascending order.

 

BACKLOG
IN PROGRESSCODE REVIEW
QA
DONE
TASK 1
TASK 2
TASK 3
TASK 4
TASK 7
TASK 5
TASK 6
TASK 8


TASK 9




I've tried adding `_order = 'sequence desc'` but still it doesn't retain their previous sequence order.
Let me know if this is possible. Thanks
0
Renemari Padillo
On 4/19/16, 10:54 PM

So what I did, I created another Integer field called `rank` to my inherited task model.

So what happens now is on the project edit form, I added task_ids field and created a `handle` widget that points to `rank` to change the ranking of the tasks in the kanban board, also I've change the `_order` to `rank` so it would display the tasks by its ranking.

Though it works, the bad thing is that I have to refresh the page to see the changes. Too bad can't do it real-time in Kanban. :(

0
dbuser
On 4/13/16, 2:32 AM

You need to delete

<field name="sequence" readonly="1" invisible="1"/>  from your XML view or use

<field name="sequence" position="replace"/> to remove from XML.

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: 4/12/16, 5:12 AM
Seen: 306 times
Last updated: 4/19/16, 10:54 PM