Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

Auto-Backup on Odoo 9.0?

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
addonsbackup9.0c
1 Trả lời
5519 Lượt xem
Ảnh đại diện
sdbs_ml

I have a test instance of Odoo running on a Linux server, where it resides at:
    /home/odoo/odoo1_git/
Do note that:
    I'm trying to use Danish translation on it (so some things are translated, but not all)
    I'm using https://www.odoo.com/apps/modules/8.0/auth_from_http_remote_user/ so I can login directly from an Apache login (i.e. the default login of Odoo is not used), and I'm also using https://www.odoo.com/apps/modules/8.0/web_hide_db_manager_link/ (via https://github.com/OCA/web/tree/9.0/ and https://github.com/OCA/server-tools)
    I use the demo data
In any case, the install seems to work fine, and I get 9.0c as version of the installation when I look at the About menu:

At first, I thought I can only export the database if I install an addon/module - but that was apparently because I had hidden the DB manager link :) Still, I found http://stackoverflow.com/questions/27935745/backup-odoo-db-from-within-odoo - and so all I had to do was go to http://my-odoo-instance.example.com/web/database/manager, and I could export the database. So that is good too.
However, before I found that info, I tried to install "Database Auto-Backup" addon/module from https://www.odoo.com/apps/modules/8.0/auto_backup/ - and I couldn't succeed; so that is what the question is about. This is what I ended up doing to install it:
git clone https://github.com/Yenthe666/auto_backup.git auto_backup_gitcd auto_backup_gitgit checkout 9.0# Branch 9.0 set up to track remote branch 9.0 from origin.
# Switched to a new branch '9.0'cd ..
sudo -H -u odoo cp -a auto_backup_git/auto_backup /home/odoo/odoo1_git/addons/
Then, I go to Apps/Update Apps List, get the Module Update screen:
... and click on Update; this seemingly completes, as now I can see the "Database Auto-Backup" app/module if I remove the "Apps" filter in the Apps view.
    NB: At this point, new entries are created in the `ir_module_module` and `ir_model_data` tables of the database, however, if I delete the folder `/home/odoo/odoo1_git/addons/auto_backup` and then run Update Apps List/Update again, the addon will still be shown in the Apps list, even if its folder is not shown anymore! One must delete the entries from the `ir_module_module` and `ir_model_data` tables of the database to have the addon disappear from this list (see https://www.odoo.com/forum/help-1/question/how-to-uninstall-a-module-from-command-line-36076)
Ok, so at this point, I "Install" the module from the Apps list in the GUI, and all seems to complete; this is what I get for the module:
So, all is seemingly OK - however, at this point, if I click on Upgrade, Odoo seemingly starts doing something (as if updating), but then again shows the exact same state as on the image (i.e. "Upgrade" button is blue, version is 9.0.1.0). If here I click on Installed Features, I see:
... so I guess, I should see a new menu (Back-ups) under Settings/Technical. So, I enable "Developer Mode" from the About menu shown above, and then I try to check the Settings menu. However, there is no such menu shown under Settings/Technical - here is the entirety of the "Developer Mode" Settings menu I get:

Would anyone have an idea what am I doing wrong? Are there any logs where I could check why don't I get the menu for Auto-Backup that I expect?

1
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
sdbs_ml
Tác giả Câu trả lời hay nhất

For some reason, I cannot edit the original post question and format it better; I get "403 – Forbidden! The page you were looking for could not be authorized." no matter what I try; so I'm going to try and post a better formatted version in this answer... Well, that seems to have worked - so could a forum administrator please replace the original question with this post? Thanks!

-----------

EDIT: found the problem - even if I installed the addon as a user that I thought had full administrative permissions, I couldn't see the menu because, well, the user did not actually have permissions for that menu. Once I logged in as the default admin user, I could see the menu.

-----------

I have a test instance of Odoo running on a Linux server, where it resides at:

    /home/odoo/odoo1_git/

Do note that:

  • I'm trying to use Danish translation on it (so some things are translated, but not all)

  • I'm using https://www.odoo.com/apps/modules/8.0/auth_from_http_remote_user/ so I can login directly from an Apache login (i.e. the default login of Odoo is not used), and I'm also using https://www.odoo.com/apps/modules/8.0/web_hide_db_manager_link/ (via https://github.com/OCA/web/tree/9.0/ and https://github.com/OCA/server-tools)

  • I use the demo data

In any case, the install seems to work fine, and I get 9.0c as version of the installation when I look at the About menu:


At first, I thought I can only export the database if I install an addon/module - but that was apparently because I had hidden the DB manager link :) Still, I found http://stackoverflow.com/questions/27935745/backup-odoo-db-from-within-odoo - and so all I had to do was go to http://my-odoo-instance.example.com/web/database/manager, and I could export the database. So that is good too.

However, before I found that info, I tried to install "Database Auto-Backup" addon/module from https://www.odoo.com/apps/modules/8.0/auto_backup/ - and I couldn't succeed; so that is what this question is about. This is what I ended up doing to install it:

git clone https://github.com/Yenthe666/auto_backup.git auto_backup_git
cd auto_backup_git
git checkout 9.0
# Branch 9.0 set up to track remote branch 9.0 from origin.
# Switched to a new branch '9.0'
cd ..
sudo -H -u odoo cp -a auto_backup_git/auto_backup /home/odoo/odoo1_git/addons/

Then, I go to Apps/Update Apps List, get the Module Update screen:

... and click on Update; this seemingly completes, as now I can see the "Database Auto-Backup" app/module if I remove the "Apps" filter in the Apps view.

  • Note: At this point, new entries are created in the `ir_module_module` and `ir_model_data` tables of the database, however, if I delete the folder `/home/odoo/odoo1_git/addons/auto_backup` and then run Update Apps List/Update again, the addon will still be shown in the Apps list - even if its folder is not present anymore! One must delete the entries from the `ir_module_module` and `ir_model_data` tables of the database to have the addon disappear from this list (see https://www.odoo.com/forum/help-1/question/how-to-uninstall-a-module-from-command-line-36076)

Ok, so at this point, I "Install" the module from the Apps list in the GUI, and all seems to complete; this is what I get for the module:

So, all is seemingly OK - however, at this point, if I click on Upgrade, Odoo seemingly starts doing something (as if updating), but then again shows the exact same state as on the image (i.e. "Upgrade" button is blue, version is 9.0.1.0). If here I click on Installed Features, I see:

... so I guess, I should see a new menu (Back-ups) under Settings/Technical. So, I enable "Developer Mode" from the About menu shown above, and then I try to check the Settings menu. However, there is no such menu shown under Settings/Technical - here is the entirety of the "Developer Mode" Settings menu I get:

Would anyone have an idea what am I doing wrong? Are there any logs where I could check why don't I get the menu for Auto-Backup that I expect?

0
Ảnh đại diện
Huỷ bỏ
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
Odoo isn't seeing an add-on that I downloaded and placed in the addons folder Đã xử lý
addons
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
5
thg 10 25
2537
ADD ON FINANCIAL MODULE/FISCALE ACCOUNTING FOR ODOO 18 COMMUNITY
addons
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
2
thg 8 25
1891
Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpAa0O5Q/dump.sql', u'ahlain_db01') error 1 Đã xử lý
backup
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
9
thg 7 25
67257
how to backup ? Đã xử lý
backup
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
9
thg 7 24
103549
Uploaded Addons don't appear when Updating Addons List
addons
Ảnh đại diện
Ảnh đại diện
1
thg 12 23
4489
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now