mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] sql_request_abstract v10
This commit is contained in:
@@ -10,8 +10,8 @@ import StringIO
|
||||
import base64
|
||||
from psycopg2 import ProgrammingError
|
||||
|
||||
from openerp import _, api, fields, models
|
||||
from openerp.exceptions import Warning as UserError
|
||||
from odoo import _, api, fields, models
|
||||
from odoo.exceptions import UserError
|
||||
|
||||
|
||||
class SQLRequestMixin(models.AbstractModel):
|
||||
@@ -129,7 +129,7 @@ class SQLRequestMixin(models.AbstractModel):
|
||||
|
||||
..note:: The following exceptions could be raised:
|
||||
psycopg2.ProgrammingError: Error in the SQL Request.
|
||||
openerp.exceptions.Warning:
|
||||
odoo.exceptions.UserError:
|
||||
* 'mode' is not implemented.
|
||||
* materialized view is not supported by the Postgresql Server.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user