Josse Colpaert
2f66e7abde
[FIX] mrp: handle the case of empty routings
...
Before, when the routing of a production order was empty (no operations),
it got into an inconsistent state (you click on "plan" and nothing happens).
Empty routings were used before to do subcontracting or 2-steps inventeory
(we did not set any operations on the routing but we set a location).
Here, we change the related routing field on the production order into a
calculated field which becomes empty when the routing has no operations.
This way, the "produce" button is displayed (as for production orders
without routing) and working/
This is a temporary patch to workaround the issuein a stable release.
In master, we might remove the location on routing and place it on the
workcenters and put a constraint that does not allow an empty routing.
2017-01-10 18:37:53 +01:00
..
2017-01-10 16:57:21 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-10 16:57:21 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-09 12:00:30 +01:00
2017-01-08 04:43:31 +01:00
2016-11-20 03:37:19 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-10 13:46:17 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 04:43:31 +01:00
2017-01-01 04:42:12 +01:00
2017-01-09 12:00:30 +01:00
2017-01-08 00:29:28 +01:00
2017-01-06 10:40:39 +01:00
2017-01-09 12:00:30 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-10 15:26:11 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-01 04:42:12 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-01 04:42:12 +01:00
2017-01-08 04:43:31 +01:00
2016-11-17 15:24:36 +01:00
2016-12-05 09:11:13 +01:00
2016-11-17 15:24:36 +01:00
2016-11-17 15:24:36 +01:00
2016-11-17 15:24:36 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 00:30:05 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2017-01-01 02:58:08 +01:00
2017-01-02 14:38:59 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-11-20 02:58:43 +01:00
2017-01-06 18:06:14 +01:00
2016-12-05 09:11:13 +01:00
2016-12-07 16:50:06 +01:00
2016-12-05 09:11:13 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2016-12-01 13:52:01 +01:00
2016-12-08 13:30:52 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2016-11-20 02:58:43 +01:00
2016-12-05 09:11:13 +01:00
2017-01-06 10:40:39 +01:00
2016-12-01 13:52:01 +01:00
2017-01-08 04:43:31 +01:00
2016-12-29 22:31:16 +01:00
2016-12-05 09:21:36 +01:00
2017-01-02 14:38:59 +01:00
2017-01-06 10:40:39 +01:00
2017-01-01 02:58:08 +01:00
2016-12-05 09:11:13 +01:00
2017-01-06 10:40:39 +01:00
2016-12-05 09:11:13 +01:00
2017-01-06 10:40:39 +01:00
2016-12-05 09:11:13 +01:00
2016-12-09 15:44:01 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2017-01-06 10:40:39 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2017-01-06 10:40:39 +01:00
2016-12-20 15:23:51 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-09 12:00:30 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-10 18:37:53 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-09 12:00:30 +01:00
2016-11-20 03:37:19 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 04:43:31 +01:00
2017-01-09 13:18:30 +01:00
2017-01-08 04:43:31 +01:00
2017-01-09 14:03:40 +01:00
2017-01-08 04:43:31 +01:00
2016-12-01 13:52:01 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2016-12-11 03:43:27 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-09 16:53:40 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-10 13:46:17 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-10 13:46:17 +01:00
2017-01-09 15:22:41 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 04:43:31 +01:00
2017-01-05 12:01:27 +01:00
2017-01-09 12:00:30 +01:00
2017-01-09 13:18:30 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2017-01-08 04:43:31 +01:00
2016-12-25 00:30:02 +01:00
2017-01-06 10:40:39 +01:00
2017-01-09 12:00:30 +01:00
2017-01-08 04:43:31 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 00:29:28 +01:00
2017-01-05 12:01:27 +01:00
2017-01-08 00:29:28 +01:00
2017-01-06 10:40:39 +01:00
2016-12-02 12:52:38 +01:00
2017-01-08 00:29:28 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-06 10:40:39 +01:00
2017-01-06 10:40:39 +01:00