Odoo Help

1

How can I make the shipping address display inline on the order?

By
Kit Sunde
on 10/17/14, 7:47 AM 812 views

The partner_id has a context

{'show_address': 1}

which I thought made the address show inline, but setting the context doesn't seem to accomplish the same thing on partner_shipping_id

<field name="partner_shipping_id" position="attributes">
  <attribute name="context">{'show_address':1,'default_type':'delivery'}</attribute>
</field>

What am I missing?

3
Kit Sunde
On 10/17/14, 8:12 AM

Seems like I also need to make it always reload as the address is pulled in dynamically.

    <field name="partner_shipping_id" position="attributes">
      <attribute name="context">{'show_address':1,'default_type':'delivery'}</attribute>
      <attribute name="options">{"always_reload": True}</attribute>
    </field>

 

This question answer is literally over 2 years old, but you have no idea the headache you just cleared, so thank you!!

Htm-Mbs, Travis Waelbroeck
on 11/14/16, 10:51 PM

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: 10/17/14, 7:47 AM
Seen: 812 times
Last updated: 11/14/16, 10:51 PM