Centralize form option lists
|Category:||-||Estimated time:||1.00 h|
|Target version:||Repertoire 3) Testing phase III|
Right now, there are multiple places for form options:
Sometimes there are multiple definitions of the same option list. It would be best, if we could just fetch the list from the tryton model itself (well, it's a tuple both in pyramid and tryton), but then we loose the possibility to translate the values.
I propose a central "views/forms/options.py", in which all options are declared and from where it should be imported by form controllers, api, etc.