Jeremy Kersten
b4f8ca0a34
[FIX] base: fix dev mode for inherits view
...
Before this commit, model that create ir_ui_view via _inheritS was ignored in --dev xml
The arch_fs was not set. Because it was not ir.ui.view, and because xml_id was suffixed by _ir_ui_view.
Now we manage the case of inherits. So if model model.name inherits ir_ui_view
class MyClass(models.Model):
_name = 'model.name'
_inherits = {'ir.ui.view': 'view_id'}
view_id = fields.Many2one('ir.ui.view', string='View', required=True, ondelete="cascade")
...
<record name='model.name' xmlid='pok'>
<field name='arch' type='xml'>content</field>
</record>
will be read from xml in dev mode.
parsing the xml file for xml_id pok_ir_ui_view and pok.
The orm by default will add this suffix.
The 'dynamic' view created when we update the groups is a special case, which we don't want the arch_fs
for dev mode because the xml only contains by default and an empty container and btw the imd was wrong
since we had the res.group model a xml_id into the _inverse_arch.
The page create via a template (method new_page) will automatically remove the arch_fs since we don't
want to see the empty container if we are in dev_mode.
2018-03-08 10:22:21 +01:00
..
2018-03-07 17:42:02 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-02 16:24:13 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-02 16:24:13 +01:00
2018-03-02 16:24:13 +01:00
2018-03-02 16:24:13 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 14:55:31 +01:00
2018-03-06 09:33:49 +01:00
2018-03-02 16:24:13 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-02 16:24:13 +01:00
2018-03-02 16:24:13 +01:00
2018-03-02 16:24:13 +01:00
2018-03-02 16:24:13 +01:00
2018-03-06 09:33:49 +01:00
2018-03-02 16:24:13 +01:00
2018-03-04 04:19:33 +01:00
2018-02-25 04:54:25 +01:00
2018-03-02 16:24:13 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-02-25 04:54:25 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 17:42:02 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 18:49:05 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-02 16:24:13 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-02 16:24:13 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 15:52:16 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-02-01 14:13:32 +01:00
2018-02-14 13:43:39 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 17:42:02 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-23 15:23:07 +01:00
2018-03-07 14:50:02 +01:00
2018-03-02 16:24:13 +01:00
2018-02-28 19:01:35 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2017-11-29 13:29:45 +01:00
2018-01-01 02:40:01 +01:00
2018-03-01 18:02:30 +01:00
2018-01-17 16:26:31 +01:00
2018-01-12 18:15:23 +01:00
2018-02-12 13:11:09 +01:00
2018-01-18 16:09:56 +01:00
2017-12-18 09:52:24 +01:00
2017-12-19 16:22:17 +01:00
2017-12-19 16:22:17 +01:00
2018-03-02 11:22:13 +01:00
2018-03-02 16:24:13 +01:00
2018-01-03 15:58:58 +01:00
2018-01-02 16:54:38 +01:00
2018-03-02 16:24:13 +01:00
2018-02-28 09:46:25 +01:00
2017-12-19 16:22:17 +01:00
2017-12-19 16:22:17 +01:00
2017-12-01 02:53:01 +01:00
2017-12-19 16:22:17 +01:00
2017-12-19 16:22:17 +01:00
2017-12-19 16:22:17 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-02 16:24:13 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-05 08:42:11 +01:00
2018-03-05 08:42:11 +01:00
2018-03-05 08:42:11 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 18:18:57 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-02 16:24:13 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-02 16:24:13 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 17:42:02 +01:00
2018-02-20 09:46:32 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00
2018-03-02 16:24:13 +01:00
2018-03-05 16:16:05 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-07 17:42:02 +01:00
2018-03-06 12:34:55 +01:00
2018-03-05 16:16:05 +01:00
2018-03-06 11:11:27 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 17:42:02 +01:00
2018-03-02 16:24:13 +01:00
2018-03-02 16:24:13 +01:00
2018-03-02 16:24:13 +01:00
2018-02-25 04:54:25 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 17:42:02 +01:00
2018-03-02 16:24:13 +01:00
2018-03-07 17:42:02 +01:00
2018-03-02 16:24:13 +01:00
2018-03-06 09:33:49 +01:00
2018-03-02 16:24:13 +01:00
2018-03-06 09:33:49 +01:00
2018-03-08 10:22:21 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-02-12 09:16:17 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 17:42:02 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-02 16:24:13 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-04 04:19:33 +01:00
2018-03-02 16:24:13 +01:00
2018-03-02 16:24:13 +01:00
2018-03-02 16:24:13 +01:00
2018-03-06 09:33:49 +01:00
2018-02-25 04:54:25 +01:00
2018-03-04 04:19:33 +01:00
2018-03-08 08:58:30 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 17:42:02 +01:00
2018-03-04 04:19:33 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-06 09:33:49 +01:00
2018-03-07 17:42:02 +01:00
2018-03-04 04:19:33 +01:00
2018-03-04 04:19:33 +01:00