Browse Source

Merge pull request #635 from Tecnativa/8.0-account_chart_report-wizard_ondelete

[FIX] account_chart_report: Add ondelete=cascade to wizard
pull/642/head
Pedro M. Baeza 5 years ago
committed by GitHub
parent
commit
f1b1d3883d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      account_chart_report/wizard/account_report_chart_of_account.py

1
account_chart_report/wizard/account_report_chart_of_account.py

@ -32,6 +32,7 @@ class ChartOfAccountsReport(models.TransientModel):
'Chart of Accounts', 'Chart of Accounts',
help='Select Charts of Accounts', help='Select Charts of Accounts',
required=True, required=True,
ondelete="cascade",
domain=([('parent_id', '=', False)])) domain=([('parent_id', '=', False)]))
@api.multi @api.multi

Loading…
Cancel
Save