summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-06-21 11:23:18 +0200
committerChristophe Simonis <chs@odoo.com>2016-06-21 11:23:18 +0200
commit0a2317d303e4ee0649f7baa1a35df405a63a2017 (patch)
tree709b5a15a58275eb9993848eb5b8c98ce8d636d0 /doc/reference
parent6101b856f0a7a18b94b3fc080cb686c40d5fc736 (diff)
[FIX] test_new_api,web: tests 9.0 adjustments
Rev e37ba61 forward-ported 8.0 revision f02b230 from PR #12379. This patch introduces extra tests and views for o2m onchange behavior, including new fields in the test models. In 9.0 a new convert_to_onchange() mechanism had been introduced at 9f81c6d The combination of both requires some adaptation to the expected results of the new tests and adaptation of existing tests. The test models in `test_new_api` have an implicit depencies between models which cannot be express on ORM: messages depends on participants of their discussion. So, when editing a discussion, the field `participants` should be processed before field `messages`. This is not always done because field processing order depends of the iteration order of a `dict` (which is undefined in python). The testing tour `widget_x2many` worked by chance until now. Adapt the tour to save the participants before the messages.
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions