diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-04-23 15:57:39 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-04-23 15:57:39 +0200 |
| commit | 8914886040eda65a669a852eb4eb505e21615562 (patch) | |
| tree | d09ec8da9b3182880efd093bb611e69ab8276fe8 /addons/analytic_user_function/analytic_user_function.py | |
| parent | 0676c84be548050524ad41d133355caa40c9c560 (diff) | |
[IMP] simplify ir.ui.view.get_root_ancestor by using browse records
Also only case which should result in the id not existing is the
initial record, if a view_id is explicitly provided. So the loop can
avoid it's, it's traversing through an m2o so if the m2o value is not
null the next record in the chain should always exist.
bzr revid: xmo@openerp.com-20130423135739-jve1fe2it8q4gkwh
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
