Odoo Help

Welcome!

This community 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.

0

how to change the header name of a field??

By
Alcaline
on 7/26/14, 1:37 AM 800 views


 

 

This is my code in xml:

 <h1>Manufacturing Order <field name="name" class="oe_inline"/></h1>

i want to change Manufacturing Order to Job Order. how will i going to change it with doing the override?? can i do the xpath??

0

Hello,

Your  "inherited" view architecture should be,

<?xml version="1.0"?>

<data>

      <xpath expr="/form/sheet/div[@class='oe_title']" position="replace">

          <div class="oe_title"> <h1>Job Order<field name="name" class="oe_inline"/></h1> </div>

      </xpath>

</data>

Let me know if this helps,

thank you:) that code works. but another question please do you know how to solve this one https://www.odoo.com/forum/help-1/question/how-to-change-the-name-of-this-two-how-can-i-change-it-without-doing-the-override-in-menuitem-and-the-header-58580

Alcaline
on 7/26/14, 5:27 AM

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/26/14, 1:37 AM
Seen: 800 times
Last updated: 3/16/15, 8:10 AM