diff --git a/account_chart_report/wizard/account_report_chart_of_account.py b/account_chart_report/wizard/account_report_chart_of_account.py index 872ac507..e284a126 100644 --- a/account_chart_report/wizard/account_report_chart_of_account.py +++ b/account_chart_report/wizard/account_report_chart_of_account.py @@ -32,6 +32,7 @@ class ChartOfAccountsReport(models.TransientModel): 'Chart of Accounts', help='Select Charts of Accounts', required=True, + ondelete="cascade", domain=([('parent_id', '=', False)])) @api.multi