Commit Graph
7 Commits
Author SHA1 Message Date
Cédric Krier 6851e0314e Check OAuth environment to run UPS scenario
6723c2dced5b changed the environment variables needed to run the scenario.
(grafted from ab006c11a55f1f53a9794e9dc90a80da852300dc)

--HG--
branch : 7.0
2024-02-06 16:11:50 +01:00
Cédric Krier b19f1b51e1 Add shipping reference in replacement of reference 2023-10-07 17:27:42 +02:00
Cédric Krier ed30d063e7 Update shipping UPS API to OAuth
UPS has implemented an OAuth 2.0 security model for all APIs and deprecate the
existing Access Key-based authorisation.
See https://developer.ups.com/oauth-developer-guide
2023-06-01 16:42:06 +02:00
Cédric Krier 68753ff402 Run action from button with proteus 2023-01-17 14:39:18 +01:00
Cédric Krier 69a1be6404 Assign all possible shipments and productions when trying
If assign_try fails to assign all the moves, we check if all the moves of each
shipment and production are assigned and then assign them.
Also we remove the boolean return which makes no more sense.

Closes #7006
2023-01-14 15:41:26 +01:00
Cédric Krier 4683fde7ac Make scenario independent of the current day
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.

Closes #9977
2023-01-01 10:36:03 +01:00
Cédric Krier a0a534455f Prepare migration to monorepo 2022-12-16 15:15:57 +01:00