mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract: Proper o2m field definition
It should be inverse_name, not inverse.
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Recurring - Contracts Management',
|
'name': 'Recurring - Contracts Management',
|
||||||
'version': '12.0.7.2.5',
|
'version': '12.0.7.2.6',
|
||||||
'category': 'Contract Management',
|
'category': 'Contract Management',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'author': "OpenERP SA, "
|
'author': "OpenERP SA, "
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ class ResPartner(models.Model):
|
|||||||
)
|
)
|
||||||
contract_ids = fields.One2many(
|
contract_ids = fields.One2many(
|
||||||
comodel_name='contract.contract',
|
comodel_name='contract.contract',
|
||||||
inverse='partner_id',
|
inverse_name='partner_id',
|
||||||
string="Contracts",
|
string="Contracts",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user