[FIX] base: set default company into admin user
bzr revid: hmo@tinyerp.com-20100108063134-8a2ie2oacf8sdpkh
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user