Files
odoo_source/addons
Romain Derie bb65f518c3 [FIX] website: empty website domain correctly in tests
Emptying the domain should be setting it to False, not empty string,
which is saved in DB as such.

This was not problematic at all before but since [1] the domain must be
unique. As we removed the "multi website by domain" feature, we then
were able to add that constraint.
But since then, having two website with domain == '' would raise the
constraint error, while null values (False in python) would not.

[1]: https://github.com/odoo/odoo/commit/507db4e179514d171ec82e8ea0cbaf2323a6c30d

runbot-5041

closes odoo/odoo#100430

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-09-17 00:52:04 +02:00
..
2022-09-16 20:51:56 +02:00
2022-09-16 20:51:56 +02:00
2022-09-01 19:16:47 +02:00
2022-09-16 16:20:47 +02:00
2022-09-01 21:25:29 +02:00
2022-09-16 20:51:56 +02:00
2022-09-16 20:51:56 +02:00
2022-09-16 20:51:56 +02:00
2022-09-16 20:51:56 +02:00
2022-09-16 20:51:56 +02:00
2022-09-16 20:51:56 +02:00
…
2022-09-16 20:51:56 +02:00
2022-09-16 20:51:56 +02:00