Files
account-financial-tools/account_check_deposit/models/account_config_settings.py
Alexis de Lattre 9f33f97703 Port account_check_deposit to v10
Add option to have the counter-part of the deposit move directly to the bank account
Use account.config.settings page
2016-12-06 08:52:08 +01:00

15 lines
532 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'
check_deposit_offsetting_account = fields.Selection(
related='company_id.check_deposit_offsetting_account')
check_deposit_transfer_account_id = fields.Many2one(
related='company_id.check_deposit_transfer_account_id')