Add ondelete cascade on export lines
Also make the export field required issue6551 review34171002
This commit is contained in:
@@ -21,5 +21,5 @@ class ExportLine(ModelSQL, ModelView):
|
||||
"Export line"
|
||||
__name__ = 'ir.export.line'
|
||||
name = fields.Char('Name')
|
||||
export = fields.Many2One('ir.export', 'Export',
|
||||
select=True)
|
||||
export = fields.Many2One('ir.export', 'Export', select=True, required=True,
|
||||
ondelete='CASCADE')
|
||||
|
||||
Reference in New Issue
Block a user