Skip to content

add ZODB History report instead of using links in History tabs

Xiaowu Zhang requested to merge xiaowu.zhang/erp5:zodb_history into master

in erp5, inside history tabs, we have View ZODB History link, when click it, we go to a view which display ZODB changes and a return link Return Workflow History to go back.

unfortunally, those links don't work in renderjs interface, because they are absolute link(made by python code) Capture_d_écran_du_2023-01-19_10-34-01

which are not compatible with renderjs interface,in renderjs interface,link is relative,for example, worklist link: Capture_d_écran_du_2023-01-19_10-32-05

To fix the link issue, we simply move the Zodb History view to an erp5 report, so link is handled automatically.

With this MR,

the History view has no more View ZODB History link :

Capture_d_écran_du_2023-01-20_14-02-59

ZODB Hisotry now become a report

Capture_d_écran_du_2023-01-20_14-04-34

When click:

Capture_d_écran_du_2023-01-20_14-04-20

Edited by Xiaowu Zhang

Merge request reports