1

我创建了一个模块并添加了一个类别,它在以前版本的 Odoo 中工作正常,并且在 2015 年 4 月 10 日我更新了新版本,我收到错误错误:

 HINT:  Perhaps you meant to reference the table alias "iris_business_category__category_id".

, 在查询 SELECT

"iris_business_category"."id",iris_category__content_id."title" FROM "iris_business_category","iris_category" as "iris_business_category__category_id","iris_content" as "iris_category__content_id"
                    WHERE "iris_business_category".id IN %s AND ("iris_business_category"."category_id" = "iris_business_category__category_id"."id") AND ("iris_category"."content_id" = "iris_category__content_id"."id")  ORDER BY "iris_business_category"."id"  

新版本怎么解决这个问题??

4

1 回答 1

0

是的,这是一个问题,在 odoo 上已经提到过。

于 2015-04-21T13:42:47.717 回答