Yann Weber
d4504df92a
Bugfix for Em MlString translations + me.json update
8 vuotta sitten
Yann Weber
ba6cffbd03
Updated em json files
8 vuotta sitten
Yann Weber
cb5f2f7460
Implements multivalue column
8 vuotta sitten
Yann Weber
43e8145dab
Implements get_max_rank() in LeApi. Add a fieldtype rank. + A lot of bugfix
The me.json was not up to date (Models don't forward classtypes modifications to loaded json file)
Some bugfix on fieldtypes that was not used (because of old me.json)
8 vuotta sitten
ArnAud
eb8d282857
test Model: char fields should be nullable
9 vuotta sitten
Yann Weber
10379c6a95
Fieldgroups are deleted
9 vuotta sitten
ArnAud
a4dacc654a
classtype: use the same naming pattern for *_id fields
9 vuotta sitten
Yann Weber
384ffb006b
Default fields processing changes + updated the me.json
Now on load default fields for EmClass are created. The EmClass.check method create them if they are not present.
9 vuotta sitten
Yann Weber
a9bf80d83d
Adding a second possible parent for the EmType rubrique in me.json
9 vuotta sitten
ArnAud
2e1c517f01
testMe : add a fieldgroup with only optional field in it
9 vuotta sitten
ArnAud
644f76b14d
Emtype: superiors_list should be a dict with list of int
=> a type can have multiple superiors (only instance of LeObject can have one)
9 vuotta sitten
ArnAud
e57598690d
TestMe: add a type with no superior
9 vuotta sitten
ArnAud
2379d6031d
Tests: add an unselected optional field to test ME
9 vuotta sitten
ArnAud
9131f7bcd2
EmField: type attribute is now called fieldtype
9 vuotta sitten
ArnAud
a89cfa4429
EmType: use superiors_list instead of subordinates_list to save type hierarchy
9 vuotta sitten
ArnAud
7a97bc16fb
test ME: rank was not correct
9 vuotta sitten
Yann Weber
d199d571bd
Cleaning & commenting + adding warning
9 vuotta sitten
Yann Weber
5d71d29f91
Updated the me.json
9 vuotta sitten
Yann Weber
0dd07ea281
[Broken] Make the MH using the to_django method of EmField and me.json updates
Added a fieldtype varchar to me.json
There is a bug with django fields default values
9 vuotta sitten
ArnAud
34fdd8d8b3
EmType: implement select and unselect _field
9 vuotta sitten
ArnAud
886cee22df
EmType : subordinates_list and fields_list
9 vuotta sitten
Yann Weber
b6ef37752f
Supressed _fields from EmComponent and transforming the EmComponent in a standart object with standarts attributes
9 vuotta sitten
ArnAud
ee9104fd57
EmType : implement .fields()
comment selected_fields because it clashes with ._fields[]
=> we have to rethink of ._fields[] and fieldtypes
9 vuotta sitten
ArnAud
f72799af24
EmFieldgroups: fields(self, type_id=0) can now filter fields for EmType request
9 vuotta sitten
ArnAud
338bccd785
EmType: implement fieldgroups()
9 vuotta sitten
Yann Weber
6a56b31ba5
Migrating EmClass methods and EmComponent.delete according to the new Model object, changed the Model.components dict keys (and the json test file)
There is now two methods Model.name_from_emclass and emclass_from_name that allows to access the Model.components array
9 vuotta sitten
ArnAud
6f2d895462
EM: Model: store all components in one dict
9 vuotta sitten
ArnAud
71a1e852dc
EM: a canonical EM in json
9 vuotta sitten
ArnAud
e85e19c4b1
ME: basic ME for tests
9 vuotta sitten
ArnAud
55b030800f
Em: draft for fieldgroup
9 vuotta sitten
ArnAud
c73251795c
EM: first draft for a Model Class
9 vuotta sitten