summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-09-14 22:43:43 +0200
committerqsm-odoo <qsm@odoo.com>2017-09-14 23:48:56 +0200
commit33f9e90bd5a9ad3e9239f1b414ea012bb94fa1c0 (patch)
tree18f7ec62c340b1e6e63e5520565b0bd4b7d8a10c /addons/web/static/tests/fields/basic_fields_tests.js
parent031dc1d952837c0d9740e1caac1ab1d923863545 (diff)
[IMP] web, *: add kanban column progress bars
* crm, project Add a new feature which allows to put a progressbar in the kanban columns. The progressbar shows with the same color the amount of records whose value of a given field are the same in the column. It also indicate the sum of another given field or simply the total number of records. It also allows to subgroup the column content. To define a progressbar, add this as a direct child of the kanban arch: <progressbar field="<name of the field to use for subgroups>" colors="{<one possible value for the above field>: <success, warning or danger>, ...}" sum="<name of the field to sum or nothing to use total number of records>"/> Also: - Properly update record model data's parentID when moving a record - ...
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
-rw-r--r--addons/web/static/tests/fields/basic_fields_tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/tests/fields/basic_fields_tests.js b/addons/web/static/tests/fields/basic_fields_tests.js
index 98b61fb0086..94fb0c4630c 100644
--- a/addons/web/static/tests/fields/basic_fields_tests.js
+++ b/addons/web/static/tests/fields/basic_fields_tests.js
@@ -1994,7 +1994,7 @@ QUnit.module('basic_fields', {
QUnit.test('datetime field with date/datetime widget (with day change)', function (assert) {
assert.expect(2);
-
+
this.data.partner.records[0].p = [2];
this.data.partner.records[1].datetime = "2017-02-08 02:00:00"; // UTC