Commit 971b9cc2 authored by Jérome Perrin's avatar Jérome Perrin

configuration_standard: use erp5_configurator_standard_categories

Instead of using a spreadsheet for categories, use
erp5_configurator_standard_categories business template.

This business template also configures quantity unit definition in the
new way and no longer use obsolete way of setting quantity property on
quantity unit categories.

The included spreadsheet is still used, but all categories except group and
site have been removed, it now only contain group/my_group and site/main.
parent 1f5a41af
...@@ -5,3 +5,11 @@ context.setGlobalConfigurationAttr( ...@@ -5,3 +5,11 @@ context.setGlobalConfigurationAttr(
configuration_save.addConfigurationItem("Categories Spreadsheet Configurator Item", configuration_save.addConfigurationItem("Categories Spreadsheet Configurator Item",
configuration_spreadsheet_data = getattr(context, "standard_category.ods").data) configuration_spreadsheet_data = getattr(context, "standard_category.ods").data)
configuration_save.addConfigurationItem(
"Standard BT5 Configurator Item",
title='erp5_configurator_standard_categories',
bt5_id='erp5_configurator_standard_categories',
update_catalog=False,
install_dependency=True,
)
...@@ -333,7 +333,7 @@ ...@@ -333,7 +333,7 @@
<tr> <tr>
<td>select</td> <td>select</td>
<td>//select[@name="field_your_default_address_region"]</td> <td>//select[@name="field_your_default_address_region"]</td>
<td>Europe/Western Europe/France</td> <td>France</td>
</tr> </tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
...@@ -955,7 +955,7 @@ ...@@ -955,7 +955,7 @@
<tr class="" style="opacity: 1;"> <tr class="" style="opacity: 1;">
<td>select</td> <td>select</td>
<td>//select[@name="field_your_function"]</td> <td>//select[@name="field_your_function"]</td>
<td>Company/Company Manager</td> <td>Company Manager</td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment