6 Commits

Author SHA1 Message Date
Marc Ducobu
e083ca7487 Bug fix : companies fixtures loading fails (Option->text is an json_array) 2021-02-08 23:00:18 +01:00
e053bf999e fixing any depreciations in fixtures feature 2021-01-14 18:57:02 +01:00
540661862a rename deprecated using path for ObjectManager 2020-09-08 15:42:42 +02:00
f05770235f fix deprecated ObjectManager path in data fixtures scripts 2020-09-04 20:35:32 +02:00
96dbd06b75 WIP adapt fixtures script for sf4 2020-08-07 14:10:38 +02:00
4f13ec6959 add a custom field long choice basic
The `custom field long choice` aim to provide a way to deal with choices
with a big possibilities.

The `custom field long choice` allow :
- to persist different options in the database ;
- each option has a key, a text (translatable string), and eventually a
  parent, and an internal_key
- every key can be activate or not. If the parent is inactivated, all
  childs are inactivated
- the internal key have two purposes :
    - link to an external csv file, with their own key ;
    - add a special class to results, to allow custom layout.

Currently, the field exists, but some elements are missing :

- a script for CSV import
- possibility to select multiple items
- edition of options
- handle of option without parents
- tests are missing
2015-12-11 11:43:39 +01:00