mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract: Delete cascade line wizard
For avoiding problems while trying to remove the contract/contract line
This commit is contained in:
@@ -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, "
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user