跳至內容
Odoo 選單
  • 登入
  • 免費試用
  • 應用程式
    財政
    • 會計
    • 發票
    • 開支報銷
    • 試算表 (BI)
    • 文件管理
    • 電子簽名
    銷售
    • 客戶關係
    • 銷售
    • POS 銷售點管理 - 零售
    • POS 銷售點管理 - 餐廳
    • 訂閱
    • 租賃
    網站
    • 網站製作
    • 電子商務
    • 網誌
    • 討論區
    • 線上客服
    • 網上學習
    供應鏈
    • 庫存
    • 製造管理
    • 產品生命周期
    • 採購
    • 保養維護
    • 品質管理
    人力資源
    • 員工管理
    • 招聘
    • 休假
    • 工作表現評核
    • 內部推薦
    • 車隊管理
    市場推廣
    • 社交媒體推廣
    • 電郵推廣
    • 短訊營銷
    • 活動
    • 自動化推廣
    • 網上調查
    服務
    • 專案管理
    • 工時管理
    • 外勤服務管理
    • 技術支援
    • 工作規劃
    • 預約管理
    生產力
    • 聊天
    • 批核
    • 物聯網
    • VoIP
    • 知識庫
    • WhatsApp
    第三方應用程式 Odoo Studio Odoo 雲端平台
  • 行業
    零售
    • 書店
    • 服裝店
    • 家具店
    • 食品雜貨店
    • 五金店
    • 玩具店
    餐飲及款待
    • 酒吧及酒館
    • 餐廳
    • 快餐
    • 賓館
    • 飲品分銷商
    • 酒店
    房地產
    • 地產代理公司
    • 建築師事務所
    • 建造業
    • 物業管理
    • 園藝
    • 業主聯會
    顧問服務
    • 會計公司
    • Odoo 合作夥伴
    • 市場推廣公司
    • 律師事務所
    • 人才招募
    • 審計及認證
    製造管理
    • 紡織
    • 金屬
    • 家具
    • 食品
    • 啤酒廠
    • 企業禮品
    保健與健身
    • 運動俱樂部
    • 眼鏡店
    • 健身中心
    • 健康從業人員
    • 藥房
    • 髮型屋
    技術行業
    • 雜工
    • IT 硬體與支援
    • 太陽能系統
    • 鞋匠
    • 清潔服務
    • 暖通空調服務
    其他
    • 非牟利組織
    • 環境保護機構
    • 廣告板租賃
    • 攝影服務
    • 自行車租賃
    • 軟體經銷商
    瀏覽所有行業
  • 社群
    學習
    • 教學影片
    • 使用說明
    • 認證
    • 培訓
    • 網誌
    • Podcast
    增強教學效能
    • 教育計劃
    • 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:

  • 客戶關係
  • e-Commerce
  • 會計
  • 庫存
  • PoS
  • 專案管理
  • MRP
All apps
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
支援

How to uninstall to update?

訂閱

此帖文有活動時,接收通知

此問題已被標幟
v7updateuninstallupgradewin7
2 回覆
8964 瀏覽次數
頭像
Gilles Lehoux

One way to update a v7 nightly build is to uninstall the old and install the new. But, in Win7, the "Add or Remove Programs" list shows 2 items related to OpenERP.

  • OpenERP 7.0
  • OpenERP Server 7.0-20130130-000102

Should we uninstall one or both items before installing a more recent nightly build?

3
頭像
捨棄
頭像
Anas Taji
最佳答案

You should uninstall both of them, and when you reinstall a newer version make sure not to check Postgres as it should work just fine, but you may want to create new database if you are a tester.

5
頭像
捨棄
Gilles Lehoux
作者

Is there a preferred order in which to uninstall them?

Gilles Lehoux
作者

I uninstalled the item "OpenERP 7.0" and then tried to uninstall "OpenERP Server 7.0-20130130-000102" but got the error message "An error occured while trying to remove (...). It may already have been uninstalled. Would you like to remove (...) from the Add or Remove programs list?". I clicked OK. This seems like a bug to me. If the uninstall process of one also includes the other then OpenERP isn't registering in Win7 properly the status of its installation. I clicked "Yes" but then got another error message "You do not have sufficient access to remove (...) from the Add or Remove...

Gilles Lehoux
作者

After the uninstall of the old and then the install of the new and reboot, I get an error message after the login: OpenERP Server Error (...) TypeError: 'NoneType' object is unsubscriptable. Then I click Ok. Then, at the top of the login screen, there's the message "Invalid username or password". I re-enter the login and then get a different error message "Uncaught TypeError: Cannot read property 'prototype' of null. http://localhost:8069/web/webclient/js:3196". I click Ok. Then I'm logged in. Then I click Manafacturing and I get an error message "OpenERP Server Error. (...) AttributeError...

