- 17 Sep, 2019 24 commits
-
-
Julien Muchembled authored
We do not chunk at this level. Neither our code nor requests encodes the body this way and waitress (WSGI) considers the request is corrupted. It worked so far because Medusa ignores this header field.
-
Kazuhiko Shiozaki authored
-
Ivan Tyagov authored
Set int_index at Test Result creation time as it is really needed for showing graph, test order execution in case of Scalability Tests and use int_index in scripts.
-
Ivan Tyagov authored
Test Result Line do not have properly set int_index, instead title have been used in past. Until properly set (int_index) use current way for sorting. This is especially important for Scalability Tests's graphics.
-
Nicolas Wavrant authored
This MR introduces a second way of calculating the base price of a resource using "Base Price Quantity Step". Currently, for a resource, we could define on a Supply Line "Quantity Steps", and set a price for each of these steps. Then, depending on the quantity of the resource, the price of the unique matching step would apply. For exemple : | Quantity Step Range | Price for the step| |------------|---------| | 0 -> 10 | 10€ | | 11 -> 20 | 9€ | | 21 -> inf | 8€ | With the current method, for an Order of 15 products, the 2 range "11 -> 20" would apply, the unit price for the products would be 9€, and the total price would be 15*9 = 135€. The new method of calculating would apply the _Price for the step_ __to, and only to, all items of this step__. Which means, for an order of 15 products, the 10 first products would have a unit price of 10€, and the 5 next products would have a unit price of 9€, which makes in the end a total price of 145€, and a base price of 9.66€. /reviewed-on nexedi/erp5!896
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
and add necessary values for calculating price per slice
-
Nicolas Wavrant authored
To be sure that Cells are updated correctly when the pricing method is chosen
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
Also remove explanation_only which is dead code
-
Vincent Pelletier authored
-
Vincent Pelletier authored
This reverts commit 68d0c366. There are other codepaths which call _postCopy without going through __duplicate. For example: manage_renameObject (called on parent by setId).
-
Vincent Pelletier authored
-
- 16 Sep, 2019 9 commits
-
-
Valentin Benozillo authored
@nexedi This will add a form setting field 'action title', in order to setup the text content of the form action button. So far the action button text content is the title of the form which can be inconvenient some times. If 'action title' is not set-up it fallback to the form title. ![Screenshot_2019-09-04_at_18.50.04](/uploads/e3b49369f347c64a14fa0218c5923c9f/Screenshot_2019-09-04_at_18.50.04.png) /reviewed-on !925
-
Julien Muchembled authored
-
Valentin Benozillo authored
In testFormDialogActionTitle, check if it's well fallback to form title
-
Valentin Benozillo authored
-
Valentin Benozillo authored
-
Valentin Benozillo authored
-
Valentin Benozillo authored
-
Romain Courteaud authored
See nexedi/erp5@28774376
-
Vincent Pelletier authored
-
- 13 Sep, 2019 7 commits
-
-
Julien Muchembled authored
By importing the new TimerService unconditionally, the commit 34c81caf (Timeout: introduce publisher_timeout configuration) broke automatic site creation & publisher timeout when the zope config specifies the old timerserver.
-
Julien Muchembled authored
-
Julien Muchembled authored
It makes to no sense to synchronize with the clock if there's nothing after to remain synchronized.
-
Romain Courteaud authored
-
Romain Courteaud authored
[erp5_ingestion] Do not use absolute URL parameter This is not compatible with ERP5JS
-
Romain Courteaud authored
-
Kazuhiko Shiozaki authored
-