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.
I have just installed Odoo V.8 and I wanted to try to edit the reports like stock picking or delivery note. Can anyone tell me how to do it?
I have tried changing the view format to HTML so that I can edit it after I select printing the report, but when I click on saving it, it goes back to the original format. Please help.
Find the file addons/stock/report/report_deliveryslip.xml in your odoo base installation directory.
Copy the file to where you keep your customisations & additions, and a spare place to retain the original for reference.
Edit the file to your preferences. This requires care, as the QWeb syntax is obscure, coding in XML is tricky.
Copy the file back to addons/stock/report/ overwriting the base install one, perhaps using a script, so it is repeatable.
This is a concise subset of what a custom module does when overwriting base functionality.
Run this command to refresh your changed XML in the stock module only, to the database (which stores code as well as data)
./odoo-bin shell -d (your odoo database name) --update=stock
Restart odoo to activate your changes.
Answer applies to v10. Upvote this answer if it resolves your issue. Comment clearly if it does not.
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: 1/28/15, 5:47 AM|
|Seen: 1951 times|
|Last updated: 4/15/17, 7:04 PM|