lp://staging/~openerp-dev/openobject-server/trunk-product-variants-ref-chm

Created by Christophe Matthieu (OpenERP) and last modified
Get this branch:
bzr branch lp://staging/~openerp-dev/openobject-server/trunk-product-variants-ref-chm
Members of OpenERP R&D Team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
OpenERP R&D Team
Project:
Odoo Server (MOVED TO GITHUB)
Status:
Development

Recent revisions

5211. By Christophe Matthieu (OpenERP)

[MERGE] from trunk

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

5207. By Xavier (Open ERP)

[FIX] forgot to add primary attribute support to <template> in schema

5206. By Xavier (Open ERP)

[FIX] typos

5205. By Xavier (Open ERP)

[MERGE] from trunk

5204. By Xavier (Open ERP)

[ADD] support for primary mode in <template>

should probably validate that there's an inherit_id (?)

5203. By Xavier (Open ERP)

[ADD] use of explicit primary mode in read_combined

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
This branch contains Public information 
Everyone can see this information.

Subscribers