mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
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 [UPD] README.rst [UPD] Update account_check_deposit.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_check_deposit Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_check_deposit/ [UPD] README.rst
22 lines
733 B
Python
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,
|
|
)
|