~openerp-dev/openobject-server/trunk-module-closure-style-module-topology-msh

Viewing all changes in revision 5219.

  • Committer: Mohammed Shekha
  • Date: 2014-05-15 14:25:28 UTC
  • Revision ID: msh@tinyerp.com-20140515142528-mb3jq1ati12e3u33
[IMP]Improved the inheritance apply for the bundle kind view, due to concept of AssetBundle and new closure style, new closure style does not honor the topology of modules, after new closure style, lp:~openerp-dev/openobject-addons/trunk-module-closure-style-msh, scripts loaded in the way inheritace of ir.ui.view applied because now we have created Asset template(asset_backend and inherited that view in other modules like crm, web_kanban etc), as view inheritance is not going to applied by considering module dependency graph, inheritance is going to applied the way it is applied based on priority,name(_order), inheritance for asset bundles must be appllied in order of module dependency, fixed it by using module_topology algorithm and sorted the inherit_ids according to module topology order, used context to fix this issue.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: