Browse Source

[MIG] contract: Missing renaming of invoice link

Done through `oldname`.
pull/399/head
Pedro M. Baeza 5 years ago
parent
commit
5538c264a8
  1. 3
      contract/models/account_invoice.py

3
contract/models/account_invoice.py

@ -8,4 +8,5 @@ class AccountInvoice(models.Model):
_inherit = 'account.invoice' _inherit = 'account.invoice'
# We keep this field for migration purpose # 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