[trunk] missing documentation "form_view_ref"

Bug #658382 reported by Ferdinand
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP Documentation
Fix Released
Undecided
Unassigned

Bug Description

IMHO
http://doc.openerp.com/developer/2_6_views_events/views/design_element.html?highlight=one2many_list
should mention that it is possible to use form_view_ref (and tree_view_ref ?) in context.

this will make it much easier to code custom modules without interfering with the standard "priority" model, especially when it comes to models with a grat number of views like stock.picking

found a single instance of this in
./sale/sale_view.xml: <field colspan="4" name="invoice_ids" nolabel="1" context="{'form_view_ref':'account.invoice_form'}"/>

affects: openobject-server → openobject-doc
Changed in openobject-doc:
status: New → Confirmed
Revision history for this message
Thibaut DIRLIK (Logica) (thibaut-dirlik) wrote :

I added a new section in the views documentation, and a subpart about this.

Changed in openobject-doc:
status: Confirmed → Fix Committed
Revision history for this message
Don Kirkby (donkirkby) wrote :

Great suggestion, I was just fighting with the stock.picking views this week. It would have been a lot easier if I had known about this feature.
Thanks for writing it up, Thibaut DIRLIK.

Changed in openobject-doc:
status: Fix Committed → Fix Released
Revision history for this message
Alex Duan (duanyp91) wrote :

Thank you very much! Thibaut DIRLIK

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.