Walid
1d33b7a9b8
[FIX] stock: SN sequence
...
Steps to reproduce:
- Create a serial tracked product
- Update quantity add random SN
- Edit "ir.sequence" for serial numbers
(search sequence with dev mode enabled)
- Add a prefix for exemple "xx%(doy)sxx"
- Manufacture the product and generate new serial
Bug:
if a serial already exist next number in the sequence will be generated
instead of using the sequence
Fix:
apply same logic than for lots i.e. first generate from sequence then
take next number if it already exists
opw-3291532
closes odoo/odoo#134879
X-original-commit: df96d9ca10c576981f6af79e330b5b46cdeea377
Signed-off-by: William Henrotin (whe) <whe@odoo.com >
Signed-off-by: Walid Hanniche (waha) <waha@odoo.com >
2023-09-08 15:26:11 +00:00
..
2023-09-08 13:45:34 +00:00
2023-08-23 08:57:15 +02:00
2023-08-31 16:05:52 +00:00
2023-09-05 12:22:22 +00:00
2023-09-07 13:10:13 +00:00
2023-09-04 17:10:05 +00:00
2023-08-23 21:07:54 +02:00
2023-08-24 15:11:05 +02:00
2023-09-06 10:25:59 +00:00
2023-09-04 15:02:47 +00:00
2023-08-29 11:10:47 +00:00
2023-09-04 09:19:06 +00:00
2023-09-05 18:44:13 +00:00
2023-09-08 01:46:53 +00:00
2023-09-04 21:53:37 +00:00
2023-09-07 04:53:26 +00:00
2023-09-05 19:58:04 +00:00
2023-09-07 09:00:37 +00:00
2023-09-07 13:10:07 +00:00
2023-09-06 14:42:16 +00:00
2023-09-08 09:46:56 +00:00
2023-09-04 15:02:50 +00:00
2023-09-07 13:10:07 +00:00
2023-08-19 12:02:42 +02:00
2023-09-05 18:44:13 +00:00
2023-09-07 09:00:17 +00:00
2023-08-29 01:32:44 +00:00
2023-09-07 09:00:17 +00:00
2023-09-06 16:19:51 +00:00
2023-09-06 05:53:42 +00:00
2023-09-08 08:29:53 +00:00
2023-09-04 17:10:09 +00:00
2023-09-05 12:22:15 +00:00
2023-09-07 16:16:04 +00:00
2023-09-05 19:58:00 +00:00
2023-09-07 09:00:32 +00:00
2023-09-05 05:33:59 +00:00
2023-08-31 14:14:59 +00:00
2023-08-28 20:14:44 +00:00
2023-08-29 11:10:47 +00:00
2023-09-05 18:44:20 +00:00
2023-08-25 13:58:29 +02:00
2023-09-06 11:50:43 +00:00
2023-09-06 11:50:43 +00:00
2023-09-06 11:50:43 +00:00
2023-09-06 19:43:39 +00:00
2023-09-08 15:26:08 +00:00
2023-09-08 15:26:08 +00:00
2023-09-05 07:19:45 +00:00
2023-08-18 19:17:16 +02:00
2023-09-04 15:02:50 +00:00
2023-09-08 13:45:33 +00:00
2023-09-07 13:10:10 +00:00
2023-08-24 20:59:14 +02:00
2023-09-08 09:47:07 +00:00
2023-09-08 11:12:41 +00:00
2023-09-05 19:58:04 +00:00
2023-09-06 10:26:01 +00:00
2023-09-07 13:10:10 +00:00
2023-08-29 07:48:10 +00:00
2023-09-06 06:54:47 +00:00
2023-09-08 11:12:41 +00:00
2023-09-01 13:21:00 +00:00
2023-09-01 13:21:00 +00:00
2023-09-01 13:21:00 +00:00
2023-09-01 13:21:00 +00:00
2023-09-01 13:21:00 +00:00
2023-09-08 11:12:41 +00:00
2023-09-08 11:12:41 +00:00
2023-09-08 11:12:41 +00:00
2023-09-01 05:53:45 +00:00
2023-09-06 11:51:02 +00:00
2023-09-06 02:22:43 +00:00
2023-09-06 11:51:00 +00:00
2023-09-08 11:12:41 +00:00
2023-09-06 06:54:47 +00:00
2023-09-06 06:54:47 +00:00
2023-08-28 23:13:59 +00:00
2023-09-06 06:54:47 +00:00
2023-09-06 11:51:00 +00:00
2023-09-06 11:51:00 +00:00
2023-09-06 11:51:00 +00:00
2023-09-06 11:51:00 +00:00
2023-09-06 11:51:00 +00:00
2023-09-08 11:12:41 +00:00
2023-08-19 12:02:24 +02:00
2023-09-05 14:44:14 +00:00
2023-08-25 18:49:34 +02:00
2023-09-06 05:53:55 +00:00
2023-09-08 11:12:41 +00:00
2023-09-08 11:12:41 +00:00
2023-08-31 06:16:00 +00:00
2023-09-08 11:12:41 +00:00
2023-08-21 19:57:11 +02:00
2023-08-31 16:05:52 +00:00
2023-09-06 06:54:47 +00:00
2023-09-08 11:12:41 +00:00
2023-09-07 05:55:59 +00:00
2023-09-04 10:56:06 +00:00
2023-08-25 10:59:34 +02:00
2023-08-25 11:00:10 +02:00
2023-08-31 10:37:05 +00:00
2023-09-04 17:10:05 +00:00
2023-09-08 13:45:41 +00:00
2023-08-23 18:55:17 +02:00
2023-09-08 11:12:39 +00:00
2023-08-19 12:02:38 +02:00
2023-08-24 22:00:12 +02:00
2023-09-06 05:53:42 +00:00
2023-09-08 15:26:11 +00:00
2023-09-08 11:12:39 +00:00
2023-09-01 13:20:48 +00:00
2023-09-01 13:20:48 +00:00
2023-09-08 12:24:51 +00:00
2023-08-24 21:59:43 +02:00
2023-09-08 12:24:51 +00:00
2023-08-24 21:59:43 +02:00
2023-08-19 09:06:59 +02:00
2023-09-08 12:24:51 +00:00
2023-08-19 09:06:59 +02:00
2023-09-08 12:24:51 +00:00
2023-09-08 12:24:51 +00:00
2023-09-08 11:12:38 +00:00
2023-09-08 11:12:42 +00:00
2023-09-05 19:58:08 +00:00
2023-08-29 11:10:47 +00:00
2023-08-31 04:13:04 +00:00
2023-09-04 08:03:34 +00:00
2023-09-08 15:26:10 +00:00
2023-09-06 06:54:47 +00:00
2023-09-06 13:25:27 +00:00
2023-08-31 04:13:04 +00:00
2023-09-07 14:45:20 +00:00
2023-08-31 09:05:04 +00:00
2023-09-07 14:45:20 +00:00
2023-09-08 07:17:52 +00:00
2023-08-31 04:13:04 +00:00
2023-09-01 15:09:57 +00:00
2023-08-31 09:05:04 +00:00
2023-09-07 14:45:19 +00:00
2023-08-18 19:17:16 +02:00
2023-09-08 11:12:39 +00:00
2023-08-24 11:59:03 +02:00
2023-09-06 11:50:59 +00:00
2023-09-05 07:19:48 +00:00
2023-09-08 09:47:01 +00:00
2023-08-25 13:58:46 +02:00
2023-09-05 07:19:48 +00:00
2023-09-07 10:29:44 +00:00
2023-09-06 14:42:14 +00:00
2023-09-07 14:45:23 +00:00
2023-09-01 15:09:54 +00:00
2023-09-04 17:10:05 +00:00
2023-08-31 10:37:07 +00:00
2023-09-08 12:24:48 +00:00
2023-09-08 09:47:01 +00:00
2023-09-06 19:43:39 +00:00
2023-09-05 07:19:48 +00:00
2023-08-31 16:05:44 +00:00
2023-09-06 13:25:40 +00:00
2023-09-08 08:29:53 +00:00
2023-09-05 18:44:13 +00:00
2023-09-04 15:02:50 +00:00
2023-09-07 09:00:28 +00:00
2023-08-31 09:04:56 +00:00
2023-09-07 14:45:23 +00:00
2023-08-28 23:13:55 +00:00
2023-09-07 05:56:03 +00:00
2023-09-06 05:53:50 +00:00
2023-08-31 05:11:44 +00:00
2023-09-04 15:02:47 +00:00
2023-09-08 12:24:56 +00:00
2023-09-07 13:10:07 +00:00
2023-09-07 11:46:11 +00:00
2023-08-22 20:58:50 +02:00
2023-09-08 12:24:48 +00:00
2023-09-04 19:58:33 +00:00
2023-08-25 07:31:39 +02:00
2023-09-07 09:00:34 +00:00
2023-09-08 15:26:05 +00:00
2023-09-08 11:12:39 +00:00
2023-09-04 15:02:47 +00:00
2023-08-21 19:57:16 +02:00
2023-09-08 11:12:39 +00:00
2023-09-04 15:02:47 +00:00
2023-09-04 15:02:47 +00:00
2023-09-04 09:19:08 +00:00
2023-09-07 09:00:17 +00:00
2023-08-29 11:10:47 +00:00
2023-09-07 09:00:17 +00:00
2023-09-07 09:00:17 +00:00
2023-08-31 14:14:59 +00:00
2023-08-29 11:10:47 +00:00
2023-09-06 11:50:50 +00:00
2023-09-05 18:44:13 +00:00
2023-09-04 15:02:47 +00:00
2023-08-29 11:10:47 +00:00
2023-08-31 14:14:59 +00:00
2023-09-08 09:47:02 +00:00
2023-09-04 15:02:47 +00:00
2023-09-05 12:22:22 +00:00
2023-09-08 11:12:39 +00:00
2023-08-23 11:12:24 +02:00
2023-09-07 11:46:06 +00:00
2023-08-31 16:05:44 +00:00
2023-09-04 15:02:47 +00:00
2023-09-04 15:02:47 +00:00
2023-09-08 08:29:58 +00:00
2023-09-04 15:02:47 +00:00
2023-09-08 13:45:43 +00:00