Denis Ledoux
487c612f0c
[FIX] web, orm: allow 0 as key for selection fields
...
Before this revision,
using a selection field with as possible keys `0`,
such as `require_payment` in `website_quote`,
resulted to the records field values to be stored
as `NULL` instead of `0` in the database.
This leads to the inability:
- To distinguish records with this selection field not set
or set to `0` (as both are stored as `NULL`)
- To search for records with the field set to `0`
(as they are considered not set)
For instance, while having `website_quote` installed,
search for sales orders with `Payment` set to
`Not mandatory on website quote validation`: It won't
return any result, even if you have some.
opw-697454
2016-12-12 18:18:51 +01:00
..
2016-12-12 14:45:58 +01:00
2016-12-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-06 17:24:37 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-05 09:11:13 +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-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-11-20 03:37:19 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-09 15:44:01 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-07 16:03:29 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +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-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-08 08:50:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +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
2016-12-11 03:43:27 +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-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-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
2016-12-05 09:11:13 +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
2016-12-05 09:11:13 +01:00
2016-12-12 09:06:35 +01:00
2016-12-01 13:52:01 +01:00
2016-12-08 13:30:52 +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
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-01 13:52:01 +01:00
2016-12-11 03:43:27 +01:00
2016-12-09 13:59:09 +01:00
2016-12-05 09:21:36 +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-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-09 15:44:01 +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-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-12 15:57:29 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-09 10:47:51 +01:00
2016-12-04 03:44:39 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-06 11:07:25 +01:00
2016-12-11 03:43:27 +01:00
2016-11-20 03:37:19 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-01 13:52:01 +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-11 03:43:27 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-12 15:57:29 +01:00
2016-12-11 03:43:27 +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-11 03:43:27 +01:00
2016-12-11 03:43:27 +01:00
2016-12-01 13:52:01 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-12 18:18:51 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-11 03:43:27 +01:00
2016-12-11 03:43:27 +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-04 03:44:39 +01:00
2016-12-06 17:24:37 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-07 16:03:29 +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-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-01 13:52:01 +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-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-06 15:18:45 +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-09 08:49:36 +01:00
2016-11-27 02:57:09 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:14:45 +01:00
2016-12-02 12:52:38 +01:00
2016-12-12 17:43:59 +01:00
2016-12-05 09:11:13 +01:00
2016-12-09 14:09:38 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 17:02:20 +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