- 10 Jul, 2013 28 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
* Current user must have permission to add Components in portal_components. * bt5 must not be in installed state as this script updates bt5 properties. * There must be some Extension, Document, or Test not already migrated.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
development mode because there was a check whether Extension on FS should be reloaded even for Components.
-
Arnaud Fontaine authored
This reverts the following part of 5d9c30e: * Upon bt5 installation, install portal_type* items before bt5 {Document, Extensions...} as corresponding Portal Type are required once they have been migrated to ZODB Components. This obviously does not work as the Document can be used as Type Class and also because tool_item is required before portal_types for example (see test_type_provider). When bootstrapping erp5_core and installing for example an Extension Component, this will try to load Extension Component Portal Type which does not exist yet but fallback on its document class instead, which is enough until Extension Component Portal Type is installed.
-
Arnaud Fontaine authored
In 5d9c30e, Permissions were set in ComponentTool __init__ and it could not be modified later on because it is set directly in the ZODB. Moreover, Permissions could be modified after execution by modifying attributes.
-
Arnaud Fontaine authored
Folder_delete calls Workflow 'delete_action' if the object has any Workflow History. Before, component_validation_workflow was acting like validation_workflow for deleting objects, e.g. 'delete_action' triggers 'delete' state which is fine for normal documents but not Components.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Before, it was in Site _local_properties, but as this is stored in ZODB, old sites would not have this property and would thus not allow to modify it through 'Properties' Site tab.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Only erp5_trade, erp5_core, erp5_administration and erp5_base for now.
-
Arnaud Fontaine authored
* Upon bt5 installation, install portal_type* items before bt5 {Document, Extensions...} as corresponding Portal Type are required once they have been migrated to ZODB Components. * Likewise portal_{property_sheets, types}, portal_components must be created automatically *before* installing any bt5. This is required when Products will be migrated but also for bt5 items before bootstrapping erp5_core bt5. * Set Permissions in ComponentTool instanciation and revoke all permissions, then allow only some of them for security sake. * When creating ERP5 site with unit tests, add ERP5TypeTestCase to Developer Role ASAP so that there is no Permission issue when installing bootstrap bt5 and test bt5s containing ZODB Components.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
This will not work when there are several nodes anyway, so just display a message to the user instead.
-
Arnaud Fontaine authored
Also, upon installation of bt5s, install WorkflowItem before Components as it is needed to restore history. Another solution would have been to validate() ZODB Components automatically upon bt5 installation but it would mean losing 'modified' state information and also imply that *all of them* will be validated even if a developer wants to publish non-validated ZODB Components.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
getattr() will never load the Component, whereas import does. Also, unit tests were passing with this bug, so improve unit test so that asserting that a module is importable does not have side-effects.
-
Arnaud Fontaine authored
For now, just ignore it but it may be required later to define dummy accessors so that the registry and Components can be loaded even when their accessors are not generated yet.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
It is exactly the same at the end but the name of the latter does not make sense in this context. Moreover, it allows to get rid of Base import.
-
Arnaud Fontaine authored
If PATH environment variable is not defined, this Products cannot be imported. Followup of 399f95f9.
-
- 25 Jun, 2013 1 commit
-
-
Jérome Perrin authored
-
- 21 Jun, 2013 11 commits
-
-
Arnaud Fontaine authored
banking bt5 which override z_catalog_stock_list. Just copy z_catalog_stock_list.xml as the new Z SQL method in banking bt5 as it does not make sense to have more than 300 Inventory Lines in this case.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
performance reasons, so fix improved listbox sort feature accordingly. This fixes testFunctionalCore failures.
-
Jérome Perrin authored
Also, remove copy and paste code from DCWorkflowGraph in ERP5Workflow and allow to override getPOT() like ERP5Workflow does. Signed-off-by: Arnaud Fontaine <arnaud.fontaine@nexedi.com>
-
Yusei Tahara authored
.prop() is available after jquery 1.6.
-
Tatuya Kamada authored
The issue is occured when using inventory document with inventory cache. Add a test case to make sure this issue has been solved: testInventory#test_18_InventoryDocumentAndInventoryCache.
-
Yusei Tahara authored
-
Yusei Tahara authored
-
Yusei Tahara authored
Replace a zsqlmethod for translated_simulation_state_title with python script to add an extra condition to where expression. This helps m ysql optimizer to make a better plan. Without it mysql optimizer may make a bad plan to join catalog and translation and causes bad performa nce problem.
-
Arnaud Fontaine authored
This reverts commit 70a8e561 because this changes is about improving the performances of Accounting Transaction Module not used in this project. Moreover, this change would required to reindex Accounting Transaction Module. Conflicts: bt5/erp5_configurator_standard/bt/revision
-
Arnaud Fontaine authored
Use IPAexGothic to make sure that Japanese is displayed properly. Also, make sure that all the files are properly closed even if an exception occurs thanks to 'with' and 'NamedTemporaryFile'.
-