summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-08-10 13:52:49 +0000
committerAaron Bohy <aab@odoo.com>2020-08-12 10:07:32 +0000
commitd0bf6192d2091d1b7eb4c1cc771b46e34e6c78ac (patch)
tree30e1309a3d22933d94414d263cc3b8925b5459d7 /addons/web/static/src/xml/base.xml
parentd761a73ad005b537354271396ba088c3fcfffceb (diff)
[IMP] web: sample data: generate better activities
The SampleServer picks a random value for selection fields. As a consequence, field 'activity_exception_decoration' is always set, either to 'warning' or 'danger'. When this field is set, widget 'ListActivity' (set on 'activity_ids') displays 'Warning', whatever the value of 'activity_ids'. This means that with sample data, the next activity field always displays "Warning", which is not great. This special case has been handled in web, as it is the first (and only) one. In the future, if we have to implement several special cases like that, we'll setup a proper hook to allow external modules to define them from the outside. Task 2316726 closes odoo/odoo#55703 Signed-off-by: Mathieu Duckerts-Antoine <Polymorphe57@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions