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 use <xpath> to edit my own invoice/saleorder look and it work correctly.
But when i try with the mrp_repair, nothing .. Any error, just the look of the order stay the same...
This is my view :
<template id="report_repair_document_ht" inherit_id="mrp_repair.report_mrprepairorder">
<xpath expr="//div[@class='page']" position="replace">
What is understood is, i have to tell the name of my view : "template id="..."
Then the view which i want edit : inherit_id="..."
Then where i want start to edit : xpath expr="..."
And how i want do it : position="..."
So I think my code is OK, and this form work correctly with another view so i don't understand why it doesn't work here ...
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: 6/7/16, 4:20 AM|
|Seen: 251 times|
|Last updated: 6/7/16, 5:45 AM|