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
!27
Fixing & enabling tests for the 'account' module in .gitlabci
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixing & enabling tests for the 'account' module in .gitlabci
topic/16.0/ob
into
branch/16.0
Overview
0
Commits
2
Pipelines
1
Changes
10
Merged
Vincent Hatakeyama
requested to merge
topic/16.0/ob
into
branch/16.0
1 year ago
Overview
0
Commits
2
Pipelines
1
Changes
10
Expand
--HG-- branch : 16.0
0
0
Merge request reports
Viewing commit
200f9599
Prev
Next
Show latest version
10 files
+
11
−
11
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
200f9599
Update website URL and copyright
· 200f9599
Vincent Hatakeyama
authored
1 year ago
demo/account_demo.py
0 → 100644
+
29
−
0
Options
##############################################################################
#
# Accounting periods, for Odoo
# Copyright © 2023 XCG Consulting <https://xcg-consulting.fr/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from
odoo
import
models
class
AccountChartTemplate
(
models
.
Model
):
_inherit
=
"
account.chart.template
"
def
_create_demo_data
(
self
):
super
(
AccountChartTemplate
,
self
.
with_context
(
install_demo
=
True
)
).
_create_demo_data
()
Loading