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

#4843 (Invoices in Jane have no print button)

by Luc Saffre · in Developers · assigned to Luc Saffre

Summary

Children

Comments

  • 3 years, 8 months ago by Luc Saffre about #4843 (Invoices in Jane have no print button) : Oops, @8lurry saw Comment #9615 only now. So you were right you saw the print button. That's why I tried after clearing my site data. And my print button was there. So the ticket can be closed. But it is still strange that Lino didn't detect automatically that site data needs to get updated.
  • 3 years, 8 months ago by Luc Saffre about #4843 (Invoices in Jane have no print button) : IOW after another 0:40 hour of searching, I am still without result. @8lurry tomorrow I'd like to show it to you because my debugging reaches into the React code...
  • 3 years, 8 months ago by Luc Saffre about #4843 (Invoices in Jane have no print button) : In the project directories of both jane and noi1r I said:
    $ cat media/cache/json/Lino_sales.InvoicesByJournal_900_en.json | python -m json.tool
    and they both contain:
    {    "actions_list": [        ...        {            "an": "detail",            "toolbarActions": [                {              ...
  • 3 years, 8 months ago by Luc Saffre about #4843 (Invoices in Jane have no print button) : You are seeing the print button of the grid view. There is no button to print a single invoice. Compare with noi1r.
  • 3 years, 8 months ago by Sharif Mehedi about #4843 (Invoices in Jane have no print button) : AFAI can see, we do have a print icon on Sales Invoices
  • 3 years, 8 months ago by Sharif Mehedi about #4843 (Invoices in Jane have no print button) : Is [url jane.mylino.net/media/cache/weasy2pdf/sales.VatProductInvoice-92.pdf this] not a printed invoice?
  • 3 years, 8 months ago by Luc Saffre about #4843 (Invoices in Jane have no print button) : I had a 30 minutes Jitsi session with Fahmida watching me. And still no success. There is no print button in Jane and I don't see the reason, I even don't see where to search right now. That happens also to me, although I have written all this excerpts functionality. Now I need to interrupt.
  • 3 years, 8 months ago by Luc Saffre about #4843 (Invoices in Jane have no print button) : I activated a log line in xl.lib.excerpts.models.set_excerpts_actions() (the pre_analyze handler responsible for injecting the print action to models). It does inject a print action to VatProductInvoice. But the print button remains invsible...
  • 3 years, 8 months ago by Luc Saffre about #4843 (Invoices in Jane have no print button) : Created new Ticket #4843 (Invoices in Jane have no print button).