7429c61dfcd2dfda72655e33504159a637227eef
Following great @odony review we decided to add a helper method allowing to quickly create users in tests in a one-liner. It will allow to remove a lot of duplicate code in various test classes and methods. This method basically requires a login and a comma separated list of user groups xml ids. Kwargs are supported to further customize the created user. A custom context can be given to the creation as user creation in odoo can support several options within standard addons, like mailing or signup options. Next commits will propagate the use of this helper in some test classes notably in mail, hr and mass mailing. This commit is linked to task ID 1889703 and PR #27526.
…
…
…
…
…
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%