mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
Fix the condition on date >= account_bank_reconciliation_start
Pre-commit updates
This commit is contained in:
@@ -6,8 +6,8 @@ from odoo import fields, models
|
||||
|
||||
|
||||
class ResConfigSettings(models.TransientModel):
|
||||
_inherit = 'res.config.settings'
|
||||
_inherit = "res.config.settings"
|
||||
|
||||
account_bank_reconciliation_start = fields.Date(
|
||||
related="company_id.account_bank_reconciliation_start",
|
||||
readonly=False)
|
||||
related="company_id.account_bank_reconciliation_start", readonly=False
|
||||
)
|
||||
|
||||
@@ -1,25 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright 2022 Akretion France (http://www.akretion.com/)
|
||||
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
-->
|
||||
|
||||
<odoo>
|
||||
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
|
||||
<field name="inherit_id" ref="account.res_config_settings_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@id='bank_cash']" position="inside">
|
||||
<div class="col-xs-12 col-md-6 o_setting_box" id="account_bank_reconciliation_start">
|
||||
<div class="o_setting_left_pane"/>
|
||||
<div
|
||||
class="col-xs-12 col-md-6 o_setting_box"
|
||||
id="account_bank_reconciliation_start"
|
||||
>
|
||||
<div class="o_setting_left_pane" />
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="account_bank_reconciliation_start"/>
|
||||
<label for="account_bank_reconciliation_start" />
|
||||
<div class="text-muted">
|
||||
Date from which you started using bank statements in Odoo. Leave empty if you've been using bank statements in Odoo from the start.
|
||||
</div>
|
||||
<field name="account_bank_reconciliation_start"/>
|
||||
<field name="account_bank_reconciliation_start" />
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user