Lucas Lefèvre
2e91d26194
[FIX] project_timesheet_holidays: Allow to create a company
...
It is currently impossible to create a company.
The reason being that the newly created company is
not yet in context `allowed_company_ids`.
Therefore, every consequent access to a record protected with
a multi company `ir.rule` fails for that company.
Here, the module automatically creates a project in that company
and later read that project to check a constraint.
The read raises an AccessError, hence the company is not created.
On the other hand, a user without project creation access rights
but erp manager could want to create a company. It should work
in that case too, as the project creation is transparent to the
user and the project is archived.
closes odoo/odoo#34920
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com >
2019-07-17 10:25:54 +00:00
..
2019-07-17 14:13:12 +02:00
2019-07-01 02:42:17 +02:00
2019-06-16 06:15:35 +02:00
2019-05-24 09:24:17 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-16 16:36:40 +02:00
2019-07-17 14:13:12 +02:00
2019-07-14 01:19:24 +02:00
2019-07-17 14:13:12 +02:00
2019-06-12 12:39:50 +00:00
2019-06-16 06:15:35 +02:00
2019-07-10 10:14:06 +00:00
2019-07-10 10:14:06 +00:00
2019-06-23 06:15:20 +02:00
2019-06-12 12:39:50 +00:00
2019-07-17 14:13:12 +02:00
2019-07-16 09:14:17 +00:00
2019-07-10 10:14:06 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-16 15:45:24 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-15 08:08:49 +00:00
2019-07-10 10:14:06 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-12 13:01:36 +02:00
2019-07-14 03:08:16 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-16 09:14:17 +00:00
2019-07-12 13:59:35 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-10 10:14:06 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-16 09:14:17 +00:00
2019-07-14 06:08:03 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 09:11:18 +00:00
2019-07-17 14:13:12 +02:00
2019-06-23 03:06:47 +02:00
2019-07-17 09:11:18 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-15 12:47:03 +00:00
2019-04-23 12:05:29 +00:00
2019-07-17 14:13:12 +02:00
2019-07-16 15:45:24 +00:00
2019-07-17 14:13:12 +02:00
2019-07-10 10:14:06 +00:00
2019-05-09 11:12:22 +02:00
2019-07-17 08:02:13 +02:00
2019-07-15 12:57:34 +00:00
2019-07-17 08:02:13 +02:00
2019-06-05 05:56:33 +00:00
2019-04-09 09:27:35 +00:00
2019-07-07 01:19:07 +02:00
2019-07-17 14:13:12 +02:00
2019-06-23 01:17:13 +02:00
2019-07-10 10:14:06 +00:00
2019-06-28 11:52:55 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-07-12 09:16:10 +00:00
2019-06-28 11:52:55 +00:00
2019-07-17 14:13:12 +02:00
2019-05-10 11:52:58 +00:00
2019-07-09 11:56:05 +00:00
2019-06-21 15:16:54 +02:00
2019-07-17 14:13:12 +02:00
2019-05-10 11:52:58 +00:00
2019-06-12 13:33:51 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-07-17 14:13:12 +02:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-07-17 14:13:12 +02:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-07-17 14:13:12 +02:00
2019-06-27 18:01:07 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-06-28 11:52:55 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-06-03 10:53:09 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-07-17 14:13:12 +02:00
2019-07-16 08:18:55 +00:00
2019-07-17 14:13:12 +02:00
2019-05-15 13:27:02 +00:00
2019-07-17 14:13:12 +02:00
2019-05-10 11:52:58 +00:00
2019-06-13 10:59:05 +00:00
2019-05-10 11:52:58 +00:00
2019-06-21 15:16:54 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-05-29 08:09:15 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-06-28 11:52:55 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-06-21 11:06:04 +02:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-06-03 15:49:31 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-14 01:19:24 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-06-23 06:15:20 +02:00
2019-06-12 12:39:50 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-07 06:07:54 +02:00
2019-07-17 14:13:12 +02:00
2019-06-12 12:39:50 +00:00
2019-07-17 14:13:12 +02:00
2019-06-12 12:39:50 +00:00
2019-07-17 14:13:12 +02:00
2019-06-16 06:15:35 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-04 11:32:22 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-12 14:54:11 +00:00
2019-07-17 15:34:26 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-14 01:19:24 +02:00
2019-07-12 13:59:35 +00:00
2019-07-14 03:08:16 +02:00
2019-06-16 06:15:35 +02:00
2019-07-16 09:14:17 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-01 02:42:17 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 10:25:54 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-07 06:07:54 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-06-27 20:45:52 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-16 09:14:17 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-11 06:55:34 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-06-30 06:15:32 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-12 14:54:11 +00:00
2019-07-12 14:54:11 +00:00
2019-07-04 11:32:22 +00:00
2019-06-28 08:53:53 +00:00
2019-05-19 01:16:49 +02:00
2019-06-16 03:07:16 +02:00
2019-06-30 01:17:50 +02:00
2019-07-17 14:13:12 +02:00
2019-07-15 12:47:03 +00:00
2019-07-17 06:54:49 +00:00
2019-07-10 10:14:06 +00:00
2019-07-17 14:13:12 +02:00
2019-06-16 06:15:35 +02:00
2019-07-16 09:14:17 +00:00
2019-07-10 10:14:06 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-15 08:29:50 +00:00
2019-07-17 14:13:12 +02:00
2019-07-15 12:47:03 +00:00
2019-07-17 14:13:12 +02:00
2019-07-16 09:14:17 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-14 03:08:16 +02:00
2019-07-17 14:13:12 +02:00
2019-07-16 09:14:17 +00:00
2019-07-17 14:13:12 +02:00
2019-07-16 09:14:17 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-16 15:45:24 +00:00
2019-07-16 16:36:40 +02:00
2019-07-17 14:13:12 +02:00
2019-07-15 13:15:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-16 15:45:24 +00:00
2019-07-17 14:13:12 +02:00
2019-06-16 06:15:35 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-16 16:36:40 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-14 06:08:03 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00