Browse Source

[MIG] contract: Missing renaming of invoice link

Done through `oldname`.
13.0-mig-contract
Pedro M. Baeza 5 years ago
committed by Administrator
parent
commit
222654bf40
  1. 3
      contract/models/account_invoice.py

3
contract/models/account_invoice.py

@ -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')
Loading…
Cancel
Save