This commit moves the Track cost setting from account to analytic in order to use it in modules depending on analytic. This setting is based on a group defined in analytic (analytic.group_analytic_accounting), this group is not moved. PR : #72736 See odoo/upgrade#2706 task-2545084
10 lines
348 B
Python
10 lines
348 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
group_analytic_accounting = fields.Boolean(string='Analytic Accounting', implied_group='analytic.group_analytic_accounting')
|