Files
odoo_source/doc/cla/individual
shq_lenovo d3b8f05e1e [FIX] core: --dev=reload with watchdog==4.0.0
If you're on Linux, make sure `inotify` is uninstalled:

	pip uninstall inotify

Install `watchdog` to its latest release, 4.0.0, and start odoo in
dev-reload mode. This mode restart the application everytime a file is
modified in one of the addons.

	pip install watchdog==4.0.0 -U
	odoo-bin ... --dev=reload  # replace ... with your arguments

Modify a file, save it. The server doesn't reload while it should.

Before gorakhargosh/watchdog@41fca1eb, only the `FileSystemMovedEvent`
class had a `dest_path` attribute (actually a property). In our code, we
used a `getattr` approach to fallback on `src_path` (which is set on all
three event classes) in case `dest_path` was not set.

Since that commit, the attribute has been moved to the base abstract
class `FileSystemEvent` which all three `FileCreatedEvent`,
`FileModifiedEvent`, and `FileMovedEvent` inherit. Hence the attribute
is always set (sometime to an empty string) and the getattr must be
adapted.

The new code supports both watchdog==3.0.0 and watchdog==4.0.0.

closes odoo/odoo#159102

X-original-commit: 9dd441858fa26d1fb6f13c7cd59076e8898aceb3
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2024-03-26 00:14:25 +00:00
..
2023-08-02 05:10:21 +02:00
…
…
…
…
…
…
…
…
2023-12-01 19:25:36 +00:00
2023-08-14 20:24:57 +02:00
2023-05-23 18:01:54 +02:00
…
2023-06-06 14:48:35 +02:00
…
…
2023-06-19 10:40:51 +02:00
…
…
2023-11-02 15:11:02 +00:00
…
…
2023-04-07 16:40:53 +02:00
…
2023-06-27 10:42:56 +02:00
2023-04-04 13:35:45 +02:00
…
2023-07-29 11:07:50 +02:00
…
…
…
2023-06-27 10:42:41 +02:00
…
2023-03-17 09:32:51 +01:00
…
2023-03-24 04:28:48 +01:00
…
…
…
…
2023-08-08 13:08:16 +02:00
…
…
…
2023-09-22 06:33:43 +00:00
…
2023-09-25 09:38:41 +00:00
…
2023-12-21 10:42:50 +00:00
…
2023-05-08 22:39:49 +02:00
2023-06-09 13:49:47 +02:00
…
…
…
…
…
…
2024-03-18 08:45:43 +00:00
…
2023-08-14 13:42:23 +02:00
…
2024-03-18 10:23:56 +00:00
…
…
2023-08-21 14:15:28 +02:00
2023-09-25 15:20:25 +00:00
…
…
…
…
2023-07-04 12:46:58 +02:00
…
…
…
…
…
…
…
2023-06-02 12:04:15 +02:00
…
2023-07-25 17:36:02 +02:00
2023-03-17 10:38:05 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2023-07-25 21:22:49 +02:00
2023-10-12 13:16:47 +00:00
2023-07-29 12:42:45 +02:00
…
…
2023-08-31 20:11:29 +00:00
…
…
…
…
2023-05-11 12:01:49 +02:00
…
…
…
…
…
…
…
2023-12-16 18:31:06 +00:00
…
…
…
2023-05-02 15:59:21 +02:00
…
2023-06-23 18:00:30 +02:00
…
2023-04-26 17:06:36 +02:00
…
2023-11-09 14:51:22 +00:00
…
…
…
…
2023-11-07 21:02:19 +00:00
2023-03-20 16:51:15 +01:00
…
2023-07-26 09:22:30 +02:00
2023-12-11 05:29:19 +00:00
2023-07-12 11:19:58 +02:00
…
2024-02-16 06:13:58 +00:00
…
…
…
2023-10-16 13:11:17 +00:00
…
…
2023-10-10 01:59:44 +00:00
…
…
…
…
…
…
…
…
…
…
…
2023-08-29 07:48:10 +00:00
…
…
…
…
…
…
…
2023-08-14 13:42:32 +02:00
…
…
…
…
…
…