- 05 Oct, 2015 1 commit
-
-
Kazuhiko Shiozaki authored
Revert "Add auto_extend_select_list argument in buildSQLQuery() and use alias in group_by_expression and order_by_expression." No need to extend SQLCatalog parameter to support group_by_list and order_by_list in sub-queries.
-
- 04 Oct, 2015 3 commits
-
-
Kazuhiko Shiozaki authored
Now we have explicit ORDER BY in the outer query so that we no longer need to disable derived_merge optimizer. c.f. https://bugs.launchpad.net/maria/+bug/985828
-
Kazuhiko Shiozaki authored
Now you can sort results by full text search score, for example.
-
Kazuhiko Shiozaki authored
Add auto_extend_select_list argument in buildSQLQuery() and use alias in group_by_expression and order_by_expression. If True, select_list is automatically extended to have columns used in group_by_list and order_by_list. It is useful when use select_expression in inner query and use group_by_expression or order_by_expression in outer query.
-
- 02 Oct, 2015 3 commits
-
-
Cédric Le Ninivin authored
-
Sebastien Robin authored
Remove broken concept of Mapping Properties that was used on legacy simulation. We do not want to use this concept any more, any mapping should be done by rule themself. Removing mapping properties leads to more generic concepts and much simpler code. With legacy simulation, in case of returned sale packing list (in case we want to invoice in same sale invoice usual sale packing list and returned sale packing list) : AR (delivering_rule): -> SM (source/A, destination/B) -> AR (invoicing_rule, having mapped_property mapping source to destination and vice versa) -> SM (source/A, destination/B) builders and solvers where doing sm.getMappedProperty('source') which was equivalent to sm.getProperty('destination'), thus the mapping was done in live time Now in such case, we should implement mapping directly at rule level, and this should give: AR (delivering_rule): -> SM (source/A, destination/B) -> AR (invoicing_rule, reversing source and destination) -> SM (source/B, destination/A) here we directly have properties we wish, no need of hacks on builders and solvers
-
Sebastien Robin authored
Remove broken concept of Mapping Properties that was used on legacy simulation. We do not want to use this concept any more, any mapping should be done by rule themself. Removing mapping properties leads to more generic concepts and much simpler code. With legacy simulation, in case of returned sale packing list (in case we want to invoice in same sale invoice usual sale packing list and returned sale packing list) : AR (delivering_rule): -> SM (source/A, destination/B) -> AR (invoicing_rule, having mapped_property mapping source to destination and vice versa) -> SM (source/A, destination/B) builders and solvers where doing sm.getMappedProperty('source') which was equivalent to sm.getProperty('destination'), thus the mapping was done in live time Now in such case, we should implement mapping directly at rule level, and this should give: AR (delivering_rule): -> SM (source/A, destination/B) -> AR (invoicing_rule, reversing source and destination) -> SM (source/B, destination/A) here we directly have properties we wish, no need of hacks on builders and solvers
-
- 01 Oct, 2015 1 commit
-
-
Cédric Le Ninivin authored
-
- 30 Sep, 2015 1 commit
-
-
Vincent Pelletier authored
Documents should inherit from XMLObject, which already overloads this setter. As a result, this method is normally not used. The problem is that it gets called when calling newTempBase( description='foo' ) which fails with: AttributeError: _setDescription because _setProperty finds setDescription and tries to call it, instead of setting description as a local property..
-
- 29 Sep, 2015 3 commits
-
-
Kazuhiko Shiozaki authored
-
Kristopher Ruzic authored
-
Kristopher Ruzic authored
doesn't allow for offline use however
-
- 28 Sep, 2015 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
For example, this is required for multi-valued fields when an unknown value is kept selected. Like elsewhere in ERP5, we don't want validation to raise in this case.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 25 Sep, 2015 6 commits
-
-
Jérome Perrin authored
-
Vincent Pelletier authored
Also, factorise code.
-
Jérome Perrin authored
This is fuxip for 1038d441
-
Jérome Perrin authored
Quick way to isolate tests
-
Jérome Perrin authored
getInstalledBusinessTemplate was returning "replaced" versions of a business template beeing uninstalled. Also add some missing tests for getInstalledBusinessTemplate
-
Vincent Pelletier authored
-
- 24 Sep, 2015 11 commits
-
-
Vincent Pelletier authored
Likewise for positional REQUEST parameter.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Also, extract unwanted kw entries by just declaring them as separate parameters.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
It is not passed a value, so DTML walks acquisition path (and skins) on each call (which do not pass from_expression).
-
Vincent Pelletier authored
-
Cédric Le Ninivin authored
-
Sven Franck authored
-
Vincent Pelletier authored
This reverts commit 0fc02acc. selection_report is actually a legal ZSQLCatalog parameter. selection is not, but there are more instances of its usage, so cleanup will be in a separate commit.
-
- 23 Sep, 2015 7 commits
-
-
Jérome Perrin authored
This way, it becomes pretty easy to add matrix functionnality to any portal type TTW
-
Vincent Pelletier authored
The business template does not set ERP5 enough for proper indexation in email table. Given the low popularity of this business template, mark its test as expected failure with explanation.
-
Cédric Le Ninivin authored
-
Jérome Perrin authored
-
Vincent Pelletier authored
local_roles is handled entirely inside ERP5Catalog, so to not tell ZSQLCatalog about it - it can do nothing right with it anyway. Also, get rid of abusive **kw use in this code path. Also, actually pass sql_catalog_id to getAllowedRolesAndUsers.
-
Vincent Pelletier authored
This is at least needed for external_account_interaction_workflow/scripts/Career_start as it filters by "email.url_string".
-