Commit 5e0091a6 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 b6d46915
...@@ -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,
)
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