mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_check_deposit: fix tests
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
@@ -9,10 +8,11 @@
|
||||
|
||||
/*
|
||||
:Author: David Goodger (goodger@python.org)
|
||||
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
|
||||
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
|
||||
Default cascading style sheet for the HTML output of Docutils.
|
||||
Despite the name, some widely supported CSS2 features are used.
|
||||
|
||||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
||||
customize this style sheet.
|
||||
@@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
pre.code .ln { color: grey; } /* line numbers */
|
||||
pre.code .ln { color: gray; } /* line numbers */
|
||||
pre.code, code { background-color: #eeeeee }
|
||||
pre.code .comment, code .comment { color: #5C6576 }
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
||||
@@ -301,7 +301,7 @@ span.option {
|
||||
span.pre {
|
||||
white-space: pre }
|
||||
|
||||
span.problematic {
|
||||
span.problematic, pre.problematic {
|
||||
color: red }
|
||||
|
||||
span.section-subtitle {
|
||||
@@ -471,7 +471,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org">
|
||||
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
||||
</a>
|
||||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.</p>
|
||||
|
||||
@@ -15,12 +15,7 @@ class TestAccountCheckDeposit(AccountTestInvoicingCommon):
|
||||
def setUpClass(cls, chart_template_ref=None):
|
||||
super().setUpClass(chart_template_ref=chart_template_ref)
|
||||
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
|
||||
cls.fr_test_company = cls.setup_company_data(
|
||||
"Chq deposit test company",
|
||||
chart_template=chart_template_ref,
|
||||
country_id=cls.env.ref("base.fr").id,
|
||||
)
|
||||
cls.company = cls.fr_test_company["company"]
|
||||
cls.company = cls.company_data["company"]
|
||||
cls.user.write(
|
||||
{
|
||||
"company_ids": [Command.link(cls.company.id)],
|
||||
@@ -60,7 +55,7 @@ class TestAccountCheckDeposit(AccountTestInvoicingCommon):
|
||||
],
|
||||
}
|
||||
)
|
||||
cls.fr_test_company["default_journal_bank"].bank_account_id = cls.env[
|
||||
cls.company_data["default_journal_bank"].bank_account_id = cls.env[
|
||||
"res.partner.bank"
|
||||
].create(
|
||||
{
|
||||
@@ -98,7 +93,7 @@ class TestAccountCheckDeposit(AccountTestInvoicingCommon):
|
||||
{
|
||||
"company_id": self.company.id,
|
||||
"journal_id": self.check_journal.id,
|
||||
"bank_journal_id": self.fr_test_company["default_journal_bank"].id,
|
||||
"bank_journal_id": self.company_data["default_journal_bank"].id,
|
||||
"currency_id": self.currency.id,
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user