| Thread Previous • Date Previous • Date Next • Thread Next |
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!
| Thread Previous • Date Previous • Date Next • Thread Next |