İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3639 Görünümler

When i try to edit account_print_invoice.sxw in open office, the changes are pushed to the server as required, and other reports such as sales orders edit and show changes perfectly, however no matter what i do to account_print_invoice, the changes do not show.

Is there another file i should be editing? other questions i have seen answered point to this file but the changes are not visible. i have even tried replacing account_print_invoice.sxw with a blank page and it makes no difference to the output.

Thanks

Avatar
Vazgeç
En İyi Yanıt

account_print_invoice.sxw is just a way to edit report.. actual file that does composing the invoice iz account_print_invoice.rml...

After pushing sxw you may experience new layout visible only on newly confirmed invoices (SO's, PO's...)
This is because it is (mostly) not legal to change invoices once printed. So the pdf file is actualy generated only on first Print.
after that the pdf is fetched from ir.attachment ( so you will not see any changes in design until you print out a completly new document )

To override  this default behaviour go to Settings ->Technical -> Actions -> Reports,
Find the report you want to modify ( for example: Invoices) edit : Untick field Reload from attachment, and save.

Now, every time you press Print you will generate new pdf file, and any design changes (pushed as sxw file or done in rml file)
will be visible on next print of document.. 

Do not forget to change it back once you are done with editing design 

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eyl 22
1857
4
Nis 22
4786
1
Ara 21
5893
2
Eyl 21
3739
11
Ağu 16
5618