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

Newly added field in Incoming shipment shouldn't display to Delivery order

By
Muthumani
on 11/27/13, 9:11 AM 551 views

hi, I have to add a Boolean field in Incoming shipment line item and it should not be viewed in Delivery orders line item. But all the other fields in Incoming shipments should be present in Delivery orders?(tree view and form view)

I tried this code in xml.

 <xpath expr="/tree/field[@name='state']" position="before">
     <field name="accepted" context="{'picking_type': 'in'}"/>
     <field name="rejected" context="{'picking_type': 'in'}"/>
 </xpath>

But it is viewed in Incoming shipments and delivery orders? If you suggest me your views and ideas it will be helping me!!!

Add attrs for the field and make it invisible in delivery orders.

Gopakumar N G
on 11/28/13, 2:16 AM

already i try but does not working

Muthumani
on 12/7/13, 2:30 AM

look type is a related field that only problem.

Muthumani
on 12/7/13, 2:31 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: 11/27/13, 9:11 AM
Seen: 551 times
Last updated: 3/16/15, 8:10 AM