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
!35
QoL updates according to module template
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
QoL updates according to module template
topic/11.0/qol
into
branch/11.0
Overview
0
Commits
1
Pipelines
1
Changes
37
Merged
Houzefa Abbasbhay
requested to merge
topic/11.0/qol
into
branch/11.0
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
37
Expand
--HG-- branch : 11.0
0
0
Merge request reports
Compare
branch/11.0
branch/11.0 (base)
and
latest version
latest version
56863a32
1 commit,
1 year ago
37 files
+
185
−
694
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
37
Search (e.g. *.vue) (Ctrl+P)
demo/account_fiscalyear_and_periods.xml
+
5
−
5
Options
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"
?>
<odoo>
<!-- Load default fiscal years and periods when building a demo database. This
matters when running automated tests. -->
@@ -27,8 +26,10 @@
<field
name=
"fiscalyear_id"
ref=
"data_fiscalyear"
/>
<field
name=
"date_start"
eval=
"time.strftime('%Y')+'-02-01'"
/>
<!-- Last day of February: 1 day before March 1st. -->
<field
name=
"date_stop"
eval=
"(DateTime.today().replace(month=3, day=1) - timedelta(days=1)).strftime('%Y-%m-%d')"
/>
<field
name=
"date_stop"
eval=
"(DateTime.today().replace(month=3, day=1) - timedelta(days=1)).strftime('%Y-%m-%d')"
/>
<field
name=
"company_id"
ref=
"base.main_company"
/>
</record>
<record
id=
"period_3"
model=
"account.period"
>
@@ -111,5 +112,4 @@
<field
name=
"date_stop"
eval=
"time.strftime('%Y')+'-12-31'"
/>
<field
name=
"company_id"
ref=
"base.main_company"
/>
</record>
</odoo>
Loading