- 27 Jul, 2017 31 commits
-
-
Łukasz Nowak authored
Note: Generic code shall have no constraints at all. Conflicts: bt5/erp5_accounting/bt/revision
-
Łukasz Nowak authored
It will protect against storing truncated data.
-
Alain Takoudjou authored
If 2 lines have the same effective date (catalog has a 1 second precision), always return the validate and open first. Commit: 02d06501 Changes applied from history: http://git.erp5.org/gitweb/erp5.git/history/refs/heads/interaction-drop:/product/ERP5/Document/SubscriptionItem.py?js=1
-
Rafael Monnerat authored
Original commit from : Lukasz Nowak <luke@nexedi.com> 3e45ec35
-
Alain Takoudjou authored
From Lukasz Nowak: 1- Compensation is undesired. (51c8a250) Raise loudly with message. 2- Disallow any compensation. (3c74ed07) 3- Emit more informative log. (534b2e77)
-
Łukasz Nowak authored
Also minimise activity hurricane by calling expand directly. Open Orders are searched using indexation timestamp, which allows to see them in "windows", and does not repeat expand if not needed. Generate activities and allow to pass the tag. Use search and activate everywhere which will allow to walk through objects without killing the cluster even in case of really big documents. Avoid calling isDivergent which can take few minutes to finish. causality_state comes from well designed causality workflow, which informs enough about delivery state. Fetching causality_state property is extremely fast.
-
Rafael Monnerat authored
Notes: Do nothing on 'calculate' instead of disabling *_causality_interaction_workflow as these interaction workflows do not generate activities directly, and do work that can't be postponed. By contrast, 'calculate' transition of delivery_causality_workflow is modified so that no 'updateCausalityState' activity is created by default. This commit also update list of method_id which should not call calculate_causality
-
Romain Courteaud authored
Conflicts: bt5/erp5_crm/bt/revision
-
Romain Courteaud authored
- Acquire subordination from parent Computer: Thanks to this Computer Partitions can be in same category as Computers they are contained in. - Computer should acquire region from parent. - Add group acquisition on Computer Partition
-
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
-
- 26 Jul, 2017 9 commits
-
-
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.
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Cédric Le Ninivin authored
-