At the creation the order may already have the total price modified by refund
etc.
Closes#14234
(grafted from 1f2cf9e448a166ef67864916031b703ffbf8befa)
--HG--
branch : 7.0
Changing the configuration value is not enough as its value is cached in the
global variable.
Closes#14248
(grafted from 2967a503290b9b6d724a1da46b80523e75536179)
--HG--
branch : 7.0
We need a different color for each data instead of each y field.
Closes#14221
(grafted from b2342474d157c0986255a1f71afef93fb142bf09)
--HG--
branch : 7.0
If nothing has been shipped, the shipment state is "None" but the sale state is
"Done".
Closes#14208
(grafted from 05119ff90b8b390718f2bf1390a7307bd0a8dcfc)
--HG--
branch : 7.0
20cdba7a1bf3 removed the limit but it is still needed to extract the single
record.
Closes#14238
(grafted from 303d517654fcbee0369a27e752e312bd9b722d1c)
--HG--
branch : 7.0
The current view element is the `list-form` so it is not found. Instead we must
search from the content element of the xxx2Many widget because it replicate the
CSS rule.
Closes#14212
(grafted from 92e472849bc1bfe06e65cb05d6c1f30240e8786a)
--HG--
branch : 7.0
The total discount is based on the initial quantity of the line item instead of
the current quantity.
Closes#14187
(grafted from 0783f2d58b2419a6aebcd10c00f6a759befb6fbb)
--HG--
branch : 7.0
d84b63604b10 calculates the recent date per company so we must search for moves
using this date for the same company.
(grafted from 934b612c8655b8a48404fb8f3a19316cc3c96304)
--HG--
branch : 7.0
The restock type is only for the stock level calculation of Shopify which is
not useful as Tryton always update the stock level.
Closes#14179
(grafted from 57142c109d6b7146745ef192e9e8947c96bb6af3)
--HG--
branch : 7.0
This ensures that the output quantity of the production is not floored such
that the production supply does not enter in an infinite loop.
Closes#14175
(grafted from 0243903f36af8765965f8a37be901e11b42d0d21)
--HG--
branch : 7.0
The product_measurement module defines the weight on the template.
Closes#14173
(grafted from 3946dd01248883f629c6b44d1e1946652453b3ef)
--HG--
branch : 7.0
This avoid to clear the sale if there are no actual change on the sale order.
Closes#14171
(grafted from 51e9c921e4e44a90472eebcfa137170e2ee28ec0)
--HG--
branch : 7.0
When the component has no move, its moves progress is None so it can not be
added to the general progress.
Closes#14183
(grafted from a5b9250ef647bb963b912709db2c87556d9ac101)
--HG--
branch : 7.0