- 02 Oct, 2015 4 commits
-
-
Jérome Perrin authored
-
Jérome Perrin 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 10 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".
-
Vincent Pelletier authored
-
Vincent Pelletier authored
This parameter is handled nowhere in ERP5 and ends up passed to catalog, which complains about it.
-
Vincent Pelletier authored
-