diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-04-26 11:02:37 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-04-26 11:02:37 +0200 |
| commit | 9d06d987352364e218d66b4e69eec1ce4776eff7 (patch) | |
| tree | 479a39d04bc5e8a6f35ce871812c95046270a469 /doc/03_module_dev_01.rst | |
| parent | 7883944c19c3b8a04242618a0c97f267375f51cc (diff) | |
[FIX] read_combined and get_inheriting_views_arch when no model provided
* view['model'] required for base_model_name handling, force its read
as with arch (nb: arch could actually be made optional, if it's not
being read can skip most of the inheritance complexity no?)
* if model=None in get_inheriting_views_arch, it generates domain to
SQL `model is NULL`, except model required on ir.ui.view so unspec'd
models are `''` (the empty string) not NULL => inherited views never
found.
Righter move might be to formally make model non-required on view.
bzr revid: xmo@openerp.com-20130426090237-u3rojvx4gow6uue1
Diffstat (limited to 'doc/03_module_dev_01.rst')
0 files changed, 0 insertions, 0 deletions
