[FIX] contract: Delete cascade line wizard

For avoiding problems while trying to remove the contract/contract line
This commit is contained in:
Pedro M. Baeza
2020-04-01 19:21:12 +02:00
parent adfefdd5c2
commit d1290c2cbb
2 changed files with 2 additions and 1 deletions

View File

@@ -9,7 +9,7 @@
{ {
'name': 'Recurring - Contracts Management', 'name': 'Recurring - Contracts Management',
'version': '12.0.6.0.2', 'version': '12.0.6.0.3',
'category': 'Contract Management', 'category': 'Contract Management',
'license': 'AGPL-3', 'license': 'AGPL-3',
'author': "OpenERP SA, " 'author': "OpenERP SA, "

View File

@@ -25,6 +25,7 @@ class ContractLineWizard(models.TransientModel):
string="Contract Line", string="Contract Line",
required=True, required=True,
index=True, index=True,
ondelete="cascade",
) )
@api.multi @api.multi