Commit Graph

8 Commits

Author SHA1 Message Date
Xavier Morel 3ac47a587e [IMP] remove deprecated explicit setting of type on views
bzr revid: xmo@openerp.com-20130423154456-wt4aeb6yr963jbye
2013-04-23 17:44:56 +02:00
Xavier Morel d40ec67c2d [IMP] move application of view inheritance outside of fields_view_get and into View.
change get_root_ancestor to return just the id of the ancestor view

bzr revid: xmo@openerp.com-20130423150844-eubxue9vbtc6jhof
2013-04-23 17:08:44 +02:00
Xavier Morel 1dac8a7a34 [ADD] tests for *not* finding root views
bzr revid: xmo@openerp.com-20130423133617-c4eszsf09b32hzl1
2013-04-23 15:36:17 +02:00
Xavier Morel dd43214fe1 [ADD] tests to get_root_ancestor
use a default view_type of form in the tests, because whatever

bzr revid: xmo@openerp.com-20130423132523-upbgbt2a3r7cgs08
2013-04-23 15:25:23 +02:00
Xavier Morel 480bf6a99b [FIX] temporarily remove _init flag of pooler during view inheritance test
Breaks between in-loading (openerp) and unit test (oe), behavior is
crap and can't be arsed to create a dummy ir.model.data for that.

bzr revid: xmo@openerp.com-20130422140116-g8mqzvahbv2ag956
2013-04-22 16:01:16 +02:00
Xavier Morel edf1f23a6e [ADD] depth-first iterator on views, refactor apply_view_inheritance to use it
bzr revid: xmo@openerp.com-20130422125000-pg60ovrxejegenka
2013-04-22 14:50:00 +02:00
Xavier Morel bad87b4245 [ADD] some tests for get_inheriting_view_arch
Tests are way incomplete: no test for partial loading or groups filtering

bzr revid: xmo@openerp.com-20130422122812-c1d385zwau9wlmci
2013-04-22 14:28:12 +02:00
Xavier Morel c9a6e74bf4 [IMP] add tests for locate_node
bzr revid: xmo@openerp.com-20130422091014-qbd4jun4n9u4402x
2013-04-22 11:10:14 +02:00