I tried this:

   pool = pooler.get_pool(self.cr.dbname)
   
or this:

    
   self.cr.execute('UPDATE ir_act_report_xml SET report_type=%S WHERE 
report_name="product.pricelist"'%output_format )


and I get this error:    
AttributeError: 'product.price_list' object has no attribute 'cr'


what am I doing wrong ?


thanks!

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to