mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG] contract_recurring_analytic_distribution: Migration to 10.0
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
# Copyright 2015 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from . import account_analytic_invoice_line
|
||||
from . import account_analytic_account
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Copyright 2017 Tecnativa - Vicent Cubells
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from openerp import models, fields, api
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class AccountAnalyticAccount(models.Model):
|
||||
@@ -26,5 +26,6 @@ class AccountAnalyticInvoiceLine(models.Model):
|
||||
|
||||
analytic_distribution_id = fields.Many2one(
|
||||
comodel_name='account.analytic.distribution',
|
||||
string='Analytic Distribution', oldname='analytics_id',
|
||||
string='Analytic Distribution',
|
||||
oldname='analytics_id',
|
||||
)
|
||||
Reference in New Issue
Block a user