Odoo Help

0

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

By
Muthumani
on 11/27/13, 9:11 AM 652 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

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

Question tools

1 follower(s)

Stats

Asked: 11/27/13, 9:11 AM
Seen: 652 times
Last updated: 3/16/15, 8:10 AM