Skip to content

Commit

Permalink
Merge PR #2168 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by StefanRijnhart
  • Loading branch information
OCA-git-bot committed Feb 5, 2024
2 parents bc052f3 + 06e451c commit bb9f0e0
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ class IrFiltersCombineWithExisting(models.TransientModel):
domain = fields.Char('Domain', required=True)
context = fields.Char('Context', required=True, default='{}')
model = fields.Char('Model', required=True)
filter_id = fields.Many2one('ir.filters', 'Filter', required=True)
filter_id = fields.Many2one(
comodel_name='ir.filters',
string='Filter',
ondelete='cascade',
index=True,
required=True
)

@api.multi
def button_save(self):
Expand Down

0 comments on commit bb9f0e0

Please sign in to comment.