← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 728173] Re: Print screen title

 

Hello this bug comes from _description attribute in each object i found
the code in server/bin/report/printscreen/ps_list.py how title is set
from _description.

    def create(self, cr, uid, ids, datas, context=None):                                                                                                                           
        if not context:                                                                                                                                                            
            context={}                                                                                                                                                             
        self.cr=cr                                                                                                                                                                 
        self.context = context                                                                                                                                                     
        self.groupby = context.get('group_by',[])                                                                                                                                  
        self.groupby_no_leaf = context.get('group_by_no_leaf',False)                                                                                                               
        pool = pooler.get_pool(cr.dbname)                                                                                                                                          
        model = pool.get(datas['model'])                                                                                                                                           
        # Title come from description of model which are specified in py file.                                                                                                     
        model_desc = model._description                                                                                                                                            
        self.title = model_desc  


What milestone will fixed this bug for?


Regards,

-- 
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/728173

Title:
  Print screen title

Status in OpenERP Server:
  Confirmed

Bug description:
  Hi!
  I know there is a bug already reported like mine, but it's a little bit different.
  Whichever language users use, its seem that the title of the print screen stay in english.
  I tried different language and the bug still happens.
  it seem that the po doesn't work for the title, it work for the rest of the field, but not the title.
  I am working with openerp v6.0.1 on ubuntu 10.04 lts

  I already work with openerp v5.0.15 and did not have this problem



References