Files
account-financial-tools/account_check_deposit/models/res_config_settings.py
Alexis de Lattre 800db2b5b0 account_check_deposit: Don't force 'name' of account.move
Add print button (feature up-ported from v10)
Add option to post moves (feature up-ported from v10)
Sequence now takes into account the deposit date
Customize the filename of the report
Update README with v12 labels
2019-03-04 08:28:33 +01:00

22 lines
733 B
Python

# Copyright 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# Copyright 2018 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
check_deposit_offsetting_account = fields.Selection(
readonly=False,
related='company_id.check_deposit_offsetting_account',
)
check_deposit_transfer_account_id = fields.Many2one(
related='company_id.check_deposit_transfer_account_id',
readonly=False,
)
check_deposit_post_move = fields.Boolean(
related='company_id.check_deposit_post_move', readonly=False,
)