From 6b439c0c6083b8394e47808d8567c1a7f4447b2b Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Mon, 5 Mar 2018 17:27:40 +0100 Subject: [IMP] web: Add an Item --> Add a Line in One2manyList (item is weird for some objects- ) --- addons/web/static/src/js/views/basic/basic_model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/js/views/basic/basic_model.js') diff --git a/addons/web/static/src/js/views/basic/basic_model.js b/addons/web/static/src/js/views/basic/basic_model.js index 74e41d1ee51..2ef65cbd1b6 100644 --- a/addons/web/static/src/js/views/basic/basic_model.js +++ b/addons/web/static/src/js/views/basic/basic_model.js @@ -780,7 +780,7 @@ var BasicModel = AbstractModel.extend({ /** * In some case, we may need to remove an element from a list, without going * through the notifyChanges machinery. The motivation for this is when the - * user click on 'Add an item' in a field one2many with a required field, + * user click on 'Add a line' in a field one2many with a required field, * then clicks somewhere else. The new line need to be discarded, but we * don't want to trigger a real notifyChanges (no need for that, and also, * we don't want to rerender the UI). -- cgit v1.2.3