This question has been flagged
3 Replies
3251 Views

<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>

Avatar
Discard
Author

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 .

Best Answer

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

Avatar
Discard
Best Answer

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>

Avatar
Discard
Author

No..it doesn't work