summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/relational_fields.js
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-06-09 15:35:11 +0000
committerJulien Mougenot <jum@odoo.com>2020-06-10 13:08:33 +0000
commita392da16015c69161814e83f1cde5ddf40782505 (patch)
tree26696078cdce166aa8d619db83d9ea06eb8032e5 /addons/web/static/src/js/fields/relational_fields.js
parenta425c58d99d4c03aeddb53ea38a8304968336379 (diff)
[IMP] web: add 'Create and edit' test helper
Accessing the "Create and edit" option can be bothersome when testing: - you must click on the m2o dropdown to open it - input a value - click on the "Create and edit" m2o item Now, a helper exists to compile all these tasks into a single helper: the many2one 'createAndEdit' function. Usage: `await testUtils.fields.many2one.createAndEdit('m2o_field', "ABC");`
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions