- 10 Jul, 2013 3 commits
-
-
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 36 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'.
-
Yusei Tahara authored
-
Tatuya Kamada authored
-
Tatuya Kamada authored
-
Tatuya Kamada authored
-
Yusei Tahara authored
Fix an inventory bug. When there are more than 300 inventories which are cancelled by inventory document, inventory document creates wrong stock records.
-
Tatuya Kamada authored
-
Arnaud Fontaine authored
Fix incorrect change of my_view_mode_quantity ProxyField which must point to Base_viewFieldLibrary/my_view_mode_quantity so that figure CSS class is applied (9fcbe9c1).
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
To apply this change on existing on existing table: ALTER TABLE stock MODIFY order_id BIGINT UNSIGNED Before, when creating new full inventory Document, resources which are not present in new Inventory Document were simply ignored. So, new movements were added "manually" with quantity less than or equal to 0 to workaround this issue. New inventory fixes this issue so that this workaround is not needed anymore. Temporary movements are created for resources not present in new Inventory Document and added to stock table (through z_catalog_stock_list Z SQL Method) with uid equals to Inventory Document UID. However, the primary key on stock table is (uid BIGINT UNSIGNED, order_id TINYINT UNSIGNED), thus when there are strictly more than 255 temporary movements, order_id overflows because the max value of TINYINT UNSIGNED is 255 and MySQL sets order_id to 255 after the first 255 temporary movements (as strict SQL mode is not enabled), thus raising an IntegrityError later on because of duplicated entries.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
erp5_simulation should not be required for erp5_trade and erp5_accounting as some system do not use simulation.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
This reverts commit "use UnrestrictedMethod's super user instead of ad-hoc SUPER_USER." and related commits. This commit breaks Python Script installation through UnrestrictedMethod (for example upgrader Alarms for bt5s), thus the Owner of Python Scripts will be 'System Process' (erp5/acl_users). However, Zope checks Owner when executing Python Script which fails because 'System Process' cannot be found in erp5/acl_users. Legacy SUPER_USER was working through a virtual user as implemented in enumerateUsers (ERP5Security.ERP5UserManager). Conflicts: product/CMFActivity/ActivityTool.py bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_checkPortalCatalog.xml
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
This is useless and likely to trigger errors anyway, such as the document being not available when Interactions is actually called.
-
Arnaud Fontaine authored
The former calls zope.i18n.translate() which calls MessageCatalog.translate() by passing 'default' argument to the original message, thus returning the original message when there is no translation. But, when the latter is called without 'default' argument, it is set to message.strip(), thus returning the strip'ed original message.
-
Tatuya Kamada authored
-
Tatuya Kamada authored
-
Tatuya Kamada authored
-
Tatuya Kamada authored
-
Tatuya Kamada authored
-
Tatuya Kamada authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Before, Constraints on the filesystem were checked but this does not work in the forementioned case as the Constraints of project A are not available anymore, thus those Constraints were skipped.
-