I've created a kanban view in a module,
I set the default_group_by
property in kanban with the state
field.
The state contains:
[('new','Waiting Queue'),('in_progress','In Progress'),('done','Finished')]
but where's there's no data in specific state,the column for the state will not appear until I create a data with that state.
is there any way to workaround this problem guy ?thanks..
You can achieve that with _group_by_full dictionnary, to add in your osv.osv class.
For example check my sample code:
result is a list of tuples contains (id, name) and fold is a dictionary of pair {id: bool} that if each one be true that column will be fold.