- 06 Oct, 2017 40 commits
-
-
Vincent Pelletier authored
This reverts commit 206fa603 (which was itself a revert commit), re-applying the change now that surrounding code is ready for it.
-
Vincent Pelletier authored
Ignored columns are produced when aliasing a column. For example, aliasing "catalog.reference" as "reference". Before this change, this would cause conditions on "reference" to be rendered non-mapped, which can cause SQL execution issues when there is more than one "reference" column available (catalog.reference and its alias counting as only one), which is the case when catalog-category-catalog joins happen. Instead, render all columns which could be mapped, independently from their "ignored" status. Also, use a different local variable for table aliases than for column aliases. Also, use more "return" statements, and simplify conditional structure.
-
Vincent Pelletier authored
As per Jérome, who implemented the test, it was written to test the current state rather than testing the desired outcome. And it makes little sense to have (and test for) 100 being present in both debit and credit columns ("normal" lines), and 0 to be present in the stat line. Update test to check for a more consistent outcome. Acked-by: Jérome Perrin <jerome@nexedi.com>
-
Tomáš Peterka authored
-
Tomáš Peterka authored
-
Tomáš Peterka authored
Explicitely state which values represent empty values. Coercing to boolean is not sufficient.
-
Tomáš Peterka authored
- Remove field_json.value because that one is never send by ERP5 backend - Set comprehensive initial state and avoid sneaking state variables afterwards - Handle better NaNs which represent empty numerical value - Refactor for shorter and simpler code - Rename "percents" -> "percentage" according to coding style guidelines
-
Tomáš Peterka authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
otherwise TALES in input_style does not work and changes in the original proxy field will not be reflected.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Vincent Pelletier authored
This change is not the correct one, and not at the correct time. Will be re-applied when select_dict later looses the ability to strip table in favour of stricter argument schema.
-
Romain Courteaud authored
Fix b6574626
-
Vincent Pelletier authored
This reverts only one hunk of the original commit, as this part causes a regression not trivial to fix.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Vincent Bechu authored
-
Vincent Bechu authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Tomáš Peterka authored
/reviewed-on nexedi/erp5!403
-
Tristan Cavelier authored
caused by no search criterions
-
Tomáš Peterka authored
-
Tomáš Peterka authored
-
Tomáš Peterka authored
/reviewed-on nexedi/erp5!398
-
Tomáš Peterka authored
-
Tomáš Peterka authored
-
Jérome Perrin authored
Changes: * indentation and whitespaces between function and (. ( tips: use ignore whitespace for review) * usage of `new`. Some RSVP.Promise where not using `new`, some RSVP.all had an extra `new` * fix a "weird condition", javascript does not evaluate (a <= b <= c) same as python * change `var` declarations one per line, to be compatible with upcoming jslint version. Use a vars: true directive so that jslint 2014-04-21 is also happy ( see https://stackoverflow.com/questions/34862541/expected-and-instead-saw-jslint-multivar-setting ) * in function definitions: rename unused arguments as `ignore` or remove them when possible ( when they were last ) * use named functions ( for exemple fillDialog ), otherwise jslint complain they are not in scope.
-
Jérome Perrin authored
Otherwise, the event handler is set multiple times on the same #qunit-fixture element
-
Jérome Perrin authored
-
Jérome Perrin authored
It causes {msg: "jsPlumb: unknown connector type 'StateMachine'"} problem when jquery was already loaded
-
Jérome Perrin authored
because it adds an action to edit business processes
-
Jérome Perrin authored
This is to comply with [jsl](https://lab.nexedi.com/nexedi/slapos/blob/ce15c54/component/jsl/buildout.cfg) used in testXHTML
-
Jérome Perrin authored
-
Boxiang Sun authored
-