- 06 Oct, 2017 40 commits
-
-
Nicolas Wavrant authored
-
Cédric Le Ninivin authored
-
Tomáš Peterka authored
-
Tomáš Peterka authored
-
Tomáš Peterka authored
-
Tristan Cavelier authored
- fix `NoneType` as no attribute `getTitle` (service_obj.getTitle()) ; - use existing variable as most as possible (portal, result) ; - avoid call `getTitle` on the same object in a loop (project.getTitle()) ; - avoid compare projects by title as many projects may have the same ; - avoid using `set` as service id cannot be present twice (set(service_pairs)) ; - optimise catalog request to get project (limit) ; - optimise catalog request to get sale supply (destination_project_uid) ; - rename plurals in variable (service_pairs) ; - rename abbreviations in variable (*_obj) ; - remove trailing spaces.
-
Tomáš Peterka authored
-
Tomáš Peterka authored
-
Tomáš Peterka authored
[renderjs_ui] testSortItemAutoBuild counts with strict sort editor and does not fail on fast computer
-
Tomáš Peterka authored
-
Nicolas Wavrant authored
As it seems addToDate do not just add 1 unit of time, but is sensitive to the number of days in a month too
-
Tomáš Peterka authored
even if there is only one workflow action /reviewed-on nexedi/erp5!335
-
Aurel authored
-
Rafael Monnerat authored
According to Payzen API, boolean should be translated into 0 or 1 in order to be part of the signature. The only value which contains a boolean is "litige" which can cause signature miss-match without this change.
-
Rafael Monnerat authored
Reimplement for follow up the migration of PropertySheets from Products to ERP5
-
Alain Takoudjou authored
-
Rafael Monnerat authored
Normally it should work as annonymous.
-
Rafael Monnerat authored
the selection name is duplicated with Computer_view/listbox
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Romain Courteaud authored
-
Romain Courteaud authored
It can be used with an external method by providing the URL to proxy as a query parameter: ERP5Site_getHTTPResource?url=URL The query is synchronous (no portal_activities), so, the Zope thread will be blocked until the external request is other. In order to prevent consuming all threads, there is a really aggressive timeout of 1 second only. This is enough for a RSS reader. If the timeout is to short, do not increase it, but change the proxy design to use portal_activities instead. For now, only authenticated user can use it (to prevent becoming an open proxy). Only GET query are allowed (until a use case required any other HTTP method).
-
Łukasz Nowak authored
Instead of using obsolete processing_node parameter, use invalid_onlym with True, in order to check if there are activities with error. As INVOKE_ERROR_STATE is needed only in SQLBase, move it there and so drop it from ActiveObject and ActiveProcess.
-
Łukasz Nowak authored
Thanks to using invalid_only the caller can check if there is any invalid activity on the context. This might be used by hasErrorActivity in ActiveObject and ActiveProcess.
-
Łukasz Nowak authored
hasErrorActivity is tested on ActiveObject and ActiveProcess classes.
-
Łukasz Nowak authored
DISTRIBUTABLE_STATE was removed bad50097
-
Vincent Pelletier authored
Writing SQL belongs to catalog.
-
Vincent Pelletier authored
Improvement: As proposed by Jean-Paul when this extension was added (2010), allows mixing left- and inner-join lookups. Improvement: Now it is not required to specify tested_base_category_list to enable inner joins: they will automatically be used whenever a base category set on context matches the preference. If all categories set on context match the preference, then no left join will be used at all.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
This only makes a difference when "test=False" is given, which is a hack anyway.
-
Vincent Pelletier authored
The main purpose is to stop calling buildSQLSelector so it can be removed. Remove Base_zSearchRelatedObjectsByCategoryList. Also, discard a superfluous comment in testArchive which references the discarded ZSQLMethod, for consistency. Fixes an existing failure in testArchive.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Less ambiguous than previous syntax while keeping names short. Allows defining more flags without limiting base_category namespace: the only forbidden base_category id is "related", which was already reserved (ie, not working) in previous syntax.
-
Vincent Pelletier authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
These improvements include : * better address reporting * better handling of Social Security Number and Temporary Technical Number for foreign employees * add more checks and UI error messages to report wrong values to the user before he submits the DSN * fix bugs for some edge cases
-
Nicolas Wavrant authored
When aggregating Paysheets using a dialog, we don't want to aggregate deleted ones.
-