[IMP] bi_sql_editor : add field context

This commit is contained in:
Sylvain LE GAL
2021-12-16 19:40:56 +01:00
committed by OCA-git-bot
parent edecab16a2
commit c55dc6f287
3 changed files with 36 additions and 4 deletions

View File

@@ -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):