mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Review round
This commit is contained in:
@@ -27,14 +27,14 @@ class BiSQLView(models.Model):
|
||||
|
||||
_STATE_SQL_EDITOR = [
|
||||
('model_valid', 'SQL View and Model Created'),
|
||||
('ui_valid', 'Graph, action and Menu Created'),
|
||||
('ui_valid', 'Views, Action and Menu Created'),
|
||||
]
|
||||
|
||||
technical_name = fields.Char(
|
||||
string='Technical Name', required=True,
|
||||
help="Suffix of the SQL view. (SQL full name will be computed and"
|
||||
" prefixed by 'x_bi_sql_view_'. Should have correct"
|
||||
"syntax. For more information, see https://www.postgresql.org/"
|
||||
help="Suffix of the SQL view. SQL full name will be computed and"
|
||||
" prefixed by 'x_bi_sql_view_'. Syntax should follow: "
|
||||
"https://www.postgresql.org/"
|
||||
"docs/current/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS")
|
||||
|
||||
view_name = fields.Char(
|
||||
|
||||
@@ -84,7 +84,7 @@ class BiSQLViewField(models.Model):
|
||||
|
||||
ttype = fields.Selection(
|
||||
string='Field Type', selection=_TTYPE_SELECTION, help="Type of the"
|
||||
" Odoo field that will be created. Let empty if you don't want to"
|
||||
" Odoo field that will be created. Keep empty if you don't want to"
|
||||
" create a new field. If empty, this field will not be displayed"
|
||||
" neither available for search or group by function")
|
||||
|
||||
@@ -98,7 +98,7 @@ class BiSQLViewField(models.Model):
|
||||
many2one_model_id = fields.Many2one(
|
||||
comodel_name='ir.model', string='Model',
|
||||
help="For 'Many2one' Odoo field.\n"
|
||||
" Co Model of the field.")
|
||||
" Comodel of the field.")
|
||||
|
||||
# Compute Section
|
||||
@api.multi
|
||||
|
||||
Reference in New Issue
Block a user