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:
@@ -17,7 +17,7 @@ class ResPartner(models.Model):
|
||||
)
|
||||
contract_ids = fields.One2many(
|
||||
comodel_name='contract.contract',
|
||||
inverse='partner_id',
|
||||
inverse_name='partner_id',
|
||||
string="Contracts",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user