- 24 Mar, 2014 5 commits
-
-
Gabriel Monnerat authored
-
Julien Muchembled authored
-
Julien Muchembled authored
This fixes many different bugs, like random Unauthorized errors when a knowledge pad is deleted. When an object is created, calling immediateReindexObject is only a performance coding crime, which should be negligible since pads are objects that are not created often. Previous implementation was certainly even less scalable due to the many extra requests done to wait that new pads are indexed. If immediateReindexObject is too slow, a distributed cache could be used instead. This is not trivial and overkill for the moment. It would be better if we didn't have to rely on the catalog. IOW, data could have been organized differently so that in ZODB, pads are grouped in containers, 1 per user.
-
Kazuhiko Shiozaki authored
(cherry picked from commit 23da3f0d)
-
Aurel authored
-
- 19 Mar, 2014 14 commits
-
-
Kazuhiko Shiozaki authored
so that : * the result is stable. * no permission is required for Supply and Resource only for price calculation. * no proxy role is required in script.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Julien Muchembled authored
Because the method internally overrode 'uid' after the first group of objects, passing a list of uids could make it go berserk and activate all objects in catalog with an uid greater than those of the first group. Although searchAndActivate was not initially written to be called with such list, this commit fixes this instead of forbidding conditions on 'uid', since it remains useful to easily split & group activities.
-
Aurel authored
-
Aurel authored
-
Jérome Perrin authored
-
Jérome Perrin authored
CRM: Introduce a script to easily customize the portal type of response events to be selected by default in reply dialogs
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 18 Mar, 2014 5 commits
-
-
Jérome Perrin authored
Funny things can happen if you have multiple machines and their clock are not synchronized.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 17 Mar, 2014 6 commits
-
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
Also, consider the error list when fixit is False only
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
Add Business Template with Constraints as a example of bt5 with all configuration required to upgrade
-
Gabriel Monnerat authored
Simplify erp5_upgrader to be possible upgrade any project just enabling the alarms that all Constraints will be called and fixed. The alarms were renamed to cover each step of upgrader and give the possibility to call each step manually one-by-one. Also, all Scripts that the logic can be done by installing Business Template was removed. Also added: - Constraints that can be used in the upgrader - Unit test to check different scenarios - Extend external method to be possible dump workflow chains to be compared with all configuration defined on Business Templates
-
- 16 Mar, 2014 6 commits
-
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
Add test to simulate the issue with the method TemplateTool.installBusinessTemplateListFromRepository Using the method try to install Business Templates that are already installed, the Business Templates is uploaded on ERP5 but not used. It creates a lot of garbage because in the end you have many bt5s not installed.
-
Gabriel Monnerat authored
The logic of all Configuration Items was not changed, but now the changes are applied only if fixit is True and the constraints are filtered by constraint type equal configuration. Cosmetic: Trailing whitespaces were removed in the same commit
-
Gabriel Monnerat authored
Also, Added constraint property sheets to Script Constraint portal type
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
-
- 14 Mar, 2014 4 commits
-
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Otherwise with CKEditor it's not possible to add some text outside of quoted content
-
Jérome Perrin authored
-