Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Accounting Periods
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Accounting Periods
Merge requests
!17
fix tests
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix tests
topic/15.0/fix-tests
into
branch/15.0
Overview
0
Commits
1
Pipelines
2
Changes
4
Merged
Vincent Hatakeyama
requested to merge
topic/15.0/fix-tests
into
branch/15.0
2 years ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
--HG-- branch : 15.0
0
0
Merge request reports
Compare
version 1
version 1
34a58f9b
2 years ago
branch/15.0 (base)
and
latest version
latest version
7bde6eae
1 commit,
2 years ago
version 1
34a58f9b
1 commit,
2 years ago
Show latest version
1 file
+
5
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tests/test_account_fiscalyear.py
+
5
−
0
Options
@@ -69,6 +69,11 @@
def
test_default_date_stop
(
self
):
"""
Test the default value for date_stop.
"""
# make sure the chart with periods is loaded
self
.
env
.
user
.
company_id
.
chart_template_id
.
_load_periods
(
self
.
env
.
user
.
company_id
)
next_year
=
datetime
.
date
.
today
().
year
+
1
fiscalyear_model
=
self
.
env
[
"
account.fiscalyear
"
]
next_date
=
fiscalyear_model
.
_default_date_stop
()
Loading