lp://staging/~openerp-dev/openobject-server/trunk-product-variants-ref-chm
- Get this branch:
- bzr branch lp://staging/~openerp-dev/openobject-server/trunk-product-variants-ref-chm
Branch merges
Branch information
Recent revisions
- 5210. By Xavier (Open ERP)
-
[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) - 5209. By Xavier (Open ERP)
-
[IMP] replace check_mode python-level constraint by an SQL CHECK constraint
- 5208. By Xavier (Open ERP)
-
[IMP] add some more explanations for the behavior of the mode attribute on views
- 5204. By Xavier (Open ERP)
-
[ADD] support for primary mode in <template>
should probably validate that there's an inherit_id (?)
- 5202. By Xavier (Open ERP)
-
[FIX] default_view should be based on mode=primary, not on inherit_id=False
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/openobject-server