Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4665 มุมมอง

When Odoo 9.0 first start, it create a new demo database. How can I avoid that?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Until and unless you click on Create Database in Database Manager (http://127.0.0.1:8069/web/database/manager) page, it won't create any database.

Can you tell me more about when the database is being created?

อวตาร
ละทิ้ง
ผู้เขียน

When I start odoo

I don't think odoo creates any database while it starts, how do you know that odoo creates a database while starting? Did you see any db in pgAdmin??

ผู้เขียน

I see it on the log. Also, Odoo is not usable for its 2 firsts minutes after starting and when it's ok I can see web already got a database on the selector.

can i know how you are starting odoo?

are you talking about demo database or demo data?

check this link, might be of any help: https://stackoverflow.com/questions/33424888/how-to-skip-demo-data-in-odoo-instance

ผู้เขียน

With Docker:

version: '2'

services:

odoo:

image: odoo:10.0

links:

- postgresdb:db

ports:

- 8070:8069

environment:

- HOST=db

- USER=odoo

- PASSWORD=odoo

volumes:

- odoo-data:/var/lib/odoo:z

- ./conf/odoo.conf:/etc/odoo/odoo.conf:z

- ./extra-addons:/mnt/extra-addons:z

stdin_open: true

tty: true

postgresdb:

image: postgres:10

environment:

- POSTGRES_PASSWORD=odoo

- POSTGRES_USER=odoo

- POSTGRES_DB=postgres

volumes:

- ./data/postgres:/var/lib/postgresql/data:z

volumes:

odoo-data:

That's the odoo config file, i was asking how were you starting odoo instance. Anyway are you talking about demo database or demo data?

ผู้เขียน

Yes

That an docker-compose file, because I run Odoo in Docker.

Related Posts ตอบกลับ มุมมอง กิจกรรม
Pre-configured Odoo demos V11 แก้ไขแล้ว
3
ม.ค. 19
10912
1
ธ.ค. 18
6745
1
ม.ค. 17
4623
[V9] How to Inherit write function แก้ไขแล้ว
2
ต.ค. 15
9400
0
มี.ค. 15
3811