Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
5034 Tampilan

I have something like this in my view for a custom module:

 <field name="arch" type="xml">
            <xpath expr="/form/sheet/notebook/page[@string='Contacts']" position="after">
                <page string="External">
                    <iframe src="http://www.example.com?email=__EMAIL_SHOULD_GO_HERE__"></iframe>               
              </page>
        </xpath>
  </field>

where __EMAIL_SHOULD_GO_HERE__ currently is, I need to insert the partner's email. What is the best way to get that value in there?

The only examples I've found use something like:

<field name="email"></field>

Thanks.

Avatar
Buang
Penulis

If you wanted to insert the partner's name into the xml, in the place where "XXXXXXYYYYYYYYYZZZZ" currently is, how would you do that?

Post Terkait Replies Tampilan Aktivitas
0
Mar 15
3210
6
Sep 17
7873
1
Des 16
5590
1
Mar 15
4178
2
Mar 15
9693