On 2016-02-02 02:53, Markus Bala wrote: > I am sorry. > Please allowed me to attached picture for explaining my trouble. > > Background: > 1. Creating a new boolean field "staging" at "stock.location" model. > 2. Creating a new form (do not want inherit), to add "staging" field > Trouble: > How to override the form when create a new object? --> refer to the picture. > > My solution as below, it only change the display of the tree view but not > form view: > > <field name="parent" mode="tree,form" > view_ids="wms_base.storage_tree_view,wms_base.storage_form_view" /> > > <https://lh3.googleusercontent.com/-dverRhj2sdc/VrCIB4CBsAI/AAAAAAAAGNk/aTnnADRAJCc/s1600/prob.png>
This is a miss behaviour of the client, it doesn't reuse the views of the field for the new creation in the search window: http://hg.tryton.org/tryton/file/4a0f8e29ab2b/tryton/gui/window/win_search.py#l111 -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/20160202110838.GU20880%40tetsuo.