Odoo Help


How to create kanban view like opportunity ?

on 8/1/14, 6:58 AM 1,410 views

i am working on a module where i want to create a kanban view like in opportunity but it show only the selected value

not all the possible values like in opportunity there is showing all stages 

but in my it shows only the selected stages by record

On 8/1/14, 10:34 AM

see here:  https://www.odoo.com/forum/help-1/question/how-to-display-group-column-with-no-data-in-openerp-7s-kanban-view-30469


By the way solution is 


def _read_group_drivers(self, cr, uid, ids, domain, read_group_order=None, access_rights_uid=None, context=None):
    #search and pass one2many fieldsid and name in list for ex = [(id1,'name'),(id2, 'name2')] and fold 
        all_drivers = self.pool.get('soohoo.driver').search(cr, uid, [])
        #for driver in all_drivers:
        _logger.warning('drivers--------- %s ' %all_drivers)
        result = [(driver.id, driver.name) for driver in self.pool.get('soohoo.driver').browse(cr, uid, all_drivers)]
        fold = dict.fromkeys(range(1,len(result)+1), False)
        _logger.warning('here---- %s ----and----  %s' %(result, fold))
        return result, fold

    _group_by_full = {
        'driver': _read_group_drivers

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.


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)


Asked: 8/1/14, 6:58 AM
Seen: 1410 times
Last updated: 3/16/15, 8:10 AM