- 04 Dec, 2017 2 commits
-
-
Jérome Perrin authored
getObject is not public API. Bonus is we can do one query for all uids
-
Jérome Perrin authored
Since it's allowed for multiple sections from same group to post transactions on the bank account from the parent sections, the bank reconciliation should use the same logic to be able to reconcile transactions from any section.
-
- 01 Nov, 2017 8 commits
-
-
Jérome Perrin authored
backport nexedi/erp5/merge_requests/469 to fix [Tracking issue for a specific user](https://www.erp5.com/project_section/capago-project/forum/Tracking-issue-for-a-specific-user-NfPPKu12hc) /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/3
-
Jérome Perrin authored
If we leave sort_column empty, catalog/listbox will incorrectly guess the sortable columns. There is a related key for source_title that does not work here (because this method selects movements, and movements categories are not indexed, so lines which acquire source from their parent are filtered out)
-
Jérome Perrin authored
Conflicts: product/ERP5/tests/testItem.py
-
Jérome Perrin authored
Some listboxs using it were using default_sort to inject this automatically, but it's better to do this directly in the script, this way the script can be reused. I'm not really convinced the script should honor sort_on parameter received in kw, because misconfigured listbox can inject some parameters that would cause more table to be joined.
-
Jérome Perrin authored
this is still unfinished work
-
Jérome Perrin authored
no need to do catalog here
-
Jérome Perrin authored
this way callers does not have to lookup explanation by catalog themselves
-
Jérome Perrin authored
This uses caching (which will probably never be hit here), prevent problems if delivery_uid is null (which should not happen) but it's consistent with other brain methods.
-
- 26 Oct, 2017 1 commit
-
-
Jérome Perrin authored
temp changes in ERP5, backporting changes for https://lab.nexedi.com/nexedi/capago/merge_requests/235 /reviewed-on https://lab.nexedi.com/nexedi/erp5-capago/merge_requests/1
-
- 24 Oct, 2017 15 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
* explain how to use * remove useless getTitle method * fix indentation
-
Jérome Perrin authored
merge rebased commits of nexedi/erp5/merge_requests/321 with: `git cherry-pick nexedi/mr/321...47eba793~1`
-
Jérome Perrin authored
Changes: * indentation and whitespaces between function and (. ( tips: use ignore whitespace for review) * usage of `new`. Some RSVP.Promise where not using `new`, some RSVP.all had an extra `new` * fix a "weird condition", javascript does not evaluate (a <= b <= c) same as python * change `var` declarations one per line, to be compatible with upcoming jslint version. Use a vars: true directive so that jslint 2014-04-21 is also happy ( see https://stackoverflow.com/questions/34862541/expected-and-instead-saw-jslint-multivar-setting ) * in function definitions: rename unused arguments as `ignore` or remove them when possible ( when they were last ) * use named functions ( for exemple fillDialog ), otherwise jslint complain they are not in scope.
-
Jérome Perrin authored
Otherwise, the event handler is set multiple times on the same #qunit-fixture element
-
Jérome Perrin authored
-
Jérome Perrin authored
It causes {msg: "jsPlumb: unknown connector type 'StateMachine'"} problem when jquery was already loaded
-
Jérome Perrin authored
because it adds an action to edit business processes
-
Jérome Perrin authored
This is to comply with [jsl](https://lab.nexedi.com/nexedi/slapos/blob/ce15c54/component/jsl/buildout.cfg) used in testXHTML
-
Jérome Perrin authored
External dependencies are there
-
Jérome Perrin authored
Run existing qunit test in zelenium framework, to easily integrate it in current test suite.
-
Jérome Perrin authored
-
Jérome Perrin authored
* a graph which nodes have an empty coordinate Object should be auto layout * our approach cannot layout a graph without edges
-
Jérome Perrin authored
RSVP.Monitor no longer exist. Use the gadget's own monitor instead (not sure it is safe)
-
- 17 Oct, 2017 9 commits
-
-
Jérome Perrin authored
Not used in this test, but since it's made to be reusable in projects.
-
Jérome Perrin authored
-
Jérome Perrin authored
do not limit to the first script with errors
-
Jérome Perrin authored
It produces almost same visual result
-
Jérome Perrin authored
they may contain folder containing skins
-
Jérome Perrin authored
Don't test a skin folder twice when business template is present more than once
-
Jérome Perrin authored
-
Jérome Perrin authored
This replaces ERP5Site_checkPythonScriptsWithPyflakes that I guess nobody was using
-
Jérome Perrin authored
This reverts commit 91bb6bec. use pylint, at least here
-
- 10 Oct, 2017 2 commits
-
-
Jérome Perrin authored
Name is unchanged, but it will use Products.ERP5Type.Utils.checkPythonSourceCode which uses pylint.
-
Jérome Perrin authored
-
- 15 Sep, 2017 1 commit
-
-
Jérome Perrin authored
.. except from Draft and Submitted state. Document security should be based on group, site, function defined on document, sometimes publication section and or follow up, but the owner should only be considered in draft state. For conveniance (and compatibility), Owner is also allowed to view in Submitted state. The use case is for when a user submit a document he will not be allowed to see, for example because he made a mistake when choosing properties, user is still allowed to view the document and there's no unauthorized error. We want to allow a user to set properties before publishing a document and later, once the document is no longer draft, the security of the document will be depending on these properties. We want to prevent users to get permissions on a PDF document that would be created by interactions and they are not supposed to see. For exemple when we generate a PDF invoice and store it in document module. In this case, as the interaction runs as the user, this user will have Owner role implicitely. (cherry picked from commit 1664e541)
-
- 14 Sep, 2017 1 commit
-
-
Jérome Perrin authored
This action should only be possible if user have View History permission. erp5_data_protection relies on removing the "View History" permission to make sure users cannot see the properties before protection in the history tab. This was supported by Base_viewHistory, but not by ZODB History (cherry picked from commit d2c08463)
-
- 12 Sep, 2017 1 commit
-
-
Jérome Perrin authored
This way, guarded_getattr is used and accessor permission is applied.
-