- 20 Sep, 2016 1 commit
-
-
Sebastien Robin authored
- use mixin class to allow reusing common performance functions - remove usage of quiet and run_all_test
-
- 19 Sep, 2016 1 commit
-
-
Kazuhiko Shiozaki authored
so that we keep the query string in the redirect url if exists.
-
- 16 Sep, 2016 1 commit
-
-
Sebastien Robin authored
-
- 15 Sep, 2016 3 commits
-
-
Sebastien Robin authored
-
Sebastien Robin authored
Instead of only having possibility to check when inventory will be below a reference_quantity, allow to check when it will be higher.
-
Sebastien Robin authored
This code is useful to run any unit test in a live instance. Until all products tests (like ERP5/tests/*) are moved as components, this code is useful. This reverts commit 9240d498.
-
- 14 Sep, 2016 1 commit
-
-
Kazuhiko Shiozaki authored
also stop casting select_language to str.
-
- 02 Sep, 2016 2 commits
-
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
because objects will be lost. At same time, simplify code a bit : - Just use _migration_in_progress attribute directly instead of a variable. - Set a default value on class, so that we do not have to getattr. - Do not use aq_base, this is useless for attributes starting with _
-
- 31 Aug, 2016 4 commits
-
-
Sebastien Robin authored
With previous algorithm, work was given to additional test nodes only when: - we were previously below the needed capacity - when another test node was dying Now, as soon as a new test node is added, we move work of overloaded test nodes to idle test nodes. We try to move only test suite using many test nodes to avoid having to wait for building time. This allows to have better distribution of the work with the idea to have more quickly test results. This will avoid cases where we have several testnodes assigned to no work at all. Finally, fixed distribution algorithm to avoid some unfair cases where a test suite might have more test node than another while they both ask for the same number of test nodes.
-
Kazuhiko Shiozaki authored
replace method_name:method parameter instead of replacing form action, otherwise method_name like listbox_setPage does not work.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 29 Aug, 2016 1 commit
-
-
Romain Courteaud authored
unescape_chr is executed with such string: "C:\Program Files\1234.jpg". Prevent failing, and return original string in such case.
-
- 24 Aug, 2016 2 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
Previous behavior was to generate reference this way : `sanitized title` if reference was not already existing else `random "-" sanitized title`. Now it generates `sanitized title "-" random` with: - `random` at the end to maximize search engine optimization; - `random` every time present to prevent creating document with the same reference by mistake. + update tests
-
- 23 Aug, 2016 3 commits
-
-
Jérome Perrin authored
We now use URL only, old address + port way is obsolete.
-
Jérome Perrin authored
host and port configuration is obsoleted by URL configuration
-
Jérome Perrin authored
Build a conversion_server_url from conversion_server_(hostname/port), so that we can already stop using the old parameters
-
- 22 Aug, 2016 5 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
- 19 Aug, 2016 1 commit
-
-
Yusei Tahara authored
-
- 18 Aug, 2016 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 11 Aug, 2016 1 commit
-
-
Rafael Monnerat authored
Performance tests were reconfigured on a new hardware, which is slower them the previous one. So this commit move the values to the new hardware based on the results after few days of result.
-
- 10 Aug, 2016 2 commits
-
-
Sebastien Robin authored
This is very helpful when a warehouse is splitted into multiple stock points. Also avoid returning no stock optimisations if no date could be found in future.
-
Sebastien Robin authored
If for some reasons loadClass was not working, it was failing totally silently without any log. If there is any unexpected error in loadClass, this ended up for example having some tests failing with : RuntimeError: Malformed property definition <persistent broken erp5.portal_type.Acquired Property instance '\x00\x00\x00\x00\x00\x00\x12\xb5'> on /erp5/portal_property_sheets/SimpleItem While only this was displayed in logs : ERP5Type/dynamic/lazy_class.py", line 350, in loadClass class_definition = generatePortalTypeClass(site, portal_type) ... AttributeError: __of__ Which was totally unrelated to the real problem. So a silent initial error was the source of later unrelated errors, making it very difficult to find the initial source of problem. So make sure we have logs as soon as we are not able to load a class.
-
- 09 Aug, 2016 2 commits
-
-
Nicolas Wavrant authored
erp5_payroll_l10n_fr: adds new Types of Documents used to produce a French Social Declaration Report called DSN (Declaration Sociale Nominative)
-
Nicolas Wavrant authored
-
- 04 Aug, 2016 2 commits
-
-
Sebastien Robin authored
-
Sebastien Robin authored
The item of produced resources must not be reused on consumed resources
-
- 02 Aug, 2016 3 commits
-
-
Ayush Tiwari authored
This change solves the error which one gets while trying to access properties Form for an ERP5 object having one or more of its property of type 'selection' or 'multiple selection'. For example: If you try to access property form for any portal_type objects, you'll get an error : "'select_variable' is not defined". This is because of the absence of the property 'select_variable' for the property of type multiple selection, which in case of portal_type object is 'Property Sheet List'. This is helpful for ERP5 views/forms which displays selection or multiple selection type object.
-
Ayush Tiwari authored
-
Ayush Tiwari authored
ERP5 Subcategory: Remove '_'(underscore) from 'multiple_selection' subcategory in elmentary_type category. Subcategory 'multiple_selection' has been renamed to 'multiple selection' to maintain consistency. Earlier, whenever a new StandardCategory object was created with property_type 'multiple selection', one needed to change the elementary type explicilty to use it to generate property setters and getters. The example for this can be seen from this commit: nexedi/erp5@fd738753 After this change, in the view, property type field couldn't recognize the property and displays (???multiple selection). Also, everywhere in erp5, list_types do mention 'multiple selction' and not 'multiple_selection'. So, its better to maintain consistency in naming the subcategory.
-
- 27 Jul, 2016 1 commit
-
-
Arnaud Fontaine authored
Instead of inspecting the content of mixin modules, which relies on already imported module, use the same approach as Document (updateGlobals()), eg using FS path so that even modules not already beforehand are not ignored.
-
- 25 Jul, 2016 1 commit
-
-
Arnaud Fontaine authored
When a Property Sheet with a ScriptConstraint (whose Document is a ZODB Component) was added to Memcached Tool: Document Component was partially loaded with no Property Sheet yet (and thus without the accessors needed to import ScriptConstraint ZODB Component) and ScriptConstraint Document was considered not available.
-
- 15 Jul, 2016 2 commits
-
-
Julien Muchembled authored
It was an unefficient adaptation of BTreeFolder2 code. These methods have probably never been used.
-
Julien Muchembled authored
-