[enh] Allow to install Odoo 12
This commit is contained in:
parent
1a65e55969
commit
14965bd324
2 changed files with 3 additions and 3 deletions
|
@ -38,8 +38,8 @@
|
|||
"en": "Which version of Odoo do you want to install?",
|
||||
"fr": "Quelle version d'Odoo souhaitez-vous installer ?"
|
||||
},
|
||||
"choices": ["8.0", "9.0", "10.0", "11.0"],
|
||||
"default": "11.0"
|
||||
"choices": ["8.0", "9.0", "10.0", "11.0", "12.0"],
|
||||
"default": "12.0"
|
||||
}, {
|
||||
"name": "oca",
|
||||
"type": "boolean",
|
||||
|
|
|
@ -67,7 +67,7 @@ function setup_database() {
|
|||
# Configure language, timezone and ldap
|
||||
sudo -u odoo $bin_file shell -c $conf_file -d $database <<< \
|
||||
"
|
||||
self.change_password('admin','$admin_password')
|
||||
self.env['res.users'].search([['login', '=', 'admin']])[0].write({'password': '$admin_password'})
|
||||
self.env.cr.commit()
|
||||
self.write({'tz':'$tz','lang':'$lang'})
|
||||
self.env.cr.commit()
|
||||
|
|
Loading…
Reference in a new issue