mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG] contract: Missing renaming of invoice link
Done through `oldname`.
This commit is contained in:
@@ -8,4 +8,5 @@ class AccountInvoice(models.Model):
|
||||
_inherit = 'account.invoice'
|
||||
|
||||
# We keep this field for migration purpose
|
||||
old_contract_id = fields.Many2one('contract.contract')
|
||||
old_contract_id = fields.Many2one(
|
||||
'contract.contract', oldname='contract_id')
|
||||
|
||||
Reference in New Issue
Block a user