跳轉到內容

GNU Health/勘誤

來自華夏公益教科書



在 GNU Health 中,我們努力使系統沒有錯誤和問題,但我們知道這是不可能的 :)

本章討論了可能影響安裝或升級過程的問題。


上下文:安裝 (gnuhealth-setup)

問題 : 由於 Werkzeug 1.0 與 Trytond Kernel 5.0 不相容,需要更新 GNU Health 安裝程式

解決方案:

Make sure you complete the step of downloading and installing the latest gnuhealth-setup as described in the installation documentation.
The gnuhealth-setup version must be 3.6.2 or later.
$ gnuhealth-setup version


上下文:升級過程

問題:遷移產品模板和/或類別時出錯。

解決方案:

  1. 執行指令碼upgrade_34.sql,如 3.4 升級過程文件中所述
  2. 執行以下 SQL 命令,如 Tryton 遷移中所述

delete from ir_property where res like 'product.category,%' and SUBSTRING(res, POSITION(',' IN res) + 1)::integer not in (select id from product_category);


delete from ir_property where res like 'product.template,%' and SUBSTRING(res, POSITION(',' IN res) + 1)::integer not in (select id from product_template);


華夏公益教科書