- 22 Jun, 2015 14 commits
-
-
Tatuya Kamada authored
-
Julien Muchembled authored
This is required for ERP5Site_checkDataWithScript script (erp5_core BT).
-
Kazuhiko Shiozaki authored
Otherwise, we use superclass' __contains__ implementation, which uses objectIds, which is inefficient in HBTreeFolder2 to lookup a single key. This commit reverts fdf4fa44 that does not work in reality.
-
Vincent Pelletier authored
-
Kazuhiko Shiozaki authored
add work around for the performance regression introduced in Zope 2.12.23 in BTreeFolder2, for the case where we use BTreeFolder2 directly.
-
Tatuya Kamada authored
Partial commit of c29f5cda
-
Tatuya Kamada authored
Revert "Allow restricted python to use HBTreeFolder2 iterators." This reverts commit 3da34864.
-
Tatuya Kamada authored
Partial commit of c29f5cda.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Tatuya Kamada authored
-
Tatuya Kamada authored
-
Tatuya Kamada authored
-
Kazuhiko Shiozaki authored
-
- 19 Jun, 2015 6 commits
-
-
Julien Muchembled authored
A ZopeLite patch was added to prevent loading of zcml files, which is wrong for ERP5: CMF products were not properly initialized. Code is also simpler now that we call OFS.Application.initialize(), which is not significantly slower. We keep patch not to register help though because this is quite expensive: we should even consider always disable help because they seems to cause many conflicts during Zope cluster startup. A monkey-patch to unittest is updated for Python 2.7, so that tests aren't run when they shouldn't (e.g. --save without --load). Conflicts: product/ERP5OOo/tests/testOOoImport.py
-
Rafael Monnerat authored
Create promise configuration on-the-fly with the configurations reusing existing API to get cloudooo, memcached and kumofs informations from environment. This approach allow us use erp5_promise alarms at any unit test to configure cloudooo, memcached and kumofs, instead implement ad-hoc configurations on tests afterSetup methods.
-
Sebastien Robin authored
Since DeadlockDebugger is checking for product configuration, it was no longer working in unit test
-
Vincent Pelletier authored
Provide migration ability from persistent Control Panel if present. Drop destructive "backward-compatibility" code (delete object if old version). Fixes Zope 2.13 .
-
Vincent Pelletier authored
Fixes Zope 2.13 .
-
Leonardo Rochael Almeida authored
If we ever need it back, just move this Document class into a business template, so that Products.ExtFile is not a hard dependency of ERP5.
-
- 05 Jun, 2015 1 commit
-
-
Kazuhiko Shiozaki authored
since Zope 2.12.23, ObjectManager's get and __getitem__ returns only 'items' (no attributes / methods from the class or from acquisition).
-
- 26 May, 2015 1 commit
-
-
- 13 Feb, 2015 1 commit
-
-
Tatuya Kamada authored
-
- 03 Dec, 2014 1 commit
-
-
Tatuya Kamada authored
Now we can do like this. updateCellList(portal, supply_line, 'Internal Supply Cell', 'SupplyLine_asCellRange', table, activate_kw=activate_kw) Then reindex activites take into account the activate_kw.
-
- 14 May, 2014 2 commits
-
-
Kazuhiko Shiozaki authored
that should be part of commit 9b5c74fb ('force' argument in BusinessTemplate._install() should not mean clear catalog. we can and should use 'update_catalog' argument instead to clear catalog).
-
Kazuhiko Shiozaki authored
we can and should use 'update_catalog' argument instead to clear catalog.
-
- 07 Feb, 2014 8 commits
-
-
Arnaud Fontaine authored
erp5_autocompletion_ui: Add JS ERP5Autocomplete() parameter to transform text before sending AJAX request. For example, if one wants to uppercase/lowercase the value entered by end-user.
-
Arnaud Fontaine authored
erp5_autocompletion_ui: Autocompletion property value set to the field should be the one queried from the Catalog.
-
Arnaud Fontaine authored
erp5_autocompletion_ui: Consider that description may not be needed, thus only one line, the label, is displayed.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Possible through defining a TypeBasedMethod (PORTAL_TYPE_getCompletionDict) returning a dict serialized in JSON by the calling method, or otherwise overriding fallback script (Base_getCompletionDict).
-
Arnaud Fontaine authored
erp5_autocompletion_list: Move away generic JS code from RelationField as it should be reusable anywhere.
-
Arnaud Fontaine authored
Limit the number of results to 15 instead of 20 as it seems to be enough (taken from an existing customer project).
-
Arnaud Fontaine authored
-
- 06 Feb, 2014 6 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
RelationField: Implement autocompletion and use it by default once erp5_autocompletion_ui is installed.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
erp5_autocompletion_ui: Increase delay before searching from 300ms (default) to 600ms, this should be enough...
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-