Odoo 10 logging --log-level = debug_sql

时间:2018-06-18 12:37:12

标签: python-2.7 logging odoo-10

我正在尝试Odoo v10。检查--log-level = debug_sql,我很惊讶我无法看到%s的所有值。我怎么才能得到它。我想在我的PgAdmin上运行此查询,但我不能。

当我使用vdo版本的Odoo时,我不介意这样的事情......

示例:

    SELECT "bus_presence"."status" as "status","bus_presence"."user_id" as "user_id","bus_presence"."id" as "id","bus_presence"."last_presence" as "last_presence","bus_presence"."last_poll" as "last_poll" FROM "bus_presence"
WHERE "bus_presence".id IN %s  ORDER BY "bus_presence"."id"

0 个答案:

没有答案