Gilles Lehoux
作者

(cont'd) error message "OpenERP Server Error. (...) AttributeError: 'NoneType' object has no attribute 'fields_view_get'. In all my months of experimenting with OpenERP, both v6.1 and v7, I don't think I've ever successfully updated by uninstalling / installing. I always end up with a broken unusable OpenERP. I think there's something fundamentally wrong in the install or uninstall.

Anas Taji

I forgot to mention the order, as you have to remove "OpenERP Server 7.0-20130130-000102" then "OpenERP 7.0", also it is a good idea to reinstall the newer version inside the same old folder "C:\Program Files\openERP 7.0", as it already contains the Postgres database program.

About the errors, try to create a new database and see if they still exist.

Gilles Lehoux
作者

After an uninstall, I installed into the folder where Postgres is located, an old OpenERP folder. I got the same errors at login and afterwards using my existing database. I created a new database and got no errors. Since this puts me in a position of not re-using my old database, I wouldn't call this an update. ;) I'm very concerned that errors would exist when dealing with one (old) database but not the other (new) database. Isn't that a symptom of a serious deep bug?

Anas Taji

I faced the same errors once, and I THINK this is because of the rapid development at the current time. but I highly recommend you to use openERP under Ubuntu if this is an option, as I never had the same case there.

One last note, you may need to reinstall the modules that were installed and used in the old database, as newly installed openERP version comes with no modules in the addons folder, this might be the case my friend..

To do so, you need to create a new database and install all the modules needed for the old database, then try to login to the old one again.

Anas Taji

As openERP needs to download the needed modules once per installation.

Please, give a feed back after trying this option..

Thanks..%

Gilles Lehoux
作者

I logged into the old database. In Settings/Apps the same apps are marked installed as before. I'm getting a lot of error messages. In Settings/Updates, there were 9. If the new install does not include modules that were downloaded during the configuration of the old database then OpenERP is showing me apps as installed while the actual files for the modules are not present. I propose that the answer to the stated question be changed to "It is not possible at this time to update OpenERP (v7) under Windows by uninstalling the old and then installing the new version. Expert required."

Gilles Lehoux
作者

I created a new database and launched the install of a module needed in the old database. I got a "Server Error". I don't see why a new database would be affected by what was done previously.

Gilles Lehoux
作者

I've been performing this tests under Virtualbox. I did a clean install of v7 2013-01. I then did an install of v7 2013-02-24, over the previous installation. No error messages. This is the only instance of a successful update of v7 on Windows. I will write an answer accordingly.

頭像
Gilles Lehoux
作者 最佳答案

Assuming you've installed a nightly build of v7, and assuming that the module update mechanism within OpenERP isn't solving your problem, then switching to a newer nightly build could be the only way out.

Do not uninstall. We will overwrite the old with the new.

Download the newer nightly build installer. Stop the OpenERP service. Start the installer. When it comes time to select the folder where to install, select the same folder as your existing installation. Be careful, the installer is configured to append a new folder name to the folder you select. You must make sure that only the name of the existing installation folder is written out, no more, no less.

Do not uninstall the old and then install the new. This will break your environment and be almost impossible to recover from.

0
頭像
捨棄
喜歡這則討論?不要只閱讀,加入發表意見吧!

今天就建立帳戶,享受獨家功能,與我們精彩的社群互動!

註冊
相關帖文 回覆 瀏覽次數 活動
Why can't I uninstall a module / app?
v7 update uninstall modul
頭像
頭像
2
5月 15
15784
What exactly does updating "Base" module do? 已解決
v7 update
頭像
頭像
頭像
3
3月 24
14782
How to update module
update upgrade
頭像
頭像
1
12月 23
3666
How important is upgrading Odoo to every new version for you? 已解決
update upgrade
頭像
頭像
頭像
2
6月 21
9690
How to remove uninstalled module data (achieve clean uninstall)?
v7 uninstall
頭像
0
3月 15
3179
社群
  • 教學影片
  • 使用說明
  • 討論區
開源
  • 下載
  • GitHub
  • Runbot 測試環境
  • 翻譯
服務
  • odoo.sh 網頁寄存
  • 支援
  • 升級
  • 自訂功能開發
  • 教育及培訓
  • 尋找會計服務
  • 尋找合作夥伴
  • 成為合作夥伴
關於我們
  • 關於 Odoo 公司
  • 品牌資產
  • 聯絡我們
  • 招聘
  • 活動
  • Podcast
  • 網誌
  • 客戶
  • 法律 • 私隱政策
  • 安全性
الْعَرَبيّة 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)、電子商務、會計、庫存管理、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