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):
|
class ResConfigSettings(models.TransientModel):
|
||||||
_inherit = 'res.config.settings'
|
_inherit = "res.config.settings"
|
||||||
|
|
||||||
account_bank_reconciliation_start = fields.Date(
|
account_bank_reconciliation_start = fields.Date(
|
||||||
related="company_id.account_bank_reconciliation_start",
|
related="company_id.account_bank_reconciliation_start", readonly=False
|
||||||
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/)
|
Copyright 2022 Akretion France (http://www.akretion.com/)
|
||||||
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||||
<field name="model">res.config.settings</field>
|
<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">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//div[@id='bank_cash']" position="inside">
|
<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
|
||||||
<div class="o_setting_left_pane"/>
|
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">
|
<div class="o_setting_right_pane">
|
||||||
<label for="account_bank_reconciliation_start"/>
|
<label for="account_bank_reconciliation_start" />
|
||||||
<div class="text-muted">
|
<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.
|
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>
|
</div>
|
||||||
<field name="account_bank_reconciliation_start"/>
|
<field name="account_bank_reconciliation_start" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|||||||
Reference in New Issue
Block a user