mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Update README Code cleanup: remove @api.one, better error messages, remove call to MOD_NAME which was not defined any more Use account.menu_config_multi_currency as parent menu
13 lines
377 B
Python
13 lines
377 B
Python
# -*- coding: utf-8 -*-
|
|
# © 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import models, fields
|
|
|
|
|
|
class AccountConfigSettings(models.TransientModel):
|
|
_inherit = 'account.config.settings'
|
|
|
|
auto_currency_up = fields.Boolean(
|
|
related='company_id.auto_currency_up')
|