Перейти к содержимому
Odoo Меню
  • Войти
  • Попробовать бесплатно
  • Модули
    Финансы
    • Бухгалтерия
    • Выставление счетов
    • Расходы
    • Таблицы
    • Документооборот
    • Подпись
    Продажи
    • CRM
    • Продажи
    • POS Магазин
    • POS Ресторан
    • Подписки
    • Аренда
    Вебсайты
    • Конструктор вебсайтов
    • eCommerce
    • Блог
    • Форум
    • Онлайн-чат
    • Электронное обучение
    Логистика
    • Склад
    • Производство
    • PLM
    • Закупки
    • Обслуживание
    • Качество
    Отдел кадров
    • Сотрудники
    • Подбор персонала
    • Отпуска
    • Оценка персонала
    • Реферальная программа
    • Автопарк
    Маркетинг
    • SMM
    • E-mail рассылки
    • СМС рассылки
    • Мероприятия
    • Автоматизация маркетинга
    • Опросы
    Услуги
    • Проекты
    • Табели
    • Выездной сервис
    • Поддержка
    • Планирование
    • Встречи
    Продуктивность
    • Обсуждения
    • Согласование
    • IoT
    • VoIP-телефония
    • Knowledge
    • WhatsApp
    Сторонние приложения Модуль Студия Odoo Платформа Odoo Cloud
  • Индустрии
    Розничная торговля
    • Книжный магазин
    • Магазин одежды
    • Мебельный магазин
    • Продуктовый магазин
    • Строительный магазин
    • Магазин игрушек
    Гостинично-ресторанный бизнес
    • Бар и паб
    • Ресторан
    • Фастфуд
    • Гостевой дом
    • Дистрибьютор напитков
    • Отель
    Недвижимость
    • Агентство недвижимости
    • Архитектурное бюро
    • Строительство
    • Управление недвижимостью
    • Ландшафтный дизайн
    • Товарищество собственников жилья
    Консалтинг
    • Бухгалтерская фирма
    • Партнер Odoo
    • Маркетинговое агентство
    • Юридическая фирма
    • Подбор персонала
    • Аудиторское бюро
    Производство
    • Текстиль
    • Металл
    • Мебель
    • Продукты питания
    • Пивоварня
    • Корпоративные сувениры
    Здоровье и фитнес
    • Спортивный комплекс
    • Магазин оптики
    • Фитнес-клуб
    • Велнес-центр
    • Аптека
    • Салон красоты
    Услуги
    • Специалист по бытовым услугам
    • Продажа и обслуживание IT-оборудования
    • Солнечные энергосистемы
    • Производство обуви
    • Клининг
    • Системы ОВКВ
    Прочее
    • Некоммерческая организация
    • Консалтинг в сфере устойчивого развития
    • Аренда рекламных щитов
    • Бизнес по фотосъемке
    • Прокат велосипедов
    • Реселлер программного обеспечения
    Все индустрии
  • Community
    Обучение
    • Видео уроки
    • Документация
    • Сертификация
    • Тренинг
    • Блог
    • Подкаст
    Образование и развитие
    • Образовательная программа
    • Деловая игра Scale Up!
    • Экскурсия в офис Odoo
    ПО
    • Скачать
    • Сравнить версии
    • Релизы
    Сотрудничество
    • Github
    • Форум
    • Мероприятия
    • Перевод
    • Стать партнером
    • Услуги для партнеров
    • Зарегистрировать бухгалтерскую фирму
    Услуги
    • Найти партнера
    • Найти бухгалтера
    • Встреча с экспертом
    • Услуги по внедрению
    • Отзывы клиентов
    • Поддержка
    • Обновления
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Заказать демонстрацию
  • Цены
  • Поддержка

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

  • CRM
  • e-Commerce
  • Бухгалтерия
  • Склад
  • PoS
  • Проекты
  • MRP
All apps
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Все посты Люди Значки
Теги (Смотреть все)
odoo accounting v14 pos v15
Об этом форуме
Помощь

Auto-Backup on Odoo 9.0?

Подписаться

Получайте уведомления о появлении активности в этом посте

Этот вопрос был отмечен
addonsbackup9.0c
1 Ответить
5510 Представления
Аватар
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
Аватар
Отменить
Аватар
sdbs_ml
Автор Лучший ответ

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
Аватар
Отменить
Не оставайтесь в стороне – присоединяйтесь к обсуждению!

Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!

Регистрация
Похожие посты Ответы Просмотры Активность
Odoo isn't seeing an add-on that I downloaded and placed in the addons folder Решено
addons
Аватар
Аватар
Аватар
Аватар
Аватар
5
окт. 25
2536
ADD ON FINANCIAL MODULE/FISCALE ACCOUNTING FOR ODOO 18 COMMUNITY
addons
Аватар
Аватар
Аватар
2
авг. 25
1889
Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpAa0O5Q/dump.sql', u'ahlain_db01') error 1 Решено
backup
Аватар
Аватар
Аватар
Аватар
Аватар
9
июл. 25
67254
how to backup ? Решено
backup
Аватар
Аватар
Аватар
Аватар
Аватар
9
июл. 24
103541
Uploaded Addons don't appear when Updating Addons List
addons
Аватар
Аватар
1
дек. 23
4488
Сообщество
  • Видео уроки
  • Документация
  • Форум
Открытый исходный код
  • Скачать
  • Github
  • Runbot
  • Перевод
Услуги
  • Хостинг Odoo.sh
  • Поддержка
  • Обновление
  • Индивидуальные решения по доработке
  • Образование
  • Найти бухгалтера
  • Найти партнера
  • Стать партнером
О нас
  • Наша компания
  • Активы бренда
  • Cвяжитесь с нами
  • Вакансии
  • Мероприятия
  • Подкаст
  • Блог
  • Клиенты
  • Правовые документы • Конфиденциальность
  • Безопасность
الْعَرَبيّة 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 – это набор бизнес-модулей с открытым исходным кодом, который закроет все потребности вашей компании: CRM, E-commerce, Бухгалтерия, Склад, POS, управление проектами и др.

Odoo сочетает в себе простоту использования и полную интеграцию всех бизнес-процессов в одной системе.

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