◄ ► | Edit | Home | Admin | en de fr et | Sign in

#3377 (Cannot clear cache on an invoice)

by Luc Saffre · in Developers · assigned to tonis

Summary

goto apc demo project, runserver, sign in as robin, open the sales invoices, print an invoice. Note that "clear cache" doesn't work at the moment (that's another ticket). But "clear cache" is just a shortcut, you can click as well on the value of the "Printed" field. This opens the detail view on the generated excerpt. There you can hit the Delete button and confirm. But that trick doesn't work under react. It keeps asking whether you want to delete. I guess it is the "b" prefix in the xcallback of the Ajax call, which is ``"GET /api/excerpts/Excerpts/1?an=delete_selected&fmt=json&rp=weak-key-55&sr=1&xcallback__b%22%5Cxed%5Cxfa%5E%5Cxc4%5Cx04%5Cx91~%5Cx9f%5Cxf5%29%5Cxc7%5Cxc1%5Cxdc%5Cxb1%27%5Cxb7%22=yes&xcallback__b%27%5Cx87f%2C%5Cxecv%5Cxc7%5B%5Cx10%5Cxe5%5Cxdb%5Cx0e%5Cx97%3BF-%5Cxf6%27=yes"``


Children

Comments