- 05 Jan, 2018 6 commits
-
-
Vincent Pelletier authored
Calling these can break catalog by not caring about concurrent indexation activities. Even non-restricted code should not call these, but: - they cannot be reliably renamed, as there exist activity dependencies looking for these exact names (which is a bad practice on its own) - there is no simple access control mechanism for non-restricted code So rely on developer discipline instead.
-
Vincent Pelletier authored
Also, simplify scripts while doing so.
-
Vincent Pelletier authored
These methods must not be called synchronously: - they can break catalog by not being careful enough about other reindexations which may happen in parallel. See the serialization_tag mechanism for more. - indexation gets executed in the security context of the user causing the call, which may lead to an indexation result different from what happens when indexation happens with an all-accesses user.
-
Vincent Pelletier authored
To remove the need to directly call immediate reindexation methods, allowing to prevent further misuses of these.
-
Vincent Pelletier authored
Do not check portal's isIndexable, it is checked again in ZSQLCatalog. Directly bind superclass callable instead of doing an extra getattr + call. Trivial python simplifications. Assorted coding style improvements. Drop unhelpful comments and docstrings.
-
-
- 04 Jan, 2018 3 commits
-
-
Sebastien Robin authored
-
Julien Muchembled authored
-
Julien Muchembled authored
This prepares for the removal of --firefox_bin and --xvfb_bin options. The API between the testnode and the tested software must be exclusively generic.
-
- 03 Jan, 2018 6 commits
-
-
Sebastien Robin authored
generateMovementListForStockOptimisation was raising error when there was inventories. The method was assuming that doing getObject() on an inventory line (from getFutureInventoryList) was always returning a movement. But sometimes we get the inventory itself. So do not use getVariationCategoryList, but use the variation_text stored in the stock table.
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
- 02 Jan, 2018 1 commit
-
-
Roque authored
-
- 29 Dec, 2017 4 commits
-
-
Tristan Cavelier authored
- Allow superuser to get RSS ; - Remove useless portal_skin=RSS paremeter.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 28 Dec, 2017 9 commits
-
-
Romain Courteaud authored
Allow user to select which columns to display on module. A new panel has been added for the UI. The selectable column list is calculated from the columns and all_columns parameters. Configuration is for now stored in the URL (as sort).
-
Romain Courteaud authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Yusei Tahara authored
[erp5_pdm, erp5_trade] Fix bad field library field id. Rename ledger field library proxy field from my_ledger to my_view_mode_ledger.
-
Yusei Tahara authored
-
Yusei Tahara authored
[ERP5/tests/testERP5Commerce.py] quantity_unit/unit/piece category is used but it does not exist in this test. Add quantity_unit/unit/piece in afterSetUp. To use non-existing category may lead an unexpected result. This time, getAcquiredCategoryList did not work correctly, then category values of products were not correctly indexed and test_17_getProductListFromWebSection failed.
-
Yusei Tahara authored
Revert "[ERP5/tests/testERP5Commerce.py] Add erp5_configurator_standard_categories business template to provide quantity_unit/unit/piece." This reverts commit 93c6b048. erp5_configurator_standard_categories depends on too many business templates. I gave up using it.
-
Yusei Tahara authored
[ERP5/tests/testERP5Commerce.py] Add erp5_configurator_standard_categories business template to provide quantity_unit/unit/piece. To use non-existing category may lead an unexpected result. This time, getAcquiredCategoryList did not work correctly, then category values of products were not correctly indexed and test_17_getProductListFromWebSection failed.
-
- 27 Dec, 2017 5 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Tomáš Peterka authored
/reviewed-on nexedi/erp5!538
-
Yusei Tahara authored
-
- 26 Dec, 2017 6 commits
-
-
Cédric Le Ninivin authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Cédric Le Ninivin authored
This reverts commit 6687e7e0.
-
Cédric Le Ninivin authored
-