← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 771941] [NEW] project_task_work needs some more indices

 

Public bug reported:

things are a bit slow without indices , it's likely to be a big table

class project_work(osv.osv):
    
     _columns = {
        'date': fields.datetime('Date', select="1"),
        'task_id': fields.many2one('project.task', 'Task', ondelete='cascade', required=True, select="1"),
        'user_id': fields.many2one('res.users', 'Done by', required=True, select="1"),

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/771941

Title:
  project_task_work needs some more indices

Status in OpenERP Modules (addons):
  New

Bug description:
  things are a bit slow without indices , it's likely to be a big table

  class project_work(osv.osv):
      
       _columns = {
          'date': fields.datetime('Date', select="1"),
          'task_id': fields.many2one('project.task', 'Task', ondelete='cascade', required=True, select="1"),
          'user_id': fields.many2one('res.users', 'Done by', required=True, select="1"),


Follow ups

References