Odoo Help

2

1
2 Answers
4
Avatar

Emipro Technologies Pvt. Ltd. India

--Emipro Technologies Pvt. Ltd.--
7823
| 7 8 10
Rajkot, India
--Emipro Technologies Pvt. Ltd.--

Emipro has been providing a wide range of business solutions in the domain of ERP & eCommerce. We take pride in serving 1000s of contented customers across the globe with strong roots in the US, Europe & India. Being a Certified Odoo Gold Partner in India as well as the United States, we bring our rich professional experience and unrivaled technical competence to help our customers obtain efficient and cost-effective business solutions in Odoo. With our team of 50+ Odoo Experts and highly experienced business analysts, we serve our customers which are companies of all sizes, ranging from start-ups to large enterprises. 

Our ERP Services:

  • Business Need Analysis & GAP Analysis

  • ERP Migration

  • Odoo Consultancy

  • Odoo Implementation & Customization

  • Odoo Training & Support

  • Odoo Website & eCommerce Development

  • Odoo Integration (Marketplaces, eCommerce platforms, Shipping Carriers, Payment Gateways etc.)

Our Achievements:


Reach Us:

Website: www.emiprotechnologies.com

Email: info@emiprotechnologies.com

Skype: emiprotech

Emipro Technologies Pvt. Ltd. India
2/7/15, 5:46 AM

You can do this by 2 ways..

1) Redefine that field in the custom module and change the string of it.

2) Inherit the view and over there change the "string" attribute of it.

 

5 Comments
aci aisha India
2/7/15, 6:14 AM

how to redefine? can you give me an example

Emipro Technologies Pvt. Ltd. India
2/7/15, 6:45 AM

Copy that field from original module and put it in your module and change the string.

aci aisha India
2/7/15, 6:57 AM

thanks... 1 vote & 1 tick

Emipro Technologies Pvt. Ltd. India
2/7/15, 8:02 AM

Welcome @aci aisha...

Andreas Stange Panama
7/20/18, 11:23 AM

Example for approach (1): my_field = fields.Many2one(string='NewDisplayString')

Assuming that my_field is defined in a base model, which you inherit, then only the string will be changed and the other information (e.g. which model is referenced) is taken from the base model

2
Avatar

Ankit H Gandhi(AHG) India

--Ankit H Gandhi(AHG)--

1451
| 6 5 8
Baroda, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG) India
2/9/15, 1:08 AM

Hello aci aisha,

here i give you example of modified the string supplier to owner

hope this code very helpfull for you.

<record id="purchase_order_form_view_inherit" model="ir.ui.view">
            <field name="name">purchase.order.form.view.inherit</field>
            <field name="model">purchase.order</field>
            <field name="inherit_id" ref="purchase.purchase_order_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='partner_id']" position="attributes">
                    <attribute name="string">Owner</attribute>
                </xpath>
            </field>
        </record>

if you find this answer helpfull, please give me a thumbs up vote    

Thanks & Regards,

Ankit H Gandhi

2 Comments
aci aisha India
2/9/15, 2:04 AM

helpful..1 vote

Ankit H Gandhi(AHG) India
2/9/15, 4:20 AM

My Pleasure!

Ask a Question
Writer
Keep Informed
1 follower(s)
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