- 12 Jul, 2013 7 commits
-
-
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
-
- 21 Jun, 2013 20 commits
-
-
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.
-
Arnaud Fontaine authored
When starting a node, ERP5Site.__of__ calls ComponentTool.reset(), which was never synchronised so it returned True (without generating a new cookie at its level) and causing synchronizeDynamicModules to be called with force=True. This generated a new cookie and leading to dynamic classes being meaninglessly regenerated on all nodes. Instead, modify ComponentTool.reset() behavior so it *always* reset Portal Type classes when Components are reset (as it should have always been as the class inheritance may have been modified) and force regeneration of Portal Type classes in this method if reset is True. Signed-off: Vincent Pelletier <vincent@nexedi.com>
-
Arnaud Fontaine authored
generateNewId() calling getIdGenerator() accessor which not available yet, thus define a dummy accessor so that erp5_property_sheets can be installed.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
This avoids copying/pasting the content of the form and also keep records for later inspection.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Avoid running out of file descriptors when backing up many objects in the trash upon bt5 installation. Before, when installing a bt5 whose format has changed, many subobjects may end up being backup up, but it keeps one FD per subobject, thus easily reaching the limit of 1024 FDs (as given by ulimit -Sn/-Hn). This is a followup of b71e5a73 specific to TrashTool as that commit seems to only fix the issue when TrashTool is not used.
-
Arnaud Fontaine authored
Upon Business Path Item installation, update Local Roles of objects whose Portal Types defines Roles. Before, Local Roles were not updated upon Path Item installation, thus leading to security issues (such as Trade Model Line). This avoids ugly hacks in Upgrader and in tests as well. Also, move Portal Types Role installation before Path so that they can be used before updating Roles during Path installation.
-
- 17 May, 2013 13 commits
-
-
Yusei Tahara authored
To show a workflow dialog which absolutely fail is not good.
-
Yusei Tahara authored
Improve error handling on Workflow_statusModify. If divergence is solved by other user, then show a nice message.
-
Yusei Tahara authored
Uid must be always consistent. If uid is changed, then workflow action which user selected is applied to different workflow and it causes different result.
-
Yusei Tahara authored
Improve error handling on Workflow_statusModify. If requested transition is not available, then show a nice message.
-
Arnaud Fontaine authored
PasswordTool_viewResetPassword/text_content from erp5_core wrongly requires Field Library in erp5_web and EmbeddedFile_view/my_description from erp5_base wrongly requires Field Library in erp5_dms.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
If an user has set SVN working copies in its preferences, it cannot be modified anymore after upgrade.
-
Arnaud Fontaine authored
-
Yusei Tahara authored
Now both ascending arrow and descending arrow are displayed in title column and user can sort in specific order explicitly. User also can sort multiple columns by click without using sort-on-dialog.
-
Yusei Tahara authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-