At this tutorial you are going to learn how to configure your ERP5 instance for your company using the ERP5 Configurator. By using Configurator, you can have an ERP5 ready to use in few minutes, just filling a few forms and waiting for the automated setup do the hard job for you.
This configurator tutorial aims to configure one ERP5 instance for Small and Medium Business, and it should cover the most basic configuration that a SMB needs, like, Trade, Accounting, Document Management and others.
The Consulting Configuration is a variation of the Standard Configuration which allows you update your own categories and security definitions while you configure your instance. This produce a unique ERP which fits with the particular characteristics of your company.
setTimeout | 60000 | |
deleteCookie | LOCALIZER_LANGUAGE | |
createCookie | LOCALIZER_LANGUAGE=en | |
openAndWait | ${base_url}/view | |
store | ${base_url}/portal_configurator | configurator_base_url |
openAndWait | ${base_url}/Zuite_setUpConfigurationTest?workflow_path=workflow_module/erp5_consulting_workflow | |
verifyTextPresent | Init Ok | |
setTimeout | 120000000 | |
openAndWait | ${base_url}/Zuite_waitForActivities | |
verifyTextPresent | Done. | |
setTimeout | 120000 | |
pause | 4000 |
Use the "My favorites" Menu to select "Configure your Site" and start to configure your ERP5 Site. You will be redirect to the Configurator Tool.
openAndWait | ${base_url}/view | |
selectAndWait | name=select_favorite | label=Configure your Site |
This is the Initial Page of the configurator, at this stage you can select whatever Configuration you prefer. For this tutorial we are going to select ERP5 Consultant, this configuration flow permit us add extra configuration on roles and categories compared to the standard procedure.
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Welcome to Configurator | |
verifyTextPresent | This tool will help you configure your fresh ERP5 | |
verifyTextPresent | Language | |
verifyTextPresent | ERP5 Configuration | |
clickAndWait | //button[@value='business_configuration_module/STANDARD_CONFIGURATOR_TEST'] |
The categories are the core of ERP5 Configuration Process, and the Consulting Workflow permit you upload your own categories spreadsheet, creating a custom configuration in no time.
As a example, you can base your configuration on the standard categories spreadsheet, this is the same outcome provided by the standard configuration, or you can create your on categories definition from scratch.
You can learn more about How to fill Categories Spreadsheet and create your custom categories spreadsheet in some hours.
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Installation steps | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Accounting | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Download | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Upload your categories spreadsheet. | |
verifyTextPresent | Categories Spreadsheet | |
verifyElementPresent | //input[@name="next:method"] | |
verifyValue | //input[@name="next:method"] | Configure Categories |
type | //input[@name="field_your_configuration_spreadsheet"] | |
clickAndWait | //input[@name="next:method"] |
Upload now the spreadsheet with your security definitions. If you are not familiar with the security in ERP5, we recommend you just upload the example one. (Link provided by the configurator itself.)
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Installation steps | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Accounting | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Download | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Upload your roles settings spreadsheet. | |
verifyTextPresent | Portal Type Roles Spreadsheet | |
verifyElementPresent | //input[@name="next:method"] | |
verifyValue | //input[@name="next:method"] | Configure Roles |
type | //input[@name="field_your_portal_type_roles_spreadsheet"] | |
clickAndWait | //input[@name="next:method"] |
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Installation steps | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Accounting | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Download | |
verifyTextPresent | Your organisation | |
verifyTextPresent | What is the Name of your Company? | |
verifyTextPresent | ||
verifyTextPresent | Telephone | |
verifyTextPresent | Street Address | |
verifyTextPresent | Postal Code | |
verifyTextPresent | City | |
verifyTextPresent | Country | |
verifyElementPresent | //input[@name="next:method"] | |
verifyValue | //input[@name="next:method"] | Configure Organisation |
type | //input[@name="field_your_title"] | Nexedi SA |
type | //input[@name="field_your_default_email_text"] | webproject-report@erp5.org |
type | //input[@name="field_your_default_telephone_text"] | +123 234 567 891 |
type | //textarea[@name="field_your_default_address_street_address"] | 270 bd Clémenceau |
type | //input[@name="field_your_default_address_zip_code"] | 59700 |
type | //input[@name="field_your_default_address_city"] | Marcq en Baroeul |
select | //select[@name="field_your_default_address_region"] | Europe/Western Europe/France |
select | //select[@name="field_your_group"] | My company |
clickAndWait | //input[@name="next:method"] | |
verifyTextPresent | Input is required but no input given. | |
verifyValue | //input[@name="field_your_title"] | Nexedi SA |
verifyValue | //input[@name="field_your_default_email_text"] | webproject-report@erp5.org |
verifyValue | //input[@name="field_your_default_telephone_text"] | +123 234 567 891 |
verifyValue | //textarea[@name="field_your_default_address_street_address"] | 270 bd Clémenceau |
verifyValue | //input[@name="field_your_default_address_zip_code"] | 59700 |
verifyValue | //select[@name="field_your_default_address_region"] | europe/western_europe/france |
verifyValue | //input[@name="field_your_default_address_city"] | Marcq en Baroeul |
select | //select[@name="field_your_group"] | My company |
clickAndWait | //input[@name="next:method"] |
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Installation steps | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Accounting | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Download | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | Enter the number of user accounts you want to create. In your company, each person using ERP5 should have his own user account. | |
verifyTextPresent | Select the Number of User Accounts you Want to Configure | |
verifyElementPresent | //input[@name="next:method"] | |
verifyValue | //input[@name="next:method"] | Configure user accounts number |
verifyValue | //input[@name="previous:method"] | Previous |
verifyElementPresent | //input[@name="previous:method"] | |
clickAndWait | //input[@name="previous:method"] | |
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Installation steps | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Accounting | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Download | |
verifyTextPresent | Your organisation | |
verifyTextPresent | What is the Name of your Company? | |
verifyTextPresent | ||
verifyTextPresent | Telephone | |
verifyTextPresent | Street Address | |
verifyTextPresent | Postal Code | |
verifyTextPresent | City | |
verifyTextPresent | Country | |
verifyElementPresent | //input[@name="next:method"] | |
verifyValue | //input[@name="next:method"] | Configure Organisation |
verifyValue | //input[@name="field_your_title"] | Nexedi SA |
verifyValue | //input[@name="field_your_default_email_text"] | webproject-report@erp5.org |
verifyValue | //input[@name="field_your_default_telephone_text"] | +123 234 567 891 |
verifyValue | //textarea[@name="field_your_default_address_street_address"] | 270 bd Clémenceau |
verifyValue | //input[@name="field_your_default_address_zip_code"] | 59700 |
verifyValue | //select[@name="field_your_default_address_region"] | europe/western_europe/france |
verifyValue | //input[@name="field_your_default_address_city"] | Lille |
clickAndWait | //input[@name="next:method"] | |
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Installation steps | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Accounting | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Download | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | Enter the number of user accounts you want to create. In your company, each person using ERP5 should have his own user account. | |
verifyTextPresent | Select the Number of User Accounts you Want to Configure | |
verifyElementPresent | //input[@name="next:method"] | |
verifyValue | //input[@name="next:method"] | Configure user accounts number |
verifyValue | //input[@name="previous:method"] | Previous |
verifyElementPresent | //input[@name="previous:method"] | |
select | //select[@name="field_your_company_employees_number"] | 1 |
clickAndWait | //input[@name="next:method"] |
You will then have to fill in all the informations for as many user as you selected before. Please notice that they will receive their login and password by email so be carefull to enter the right email address. When it is done you can click on 'Configure user accounts'.
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Installation steps | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Accounting | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Download | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Fill in detailled information for each ERP5 user. | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Fill in detailled information for each ERP5 user. | |
verifyTextPresent | First Name | |
verifyTextPresent | Last Name | |
verifyTextPresent | User Login | |
verifyTextPresent | User Password | |
verifyTextPresent | Password Confirmation | |
verifyTextPresent | Function | |
verifyElementPresent | //input[@name="next:method"] | |
verifyValue | //input[@name="next:method"] | Configure user accounts |
verifyValue | //input[@name="previous:method"] | Previous |
verifyElementPresent | //input[@name="previous:method"] | |
type | //input[@name="field_your_first_name"] | Ivan |
type | //input[@name="field_your_last_name"] | Petrov |
type | //input[@name="field_your_reference"] | PERSON_RESERVED_REFERENCE |
type | //input[@name="field_your_password"] | secret |
type | //input[@name="field_your_password_confirm"] | secret |
select | //select[@name="field_your_function"] | Company/Company Manager |
type | //input[@name="field_your_default_email_text"] | webproject-report@erp5.org |
clickAndWait | //input[@name="next:method"] | |
verifyTextPresent | User login is either already used or contains invalid characters | |
verifyTextPresent | Please try another one | |
type | //input[@name="field_your_reference"] | PERSON_USER_REFERENCE |
clickAndWait | //input[@name="next:method"] |
You will then have to choose the accounting plan you want to use (If the accounting plan that you want to use is not available, we can teach you how to make your accounting plan available in Configurator). Then you have to enter the accounting period beginning date, the ending date and the name of the accounting period. When it is done you can click on 'Configure accounting'.
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Installation steps | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Accounting | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Download | |
verifyTextPresent | Accounting | |
verifyTextPresent | Configure your accounting. | |
verifyTextPresent | Which Accounting Plan do you Use | |
verifyTextPresent | Accounting Period | |
verifyTextPresent | Accounting Periods are used to define the range of dates in which you will be allowed to input accounting transactions. | |
verifyTextPresent | To start using the system, you have to configure the first accounting period. | |
verifyTextPresent | What is the Begin Date of your Current Accounting Period? | |
verifyTextPresent | What will be the End Date of your Current Accounting Period? | |
verifyTextPresent | What is the Name of this Period? | |
verifyElementPresent | //input[@name="next:method"] | |
verifyValue | //input[@name="next:method"] | Configure accounting |
verifyValue | //input[@name="previous:method"] | Previous |
verifyElementPresent | //input[@name="previous:method"] | |
verifyValue | //input[@name="subfield_field_your_period_start_date_year"] | |
verifyValue | //input[@name="subfield_field_your_period_start_date_month"] | 01 |
verifyValue | //input[@name="subfield_field_your_period_start_date_day"] | 01 |
verifyValue | //input[@name="subfield_field_your_period_stop_date_year"] | |
verifyValue | //input[@name="subfield_field_your_period_stop_date_month"] | 12 |
verifyValue | //input[@name="subfield_field_your_period_stop_date_day"] | 31 |
verifyValue | //input[@name="field_your_period_title"] | |
clickAndWait | //input[@name="next:method"] |
You will then have to choose the "from" email address of your account. This email address will be used for automatically generated emails. You have to select the default accounting currency and the languages that you want to be available in your instance. English will always be available, other languages have to be installed during the configuration process. When it is done you can click on 'Configure ERP5 Preferences'.
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Installation steps | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Accounting | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Download | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Define some global preferences for your ERP5 application. | |
verifyTextPresent | What Sender Address should be Used for Automatically Generated Emails? | |
verifyTextPresent | What is the Currency Used in your Company? | |
verifyTextPresent | Which Date Format do you Use? | |
verifyTextPresent | Which Translations do you Want to Use? | |
verifyElementPresent | //input[@name="next:method"] | |
verifyValue | //input[@name="next:method"] | Configure ERP5 Preferences |
verifyValue | //input[@name="previous:method"] | Previous |
verifyElementPresent | //input[@name="previous:method"] | |
select | //select[@name="field_your_price_currency"] | Euro |
select | //select[@name="field_your_preferred_date_order"] | Day / Month / Year |
addSelection | //select[@name="field_your_lang"] | label=French |
clickAndWait | //input[@name="next:method"] |
verifyTextPresent | ERP5 Configuration | |
verifyTextPresent | Installation steps | |
verifyTextPresent | Your Categories | |
verifyTextPresent | Your roles settings | |
verifyTextPresent | Number of user accounts | |
verifyTextPresent | User accounts configuration | |
verifyTextPresent | Accounting | |
verifyTextPresent | Application preferences | |
verifyTextPresent | Download | |
verifyTextPresent | Download | |
verifyTextPresent | Installation procedure may begin | |
verifyTextPresent | You are going to install your selected configuration. | |
verifyTextPresent | Please proceed using Install button below. | |
verifyTextPresent | In the next page you will receive automatically updated installation status report. | |
verifyElementPresent | //input[@name="next:method"] | |
verifyValue | //input[@name="next:method"] | Install |
verifyValue | //input[@name="previous:method"] | Previous |
verifyElementPresent | //input[@name="previous:method"] | |
clickAndWait | //input[@name="next:method"] |
You can follow the installation progress thanks to the "installation progress bar". Even if you quit the page, you won't be able to stop the installation process. Once it is done you will see a link at the end of the progress bar that will invite you to login to your ERP5 Instance.
As soon the link is provided, click to start to use your configured ERP5.
waitForCondition | selenium.isTextPresent("ERP5 configuration process is running.") | 10000 |
verifyTextPresent | Please be patient and do not move from current page until you get | |
verifyTextPresent | confirmation that the installation is over. | |
verifyTextPresent | It will last approximately 5 to 10 minutes. | |
setTimeout | 1200000 | |
openAndWait | ${base_url}/Zuite_waitForActivities | |
verifyTextPresent | Done. | |
setTimeout | 30000 | |
openAndWait | ${base_url}/Zuite_assertEndConfiguration | |
verifyTextPresent | True | |
openAndWait | ${base_url}/logout | |
openAndWait | ${base_url}/login_form | |
type | //input[@name="__ac_name"] | ${base_user} |
type | //input[@name="__ac_password"] | ${base_password} |
clickAndWait | //input[@name="logged_in:method"] | |
openAndWait | ${base_url}/view | |
pause | 5000 | |
openAndWait | ${base_url}/Zuite_waitForActivities | |
verifyTextPresent | Done. | |
openAndWait | ${base_url}/view | |
verifyTextPresent | ERP5TypeTestCase | |
openAndWait | ${base_url}/logout | |
openAndWait | ${base_url}/login_form | |
type | //input[@name="__ac_name"] | PERSON_USER_REFERENCE |
type | //input[@name="__ac_password"] | secret |
clickAndWait | //input[@name="logged_in:method"] | |
openAndWait | ${base_url}/view | |
verifyTextPresent | PERSON_USER_REFERENCE | |
openAndWait | ${base_url}/Zuite_waitForActivities | |
verifyTextPresent | Done. | |
setTimeout | 30000 | |
openAndWait | ${base_url}/login_form | |
type | //input[@name="__ac_name"] | ${base_user} |
type | //input[@name="__ac_password"] | ${base_password} |
clickAndWait | //input[@name="logged_in:method"] |
Now you can login with the user created during the configuration and enjoy your ERP5.