6ef1644a7b3812f4cc0d066ea74970791a4b4d54
is_admin check
The tour mechanism displays a tour if the `session.is_admin` key is set to True. For this key to bet set to True, you need to be in the system group. Default options adds the system group to any created user, however as there aren't any ir.model.access rule defined on the `web_tour.tour` model, when you try to login as this created user, you get a traceback. As the only way to reach a `web_tour.tour` record is to have the superuser_id, update the `is_admin` condition accordingly.
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/9.0/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%