switching from tree to form always takes the lowest priority
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Won't Fix
|
Undecided
|
Unassigned | |||
Trunk |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
IMHO if such a code is given the form with the id chricar_
currently the standard stock picking form is used (priority 16)
<record model="
<field name="name">Stock Care</field>
<field name="res_
<field name="view_
<field name="view_
<field name="view_id" ref="chricar_
<field name="domain"
</record>
<record model="
<field name="sequence" eval="1"/>
<field name="view_
<field name="view_id" ref="chricar_
<field name="act_
</record>
<record model="
<field name="sequence" eval="2"/>
<field name="view_
<field name="view_id" ref="chricar_
<field name="act_
</record>
Changed in openobject-server: | |
status: | Incomplete → Triaged |
Changed in openobject-server: | |
assignee: | nobody → Jay (OpenERP) (jvo-openerp) |
It looks like that the views must have the same priority , only than the view name is checked and the correct one is taken.
quote: (imho does not wokr as decribed)
view_id is the name of the view to display when the action is activated. If this field is not defined, the view of a kind (list or form) associated to the object res_model with the highest priority field is used (if two views have the same priority, the first defined view of a kind is used).