Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/2/14, 8:33 AM|
|Seen: 817 times|
|Last updated: 3/16/15, 8:10 AM|