mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] bi_sql_editor : add field context
This commit is contained in:
committed by
OCA-git-bot
parent
edecab16a2
commit
c55dc6f287
@@ -168,6 +168,12 @@ class BiSQLView(models.Model):
|
||||
|
||||
sequence = fields.Integer(string="sequence")
|
||||
|
||||
option_context_field = fields.Boolean(
|
||||
string="Use Context Field",
|
||||
help="Check this box if you want to add a context column in the field list view."
|
||||
" Custom Context will be inserted in the created views.",
|
||||
)
|
||||
|
||||
# Constrains Section
|
||||
@api.constrains("is_materialized")
|
||||
def _check_index_materialized(self):
|
||||
|
||||
Reference in New Issue
Block a user