- 05 Nov, 2020 30 commits
-
-
Rafael Monnerat authored
This is required for multiple sites support and allow us write unit tests and not create a 100 lines mock.
-
Rafael Monnerat authored
This allow the administrator define which Login portal types are searched.
-
Rafael Monnerat authored
Also extend tests to cover recently changes
-
Rafael Monnerat authored
This is an alternetive way to login using Certificates. Probably this format will evolve into use caucase; however this only introduce some most basic features. Use Certificate Login for store login definitions
-
Rafael Monnerat authored
Please squash me in future.
-
Rafael Monnerat authored
This optimisation aims reduce the potential activity leak when over launching accross multiple activities/transactions the updateSimulation. SubscriptionItem: Add a method to call updateSimulation from sqldict activities updateExpandableRootSimulation allow launch activities in a safer matter and have lower calls.
-
Rafael Monnerat authored
If the user wants actitivites, it should create multiples StandardBT5ConfiguratorItems, This should accellerate Tests based on ERP5Configurator. This should be recoded, but it should speed up bootstrap of a site, as get modified objects are not called.
-
Rafael Monnerat authored
It the user don't have fully permission on the object (already changed state), this set will fail to check if source should be defined.
-
Rafael Monnerat authored
Ignore list is usefull when you have old business templates in production (used to include data for example) and test business templates on test environment (ie;: erp5_test_ui_core). This allow us control the dump to assert changes easily.
-
Rafael Monnerat authored
1 minute is too agressive for general use.
-
Alain Takoudjou authored
The upgrade ordering seems buggy and requires to force reinstall it
-
Rafael Monnerat authored
This allow during a subscription process, create a user and them create all documents using that user w/o rely on proxy roles (keeping good ownership across the documents).
-
Rafael Monnerat authored
Without this (on slapos master ui) the redirection places value unquoted causing parser to fail later on when resolve {n.me}
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
The user can be present from diferent logins, password tool only works with ERP5LoginUserMager users.
-
Alain Takoudjou authored
-
Alain Takoudjou authored
Mixed commit: 43b1ae1b 2f05fe1b
-
Łukasz Nowak authored
Returning true allows to add movements to existing one, and this group shall always separate them.
-
Rafael Monnerat authored
-
Romain Courteaud authored
-
Łukasz Nowak authored
Note: Generic code shall have no constraints at all. Conflicts: bt5/erp5_accounting/bt/revision
-
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. (51c8a250ac762ede69e16cbf3afc35e70b08b3bb) Raise loudly with message. 2- Disallow any compensation. (3c74ed07bf2fff784a7fad48344fe13a5abd906f) 3- Emit more informative log. (534b2e77ade40bb036c4c041401fabcdad72f5af)
-
Ł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
-
Jérome Perrin authored
Implement related keys for translated relations (like `source__translated__title`) and change content translation to index categories, by also indexing types whose translation is set in Localizer. See merge request nexedi/erp5!1292
-
Jérome Perrin authored
Extend stock report dialog to allow choosing a (simple) valuation method ![stock report dialog screenshot](/uploads/2e0fa7c420954c3f84260605b3a6930e/image.png) which be displayed in a new column, showing the inventory value for each line See merge request !1203
-
- 04 Nov, 2020 6 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Changing the language and browsing to another web section require to fully refresh the page.
-
- 29 Oct, 2020 4 commits
-
-
Jérome Perrin authored
Now that we are able to search using content translation, we also want to extend this so that columns like "group__title" can be searchable in listboxs, but categories are usually translated with `erp5_content`, which was not indexed in content_translation table. Extend content translation indexing to also support translations coming from Localizer catalog make this possible. The only limitation I could think of is that categories will need to be reindexed when the messages are modified in catalog.
-
Jérome Perrin authored
Translated properties are indexed in content translation table, so nothing prevent us from using them in related keys. Since in many places we show to user translated titles in relations, it makes sense to also support searching and sorting in catalog. This extends related keys syntax only for the newest syntax, so related keys like `source__translated__title=X` would allow searching for document who have a source relation to a document with title X. Since any properties can be translated, if for example a property `foo` would exist and be translatable, it would be possible to search using `source__translated__foo=X` This is only available when content_translation business template is installed.
-
Nicolas Wavrant authored
The default value of the field was calling Base_getEditorFieldPreferredTextEditor and returned the preferred text editor, because this script assumes the content type to be text/html by default
-
Vincent Pelletier authored
Ever since the introduction of X-Balancer-Current-Server in SlapOS haproxy configuration in: commit c7f104fbf1f5948928f5545286afbb94fc39102b Author: Cédric Le Ninivin <cedric.leninivin@tiolive.com> Date: Tue May 26 13:27:33 2015 +0200 erp5_cluster: leave ERP5 set the haproxy cookie the balancer will overwrite this cookie's value, so do not compare it to our name: balancer may be calling us a name completely unrelated to the value getCurrentNode returns. So simplify this function's logic to only do what the docstring says: decide when to set and when to unset the balancer cookie, and let the balancer decide the value. This resolves cases where Zope would set the cookie over and over on every request when getCurrentNode and balancer disagree on its value.
-