- 21 Jul, 2016 1 commit
-
-
Arnaud Fontaine authored
Functional Tests: Migration to PDF.js in recent Firefox clears preference to save automatically PDF files to the disk.
-
- 20 Jul, 2016 1 commit
-
-
Arnaud Fontaine authored
-
- 07 Jul, 2016 1 commit
-
-
Yusei Tahara authored
-
- 28 Mar, 2016 1 commit
-
-
Yusei Tahara authored
/reviewed-on nexedi/erp5!69 Conflicts: product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.ScriptConstraint.py
-
- 23 Mar, 2016 1 commit
-
-
Arnaud Fontaine authored
Portal Type as Classes: Fix memory leak: Workflow method list was never emptied and thus reset Workflow Methods were never GC.
-
- 04 Mar, 2016 1 commit
-
-
Yusei Tahara authored
A bug fix of erp5_core/Folder_delete See merge request !65 Conflicts: product/ERP5/tests/testERP5Core.py
-
- 02 Mar, 2016 2 commits
-
-
Yusei Tahara authored
Submit action must be disabled while solver is being updated. End user sometimes click too fast that submit action fails due to lack of 'my_tested_property_list'. Conflicts: bt5/erp5_simulation_fast_input/SkinTemplateItem/portal_skins/erp5_simulation_fast_input/gadget_solve_divergence_dialog.js.xml
-
Yusei Tahara authored
-
- 01 Feb, 2016 2 commits
-
-
Arnaud Fontaine authored
Selection.__call__() calls getParams() and as getParams() can be called directly from many places (such as SelectionTool.getSelectionParamsFor()), it makes more sense to have it here.
-
Yusei Tahara authored
This reverts commit b78933f1.
-
- 28 Jan, 2016 1 commit
-
-
Arnaud Fontaine authored
1. On Tab1, from PurchaseSupply_view, click on 'Purchase Supply Lines': Base_viewListMode??proxy_form_id=PurchaseSupply_view&proxy_field_id=listbox This Python Script initialise 'list_mode_proxy_selection' with the above 2 GET parameters and then displays PurchaseSupply_view.listbox indirectly but current Form is Base_viewListModeRenderer. 2. On Tab2, from SaleSupply_view, click on 'Sale Supply Lines': Base_viewListMode?proxy_form_id=SaleSupply_view&proxy_field_id=listbox This Python Script initialise 'list_mode_proxy_selection' with the above 2 GET parameters and then displays SaleSupply_view.listbox indirectly but current Form is Base_viewListModeRenderer. 3. On Tab1, filter Purchase Supply Lines. As proxy_form_id and proxy_field_id are not given, then Base_viewListModeRender fallbacks on 'list_mode_proxy_selection' values to find out the Form ID to be called and wrongly display SaleSupply_view.listbox (2.).
-
- 19 Jan, 2016 1 commit
-
-
Arnaud Fontaine authored
-
- 15 Dec, 2015 1 commit
-
-
Arnaud Fontaine authored
Rather than the acquired Property.
-
- 14 Dec, 2015 2 commits
-
-
Arnaud Fontaine authored
Instead, define default values if not set (same as previously hardcoded ones) and get the value(s) define on the Tester instead as we may want to check only variation_category_list and not variation_property_dict for example... Followup of: "simulation: improve equivalence testers explanations messages".
-
Arnaud Fontaine authored
Followup of: "simulation: improve equivalence testers explanations messages".
-
- 08 Dec, 2015 1 commit
-
-
Arnaud Fontaine authored
erp5_simulation: Display Divergence dialog even if there is nothing to solve (same as legacy Simulation Dialog). This fixes the following Site Error when there is no Divergence to solve: AttributeError: 'NoneType' object has no attribute 'SolverProcess_getSolverDecisionList' This may happen if user selects 'Solve Divergence' Action and solve Divergences, then immediately goes back and selects again this action whereas there is actually no Divergence to solve.
-
- 07 Dec, 2015 1 commit
-
-
Arnaud Fontaine authored
Selection.__call__() calls getParams() and as getParams() can be called directly from many places (such as SelectionTool.getSelectionParamsFor()), it makes more sense to have it here.
-
- 02 Dec, 2015 2 commits
-
-
Arnaud Fontaine authored
This reverts commit 5fac6732: When the Divergence is solved and user goes back to the main view, the button is visible but when user clicks ont it and if Activities have been processed in the meantime, this will raise an AttributeError because newSolverProcess returns None and there is nothing to display. This happens even when adding Delivery_isDivergent() as a guard because it still returns True if Activities are running in background.
-
Arnaud Fontaine authored
count_method was removed from Base_viewFieldLibrary/my_view_mode_module_listbox used by Resource Module ListBox (76282344) for performance issues when countFolder is called with a Module containing > ~50k documents but this should not be relevant for Resource Modules.
-
- 25 Nov, 2015 4 commits
-
-
Arnaud Fontaine authored
Followup of: "simulation: improve equivalence testers explanations messages".
-
Arnaud Fontaine authored
simulation: MultiPropertyEquivalenceTester was missing from Variation Divergence Tester Portal Type. Followup of: "simulation: improve equivalence testers explanations messages".
-
Arnaud Fontaine authored
With Legacy Simulation, when Adopting Prevision, the Builder was called again and the value was set either at Delivery, Line or Cell level according to the Movement Group definition. Implement the same kind of behavior for New Simulation.
-
Arnaud Fontaine authored
With ZODB Components, getBusinessTemplateList() only returns the test bt5 (as given on the command line, such as BT_TITLE:testFoo) and later it resolves dependencies. So filtering bt5 to be updated should be done as late as possible...
-
- 19 Nov, 2015 4 commits
-
-
Arnaud Fontaine authored
Followup of: "simulation: improve equivalence testers explanations messages".
-
Arnaud Fontaine authored
Followup of: "simulation: improve equivalence testers explanations messages".
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
Followup of: "simulation: improve equivalence testers explanations messages".
-
- 18 Nov, 2015 6 commits
-
-
Arnaud Fontaine authored
Followup of: "simulation: improve equivalence testers explanations messages".
-
Arnaud Fontaine authored
This makes more sense as all Tester inherits from EquivalenceTesterMixin, even project-specific EquivalenceTester classes. Followup of: "simulation: improve equivalence testers explanations messages".
-
Arnaud Fontaine authored
* 2a188797: "simulation: improve equivalence testers explanations messages" * df04eb69: "Implement delivery.getQuantity() == 0."
-
Sebastien Robin authored
Default values for tested_property and tested_property_title must not be of type tuple any more since theses properties are no longer multi valued
-
Sebastien Robin authored
With latest simulation, the explanation given to user when solving a divergence was not good enough : - Property ids were displayed without possibility to display business word (like displaying 'stop_date' instead of 'Delivery Date' - Some message was displayed in the solve divergence dialog whatever was the equivalence tester behind. Therefore, customizations of messages made a equivalence tester level were not displayed to user Therefore, following was done: - in solve divergence dialog, include the message generated by the equivalence tester - use tested_property_title to allow using business words to describe properties having divergence - most equivalence testers are written in a way to evaluate divergence on a single property. To have better UI configuration of such equivalence testers, change tested_property and tested_property_title properties type from "lines" to "string". This required to add some backward compatible code. - use Variation Divergence Tester to show a case of an equivalence tester using different properties. For this, add a property sheet dedicated to multi properties equivalence testers - update propertysheets to allow translating tested_property_title Conflicts: product/ERP5/Document/DateTimeEquivalenceTester.py
-
Arnaud Fontaine authored
-
- 17 Nov, 2015 2 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
- 16 Nov, 2015 2 commits
-
-
Sebastien Robin authored
Improve default dialog by avoiding doing "update" action to see solver parameters. Instead, use javascript to automatically fill the "parameter" column when a solver is selected. Since there is not yet good solution to have this in both legacy user interface and new interface, use a separated business template instead of just changing the original dialog. Use a lot proxification to avoid duplicatation of configuration.
-
Arnaud Fontaine authored
-
- 10 Nov, 2015 3 commits
-
-
Arnaud Fontaine authored
Followup of 4b664ba: When comparing Trade Model Rule input_movement from AmountGenerator and decision which is a Simulation Movement. This fixes test_13_AddAllowanceForOutsourcingOrder.
-
Arnaud Fontaine authored
getTradePhaseMovementList() returns temporary SM with appropriate arrow and dates but these temporary SM have their corresponding Trade Model Path as a parent which means that Simulation Movement API is partially unuseable (such as getting parent Applied Rule...). Moreover, it seems strange for a Simulation Movement to not be a child of an Applied Rule. Therefore, create the temporary SM as a child of its corresponding AR.
-
Arnaud Fontaine authored
When RSPL/RPPL Invoice Lines are on the same SIT TML as its corresponding SO/PO IL movements, the sum may be 0 and there is nothing wrong about it. This was implemented in Legacy Simulation.
-