跳至内容
菜单
此问题已终结
3 回复
4314 查看

<record model="ir.ui.view" id="email_domian_form">

<field name="name">User Email Form View</field>

<field name="model">email_domain.company</field>

<field name="arch" type="xml">

<form string="User Email">

<sheet>

<group>

<field name="company_name" />

</group>

<notebook>

<page string="Email">

<field name="user_email"/>

</page>

</notebook>

</sheet>

</form>

</field>

</record>

形象
丢弃
编写者

I want to enter a list of emails under the name of Company .So kindly help me to do so .I dont know what i 'm missing .

最佳答案

as I know this case Available only for One2many/Many2many fields type..

形象
丢弃
最佳答案

try this code:


<record model="ir.ui.view" id="email_domian_form">

<field name="name">User Email Form View</field>

<field name="model">email_domain.company</field>

<field name="arch" type="xml">

<form string="User Email">

<sheet>

<group>

<field name="company_name" />

</group>

<notebook>

<page string="Email">

<tree string="Registered sessions">

  <field name="User Email" /> 

  </tree>
 

</page>

</notebook>

</sheet>

</form>

</field>

</record>

形象
丢弃
编写者

No..it doesn't work

相关帖文 回复 查看 活动
1
8月 22
4422
3
9月 24
15637
0
1月 24
1843
3
1月 20
3630
0
2月 16
4039