odoo/openerp
Olivier Dony 95de9e8cb4 [IMP] orm.fields_view_get: allow passing a view_id from a different model for creative inheritance
There are cases where several objects would like to use a single view, but
by default they cannot because a view belongs to only one model.
With this change, it becomes possible to do inheritance "by copy", reusing
a view from another model without having to redefine it, just by specifying
its view_id in the relevant actions. If the original view needs to be modified,
it is also possible to explicitly inherit the parent view from the other
model, and the effect will be what is expected: the child view can be
specified in an action, and will be the result of the inheritance applied
on the parent view; but on the other hande the parent view itself is
unaffected when used in the context of its own model.

bzr revid: odo@openerp.com-20110221172757-qepq5osjqgd9uf8x
2011-02-21 18:27:57 +01:00
..
addons [MERGE] merged latest fixes from 6.0 branch up to rev 3348 2011-02-21 11:32:35 +01:00
ir [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
osv [IMP] orm.fields_view_get: allow passing a view_id from a different model for creative inheritance 2011-02-21 18:27:57 +01:00
pychart [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
report [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
service [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
test [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
tools [FIX] tools.config: expansion of user and path should work with multiple addons path too 2011-02-14 11:29:14 +01:00
wizard [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
workflow [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
PKG-INFO [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
__init__.py [IMP] openerp.__init__ can imports all its submodules. 2011-02-08 10:29:23 +01:00
import_xml.rng [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
loglevels.py [IMP] forgot to add loglevels.py and reexport 3 functions in tools.misc. 2011-02-08 10:24:58 +01:00
netsvc.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
pooler.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
release.py [MERGE] merge of the openerp python module branch. 2011-02-08 16:01:49 +01:00
run_tests.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
sql_db.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
tiny_socket.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00