- 05 Nov, 2020 1 commit
-
-
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 5 commits
-
-
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.
-
Vincent Pelletier authored
-
Jérome Perrin authored
-
Jérome Perrin authored
- use environment variables to pass SLAPOS_TEST_LOG_DIRECTORY and SLAPOS_TEST_SHARED_PART_LIST, as discussed on nexedi/nxdtest!2 - Fix #20200514-218C705 - [testnode] frontend for log access See merge request nexedi/erp5!1304
-
- 28 Oct, 2020 10 commits
-
-
Jérome Perrin authored
This change to unconditionally create products, to make it more clear that it's OK for test methods to change the products configuration because they are reset at the beginning of each tests (they have always been removed during tear down)
-
Jérome Perrin authored
This is used and should not be disabled. There was an error when clicking this dialog, fix that error instead. See merge request !1301
-
Jérome Perrin authored
In ERP5JS when redirecting we can use `portal_status_level` to control the appearance of the notification. This updates the cases when user action could not be performed to redirect with an error level, so that notification appears in orange, not in green (in ERP5JS - in erp5_xhtml_style this has no effect). accounting, base, trade were updated See merge request !1303
-
Kazuhiko Shiozaki authored
See merge request nexedi/erp5!1302
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
so that installed objects are owned by System Processes and we can have faster ownership checking for proxy role scripts.
-
Vincent Pelletier authored
Portal is the Skinnable object, skin magic belongs there.
-
Vincent Pelletier authored
Also, modernise it a bit.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 27 Oct, 2020 5 commits
-
-
Jérome Perrin authored
testnode use to publish the URL of logs so that Nexedi ERP5 can display link to "view logs". This URL was an IPv6 URL on a certificate which does not validate. Now testnode software release request a shared frontend for these logs and generate a config file with log_frontend_url set. testnode now advertise the URL of log using the log frontend url from config. Also simplify frontend_url key to manage it using the same way.
-
Jérome Perrin authored
SLAPOS_TEST_LOG_DIRECTORY and SLAPOS_TEST_SHARED_PART_LIST have been introduced recently, they are passed to runTestSuite using the usual way of running runTestSuite once with --help to inspect supported arguments and passing the argument only if runTestSuite supports them, but these arguments are not necessarily heavy to compute and are always known (unlike for example firefox path which is only known if seleniumrunner extra software was installed), so simplify all this by passing the parameters are environment variables.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 26 Oct, 2020 2 commits
-
-
Jérome Perrin authored
because title is acquire from id, we want to edit title first for the case where we change ID, otherwise saving would save the old ID as title.
-
Jérome Perrin authored
* don't set "hide rows on no search criterion", this should not display too much and search is broken. * use preference to get number of lines
-
- 22 Oct, 2020 4 commits
-
-
Jérome Perrin authored
This action was working fine the first time displayed, but clicking again on "View Diff" button was causing an IndexError: list index out of range when used on one document. This was because in this case list_selection_name exists in REQUEST, but is an empty string. Instead of checking that this selection name is not None to detect if we are in module mode or in document mode, check that its true-ish to also tolerate an empty string.
-
Jérome Perrin authored
This reverts commit 06a7737f.
-
Jérome Perrin authored
Base_getDialogSectionCategoryItemList was supporting the case of users from zodb_users plugin, but not the case of ERP5 users with roles set from zodb_roles. It's a more and more common case to make manager users using a "normal" ERP5 user as person (so that we can reset password etc) and to give Manager role by zodb_roles, but this was not supported by this script.
-
Jérome Perrin authored
Now that we properly detect 0 tests as errors/UNKNOWN, this test was reported as UNKNOWN state. Run the tests, but as expectedFailure since they have not been updated since b4b5bcf8.
-
- 20 Oct, 2020 2 commits
-
-
Romain Courteaud authored
-
Roque authored
See merge request nexedi/erp5!1259
-
- 19 Oct, 2020 5 commits
-
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
-
Romain Courteaud authored
-