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
15 lines
421 B
Python
15 lines
421 B
Python
# -*- coding: utf-8 -*-
|
|
# © 2009-2016 Camptocamp
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import models, fields
|
|
|
|
|
|
class ResCompany(models.Model):
|
|
_inherit = "res.company"
|
|
|
|
# Activate the currency update
|
|
auto_currency_up = fields.Boolean(
|
|
string='Automatic Currency Rates Download', default=True,
|
|
help="Automatic download of currency rates for this company")
|