Skip to content
Snippets Groups Projects
Commit 75365df1 authored by Harshad Modi's avatar Harshad Modi
Browse files

[FIX] base: set default company into admin user

bzr revid: hmo@tinyerp.com-20100108063134-8a2ie2oacf8sdpkh
parent 1d7be15d
Branches
Tags
No related merge requests found
......@@ -340,7 +340,7 @@ CREATE TABLE ir_model_data (
-- Users
---------------------------------
insert into res_users (id,login,password,name,action_id,active,company_id) values (1,'admin',NULL,'Administrator',NULL,True,1);
insert into res_users (id,login,password,name,action_id,active) values (1,'admin',NULL,'Administrator',NULL,True);
insert into ir_model_data (name,module,model,noupdate,res_id) values ('user_root','base','res.users',True,1);
-- Compatibility purpose, to remove V6.0
......
......@@ -1245,6 +1245,9 @@
<test expr="currency_id.code == 'eur'.upper()"/>
<test expr="name">Tiny sprl</test>
</assert>
<record id="user_admin" model="res.users">
<field name="company_id" ref="main_company"/>
</record>
</data>
</openerp>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment