Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Create user

By
Umashankar Subramani
on 3/18/15, 8:36 AM 565 views

Hi,

I want to know how to create using xml in odoo8.......Please anyone help me.....Thanks in advance....

0

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 3/18/15, 3:27 PM

Demo example:


<record id="user_demo" model="res.users">

<field name="partner_id" ref="base.partner_demo"/>

<field name="login">demo</field>

<field name="password">demo</field>

<field name="signature">--

Mr Demo</field>

<field name="company_id" ref="base.main_company"/>

<field name="groups_id" eval="[(6,0,[ref('base.group_user'), ref('base.group_partner_manager')])]"/>

<field name="image" type="base64" file="base/static/img/user_demo-image.jpg"/>

</record>

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/18/15, 8:36 AM
Seen: 565 times
Last updated: 3/18/15, 3:27 PM