Files
account-financial-tools/currency_rate_update/models/company.py
Alexis de Lattre 1017ce3b4c Update to latest OCA conventions
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
2016-12-05 22:08:52 +01:00

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")