~openerp-dev/openobject-server/trunk-extended-view-inheritance-xmo

  • Committer: Xavier Morel
  • Date: 2014-05-06 14:41:17 UTC
  • Revision ID: xmo@openerp.com-20140506144117-brna511vbpp8mqbe
[IMP] make mode handling more regular

Before this commit, @mode=primary would be sorta-ignored[0] if the current
view and its parent had the same model: the current view would *still* get
applied (as an extension) when asking OpenERP for its parent. This commit
makes mode=primary views behave regularly, they are *never* applied when
asking for their parent, only when asking for them or their children.

This allows "forking" views, and using extended views in some contexts without
breaking or duplicating the original view

[0] there was actually a problem when asking for the current view directly,
    first its parent would be resolved by applying it, then it would be
    applied to resolve itself, the view would thus get applied twice (oops)
Filename Latest Rev Last Changed Committer Comment Size
..
debian 1119.1.138 14 years ago P. Christeas Merge commit 'c18f2a7474c9' into mdv-gpl3-py26 Diff
doc 4067.1.1 12 years ago Openerp Online [IMP] added doc directory, intended to be included Diff
history 3659 12 years ago Antony Lesuisse [IMP] directory cleanups, moved historical cruft i Diff
install 3659 12 years ago Antony Lesuisse [IMP] directory cleanups, moved historical cruft i Diff
openerp 3346.1.1 13 years ago Vo Minh Thu [IMP] openerp python module. - Some logging code Diff
openerpcommand 4761 11 years ago Vo Minh Thu [ADD] oe: provides sane (unfucked) command-line in Diff
scripts 4379 11 years ago Stephane Wirtel [ADD] Add a script to install all the modules in a Diff
win32 300 16 years ago ced KERNEL: add win32 compile Diff
.bzrignore 4357.2.66 11 years ago Christophe Simonis [IMP] rewrite win32/setup.py to generate dynamic f 209 bytes Diff Download File
LICENSE 3079 13 years ago Olivier Dony [IMP] license: renamed general license file, and i 34.1 KB Diff Download File
MANIFEST.in 5030 10 years ago Christophe Simonis [FIX] update MANIFEST.in to include openerp-gevent 233 bytes Diff Download File
File oe 5077 10 years ago Antony Lesuisse [FIX] temp fix for runbot-job 183 bytes Diff Download File
oe-bash-completion 4761 11 years ago Vo Minh Thu [ADD] oe: provides sane (unfucked) command-line in 1.9 KB Diff Download File
File openerp-gevent 4942.1.8 10 years ago Antony Lesuisse restore the original gevent detection 196 bytes Diff Download File
File openerp-server 4582.3.3 11 years ago Antony Lesuisse openerp apps main moved to cli ready for new comma 155 bytes Diff Download File
openerp-wsgi.py 5114 10 years ago Antony Lesuisse [FIX] wsgi deployement with openerp-wsgi.py 1.7 KB Diff Download File
README 4542 11 years ago Antony Lesuisse [IMP] improve experience on for openerp developers 1.2 KB Diff Download File
setup.cfg 3733 12 years ago Antony Lesuisse [IMP] redhat remove unused stuff 95 bytes Diff Download File
setup.nsi 4743.33.6 11 years ago Martin Trigaux [IMP] use exact writing for fsf address 13.7 KB Diff Download File
setup.py 5184 10 years ago Christophe Simonis [MERGE] forward port of branch saas-3 up to revid 7.1 KB Diff Download File
setup_rpm.sh 5031 10 years ago Christophe Simonis [FIX] correct RPM creation: quote files with a spa 744 bytes Diff Download File