- 13 Sep, 2019 14 commits
-
-
Vincent Pelletier authored
Volatile attributes may disappear from one statement to the next. Make code reliable by moving it one level up the call stack, removing the need for volatile attributes. _setId and _postCopy get back to their original "copy of OFS.CopySupport" status (see comment at beginning of file).
-
Vincent Pelletier authored
-
Vincent Pelletier authored
This BT contains the same category twice.
-
Vincent Pelletier authored
Bank Account, Currency{, Module}, Currency Exchange {Cell,Line} already exist in erp5_base, which is a dependency of this Business Template at least through erp5_trade. "composition" and "variation" Base Categories exist in erp5_pdm, which is a dependency of this Business Template via erp5_trade. "site" Base Category exists in erp5_base, which is a dependency of this Business Template via erp5_trade.
-
Vincent Pelletier authored
classification is already provided by erp5_dms, which is a dependency of this BT already.
-
Vincent Pelletier authored
requirement is also present in erp5_project. So add a dependency on that BT and remove the duplication.
-
Vincent Pelletier authored
This BT achieved the rare feat of containing the same document twice.
-
Vincent Pelletier authored
region/europe/western_europe is also present in erp5_tiosafe_test, which is already installed in the same unit test. So add a dependency on that BT and remove the duplication.
-
Vincent Pelletier authored
currency_module/euro is also present in erp5_tiosafe_test, which is already installed in the same unit test. So add a dependency on that BT and remove the duplication.
-
Kazuhiko Shiozaki authored
Vincent Pelletier: - Disable timeout by default.
-
Kazuhiko Shiozaki authored
Vincent Pelletier: - Ignore TimerService-originated publication requests. - Add copyright headers. - Disable timeout by default. - Give a meaning to requested negative deadlines. - Docstrings. - Assorted simplifications.
-
Rafael Monnerat authored
The Assigments are only relevant if the User is based on Person Document, on SlapOS, an user come from a Computer or a Software Instance Document. This change makes the document compatible with other kinds of Users, as Assigment is overkill for Non-Person cases, as the presence of ERP5 Login is enough to determinate the User existence. The other alternative would be re-factorize to not duplicate code, which seems not the intention of how this code was written. /cc @jerome, @kazuhiko /reviewed-on nexedi/erp5!458
-
Vincent Pelletier authored
Simpler, and reduces the exposure of exc_info (which can be tricky to use in other contexts).
-
Vincent Pelletier authored
-
- 12 Sep, 2019 5 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
Unlike Medusa, WSGI does not do it.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Both the dummy method_id and the actually-used grouping_method_id.
-
- 11 Sep, 2019 2 commits
-
-
Julien Muchembled authored
Without this commit, it felt back to the timerserver egg.
-
Ivan Tyagov authored
-
- 10 Sep, 2019 4 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Ivan Tyagov authored
-
Jérome Perrin authored
HAL JSON uses JSON, which uses UTF-8, but properties of ERP5 documents does not enforce any specific encoding, so if we happen to have documents with string properties that are not UTF-8 compatible, they could not be queried with HAL JSON (json.dumps was raising UnicodeError) This pre-process field default properties and document title to make sure they can be serialized as json. This assumes that configuration (form definition, actions, ...) will be valid UTF-8, but just does extra effort to make sure "broken" data can be displayed without error. /reviewed-on !928
-
- 09 Sep, 2019 15 commits
-
-
Arnaud Fontaine authored
ZODB Components: 'Migrate Components from Filesystem to ZODB' view: Fix ListBox to display selected ones first. In this context, 'selected' means classes found by introspecting Portal Type Class MRO. This was not sorted properly only for filesystem Products.
-
Arnaud Fontaine authored
ZODB Components: Do not automatically validate when importing from FS as imports have to be adjusted manually.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Besides not being actually needed, checkPythonSourceCode() was called on all temp_objects created for migrate_component_from_filesystem Business Template Action.
-
Romain Courteaud authored
-
Ivan Tyagov authored
/reviewed-on !929
-
Ivan Tyagov authored
['Person: 372 doc/hour; SaleOrder: 132 doc/hour;'] Thus adjust accordingly. Do not mix http and https. /reviewed-on nexedi/erp5!926
-
Ivan Tyagov authored
-
Ivan Tyagov authored
Editing instance parameters will automatically trigger instance update at node and there's no need to stop / start instance.
-
Ivan Tyagov authored
evaluated before timeout and thus causing unexpected AttributeErrors later.
-
Ivan Tyagov authored
password pair generated (in some cases this might happen after frontend generation leading to 403 HTTP error codes in bootstrap code.)
-
Ivan Tyagov authored
-
Ivan Tyagov authored
Cleanup conditional code.
-