跳至內容
選單
此問題已被標幟
3 回覆
4355 瀏覽次數

<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
4477
3
9月 24
15658
0
1月 24
1883
3
1月 20
3653
0
2月 16
4061