- 16 Jul, 2020 3 commits
-
-
Jérome Perrin authored
- add an empty item to the list, so that user have to choose something. The empty item was missing here: ![image](/uploads/5be3e9d5acf1233270516c7463dbfdd4/image.png) If there's an empty item and we force user to choose, there will not be the problem that user can forget to select the good value and mistakenly generates for the Fifo because it's the first value. - translate values See merge request nexedi/erp5!1204
-
Jérome Perrin authored
A few small fixes to form and page templates to allow their translations Missing messages in french translation See merge request !1201
-
Jérome Perrin authored
See merge request !1198
-
- 15 Jul, 2020 5 commits
-
-
Rafael Monnerat authored
See merge request !1197
-
Xiaowu Zhang authored
See merge request nexedi/erp5!1196
-
Arnaud Fontaine authored
Also, as OAuthTool class is only used as a Folder ({Google,Facebook}Connector) remove {unused,unmaintained,unfinished} code: * Properties are statically set on portal_oauth directly with non-persistent classes define in OAuthTool.py. This prevents migration to ZODB Components as migrating OAuthTool.py to erp5_oauth would break upgrade: chicken & egg issue: we need these classes on importFile(portal_oauth.xml) (portal_templates.download()) but they are not available until the bt5 is installed.... * Several properties are supposed to be secret but statically set in OAuthTool.py. * This code has never been used since its introduction 9 years ago.
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
- 13 Jul, 2020 7 commits
-
-
Rafael Monnerat authored
-
Jérome Perrin authored
- add an empty item to the list, so that user have to choose something - translate values
-
Arnaud Fontaine authored
-
Jérome Perrin authored
This tab was probably useless, let's remove it.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
When using SavedTestSuite, the first step is to make testnode run --save for each instance, by running the test referenced in _saved_test_id class attributes. Because log files are defined only by the test name, this was causing the multiple concurrent runUnitTest executions with --save to all log in the same file. That file was also reused when actually running this test later. Override getLogDirectoryPath to use a different folder, one per instance, when doing the initial --save
-
- 10 Jul, 2020 2 commits
-
-
Jérome Perrin authored
These are simple report/exports, they work fine with ERP5JS
-
Jérome Perrin authored
-
- 09 Jul, 2020 4 commits
-
-
Jérome Perrin authored
Since a long time python unittest provides good assertions and we don't need to build out own.
-
Jérome Perrin authored
If a Credential Request/Recovery can not be accepted, the alarm should not retry again and again. We use an hasActivity test before trying to accept to prevent causing multiple failing activities, if it already failed once, no need to retry more, CMFActivity built-in retry mechanism is enough.
-
Jérome Perrin authored
- Use ³ instead of the HTML entity form, ERP5JS does not allow HTML in field names - Make Component_view uses Base_viewPDMFieldLibrary, like Product_view - Add the proper description of this in field library - Resource_viewFieldLibrary/my_base_volume is kept, for compatibility (not sure it's needed) - Adjust ERP5Site_checkNamingConventions to allow m³, not m&179; - Update all translations
-
Jérome Perrin authored
We sometimes used "Invalid search criteria", sometimes "Invalid Search Criteria". Unify to use "Invalid Search Criteria" everywhere
-
- 07 Jul, 2020 5 commits
-
-
Rafael Monnerat authored
See merge request nexedi/erp5!1177
-
Rafael Monnerat authored
See merge request nexedi/erp5!1182
-
Rafael Monnerat authored
The separation aims to reduce the dependency required to use the macros, where: * erp5_web_renderjs_ui_test contains the tests and the dependencies to run the tests * erp5_web_renderjs_ui_test_core contains the reusable macros, that can be used on other projects to write their own tests.
-
Romain Courteaud authored
This is a first prototype showing how a site rendering can be modified on the style with a renderJS gadget (to remove, add, modify current page elements). The navigation is automatically handle by the javascript (with the pushState API), which really speed up the navigation on powerless machine (like Pinebook Pro).
-
Arnaud Fontaine authored
Until now, a reset was performed even though ZODB Components were not created or replaced. Introduce a new installation hook to avoid those useless resets. When installing bootstrap bt5s, erp5_base, erp5_simulation: 33 => 12 resets.
-
- 06 Jul, 2020 8 commits
-
-
Romain Courteaud authored
Improve consistency with document view
-
Romain Courteaud authored
-
Arnaud Fontaine authored
-
Jérome Perrin authored
The changes from nexedi/erp5!1158 were not so good in ERP5JS, it was good to have the action here: ![stock browser dialog showing Stock as a view action](/uploads/0e9495858295016926da484b6c5fa68f/image.png) and not under "Exports", because this is not an export, it's an interactive report. Also, the "Stock" button is not easy to understand, this is not an action, so we use only an update button now: ![stock browser dialog with only an update action, no action](/uploads/71f40b3e2e951f3c95f7ff885dd91090/image.png) Also, the action button in movement history was confusing, it's not a button where user have to click. It was like this, with a confusing button (but this button was sometimes useful, because with this button we can go back to stock browser): ![movement history before](/uploads/75450d7fbfe1f208ca17e14b22059b38/image.png) Now it's like this, the button is not here, but since the action is now listed in Views, it's easy to go back to stock browser: ![movement history after](/uploads/d66d28f1fc66b69b84baba6d88574afc/image.png) See merge request nexedi/erp5!1179
-
Jérome Perrin authored
Since 5eb06085 (erp5_web_renderjs_ui: do not display submit and cancel if action is empty in form_dialog., 2020-06-10) ERP5JS does not display submit button, this continues in this direction to: - Apply the same possibility in xhtml_style to not show a submit button when there's no action. In xhtml_style we show the cancel button using the same rules as everywhere else. - Fix error in ERP5JS for dialogs with only an update action but no action. See merge request !1181
-
Jérome Perrin authored
Change login button to comply with Google's branding guidelines. Add support for google login in ERP5JS. See merge request nexedi/erp5!1166
-
Jérome Perrin authored
See merge request nexedi/erp5!1171
-
Jérome Perrin authored
There's nothing wrong in having more than one listbox in a dialog
-
- 03 Jul, 2020 6 commits
-
-
Jérome Perrin authored
The initial intention was to "disallow invalidated", without forcing users to validate everything, but it was probably a mistake, if users don't need to validate then validation workflow would be a bit meaningless. This is made after an incident where a user mistakenly cloned a validated currency and the cloned currency was available everywhere in the system. Change to not return draft currencies by default and also change so that all items are tuple, for consistency. That should have no impact and is a bit easier for the test. Also adjust accounting_ui_test, we need to validate currencies for the tests and clear cache if we validated some (but we don't need to clear cache if we validate accounts, because account caches is more clever and does not need to clear all cache)
-
Jérome Perrin authored
-
Jérome Perrin authored
also, we don't send passwords by email
-
Jérome Perrin authored
Since the workflow is linear, make sure the states and transitions are sorted in the listboxs in same order as workflow, this makes re-configuring the workflow a bit easier.
-
Jérome Perrin authored
The views for States and Transitions have an `int_index` field, but the property sheet was missing.
-
Jérome Perrin authored
The term is "Region", not "Country"
-