跳至内容
菜单
此问题已终结
5137 查看

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.

形象
丢弃
编写者

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

相关帖文 回复 查看 活动
0
3月 15
3315
6
9月 17
8200
1
12月 16
5695
1
3月 15
4439
2
3月 15
9942