#6000 (The clear_printed action doesn't unhide after printing)
by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
How to reproduce: in tera1, open sales invoices. Depending on whether you are in the grid or in detail view, the ClearPrinted button on the invoice doesn't work. Note that it is the ClearPrinted action of the *excerpts* plugin.
BTW: when there's only one print action in the print combo_group, there should not be a combo button. I'd also remove the deprecated lino/mixins/printable.py module.
Children
Comments
- 1 year, 6 months ago by Sharif Mehedi about #6000 (The clear_printed action doesn't unhide after printing) : This is fixed now. @luc check out the changes and close this ticket.
- 1 year, 6 months ago by Luc Saffre about #6000 (The clear_printed action doesn't unhide after printing) : The problem was that _disabled_fields get cached on the database obj instance, this cache gets invalidated during after_ui_save() but not after setting printed_by in ExcerptType.get_or_create_excerpt().
- 1 year, 6 months ago by Sharif Mehedi in reply to Luc Saffre about #6000 (The clear_printed action doesn't unhide after printing) : I do not see how frontend might fail. Not likely.
- 1 year, 7 months ago by Luc Saffre about #6000 (The clear_printed action doesn't unhide after printing) (1 reply) : I should show you this when we have our next jitsi meeting. Is it possible that the front.end fails to re-request the record data when the action sets refresh=True?
- 1 year, 7 months ago by Luc Saffre about #6000 (The clear_printed action doesn't unhide after printing) : Created new Ticket #6000 (The clear_printed action doesn't unhide after printing).