odoo/openerp
Olivier Dony eae2321cd2 [FIX] ir.ui.view: properly validate newly created inheriting views
When a new inheriting view is imported during a module
  installation, it is validated thanks to the _constraints
  on the ir.ui.view model. However the validation uses
  a rather convoluted system for validating the whole
  view tree at once (root view + all inherited changes)
  while only taking into account the views that belong
  to modules that are currently loaded.
  
  This complicated system is necessary to be able to
  operate on-the-fly at any point during the registry
  loading/initialization.
  
  Now because _constraints are checked during create()
  this particular validation happens *before* the
  external ID (ir.model.data entry) of that new view
  can be created (it obviously needs to wait until
  the view record is inserted). As a consequence the
  view validation cannot determine the module to
  which that new view belongs, and was erroneously
  ignoring it.
  Changing the view filtering to also include views
  from unknown modules fixes this transient problem,
  and also means that manually created inherited
  views will be validated during module init too.

bzr revid: odo@openerp.com-20130703215704-x732bepiifvf4g3n
2013-07-03 23:57:04 +02:00
..
addons [FIX] ir.ui.view: properly validate newly created inheriting views 2013-07-03 23:57:04 +02:00
cli [IMP] clean permissions and shebang in files 2013-05-14 12:33:33 +02:00
conf cron cleanup, back to the Kernighan KISS roots 1min poll time, rely only on database, multiprocess/multiserver ready. 2012-12-09 18:04:47 +01:00
modules [IMP] modules loading: log as INFO test files because, if they are logged as TEST, the loading statement get lost in the mass of real TEST logs in case there are a lot of test files (more visible that way) + there are no reason to special case these files 2013-05-07 11:24:22 +02:00
osv [FIX] OPW 592482: browse_record should not prefetch binary fields 2013-06-20 15:10:57 +02:00
report [FIX] trml2pdf: reportlab 2.4.4 doesn't support the previous syntax (sname in self.default_style) 2013-06-03 11:30:48 +02:00
service [FIX] correct stripping of arguments when _reexec() OpenERP 2013-06-12 17:19:12 +02:00
tests [FIX] openerp/tests/test_mail.py marked executable as it should 2013-05-17 12:29:33 +02:00
tools [MERGE] lang: added Amharic (Ethiopia) language. 2013-07-02 16:17:33 +02:00
workflow [MERGE] From trunk (second time) 2012-12-17 15:47:53 +01:00
.apidoc API doc: move settings file from bin/ to openerp/ 2011-06-23 12:08:07 +03:00
PKG-INFO [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
__init__.py [FIX] timezone: under windows os.environ["TZ"] was not affecting the server, 2013-03-07 13:16:37 +01:00
exceptions.py [FIX] xmlrpc: handle old/new exceptions with old/new clients. 2011-09-30 10:50:12 +02:00
import_xml.rng [IMP] rng: forbid redundant @type for menuitem, now inferred from the action type + minor cleanup 2012-08-22 16:49:46 +02:00
loglevels.py [FIX] incorrect docstrings or docstring param names not matching actual param names 2012-12-14 14:07:58 +01:00
netsvc.py [IMP] clean permissions and shebang in files 2013-05-14 12:33:33 +02:00
pooler.py [IMP] cron: remove useless pooljobs and schedule_cron_jobs methods 2012-12-21 14:37:51 +01:00
release.py [FIX] we are not in alpha anymore 2013-01-03 18:08:09 +01:00
sql_db.py [FIX] *: fix/rationalize db logging to avoid incorrect values during logging 2013-03-01 13:07:44 +01:00