- 29 Dec, 2017 11 commits
-
-
Boxiang Sun authored
SetContainerFullQuantity do the Tic inside its own: https://lab.nexedi.com/vpelletier/erp5/commit/59e7ed2946b612076ad21623f80c4e2f50f64199#diff-12
-
Boxiang Sun authored
Replase it by add reindex_on_commit=True in newContent
-
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.
-
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 13 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
-
Tomáš Peterka authored
Test for bugfix /#/bug_module/20171208-5E8D43 /reviewed-on nexedi/erp5!529
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Yusei Tahara authored
[erp5_base] Add following movement groups to Order Builder. Order Builder should be able to use the same movement groups as Delivery Builder. First Causality Movement Group Invoice Movement Group Previous Causality Movement Group Property Grouping Movement Group
-
Yusei Tahara authored
[erp5_base] Fix Delivery_getLedgerItemList to make it work with non-Delivery Type portal type documents.
-
Yusei Tahara authored
-
Yusei Tahara authored
Internal Order Internal Packing List Internal Trade Condition Purchase Invoice Purchase Order Purchase Packing List Purchase Trade Condition Returned Purchase Order Returned Purchase Packing List Returned Sale Order Returned Sale Packing List Sale Invoice Sale Order Sale Packing List Sale Trade Condition
-
- 25 Dec, 2017 1 commit
-
-
Yusei Tahara authored
[erp5_pdm] Fix proxy fields of order_quantity_unit and time_quantity_unit. Since they are derivations from quantity_unit, "quantity_unit" is needed in the path in the path.
-
- 22 Dec, 2017 1 commit
-
-
Romain Courteaud authored
This reverts commit 82c5ae6f. Add a test to check that hidden rows action update the listbox head
-