Tryton - Issues



Title view_ids it does not loads the form view when click the New button
Priority bug Status invalid
Superseder Nosy List ced, lukio
Type behavior Components trytond
Assigned To Keywords

Created on 2018-01-29.18:51:04 by lukio, last changed by ced.

msg39337 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-03-24.18:40:36
The order of view_ids must follow the the order of mode otherwise the view_ids are ignored.
msg38110 (view) Author: [hidden] (lukio) Date: 2018-01-29.18:51:03

I set a custom form and tree view to without inherit it.
I added a many2one field to a different model.
When add the field into the view xml file I set which views should use:

<field name="many2one_field" mode="form,tree"

Unfortunately It's loads the original party view form (from party module) and do not loads the custom party view form (from custom module).

How to reproduce:
1. Click on magnifying glass on many2one custom field.
2. Click New button

Something that is working, is that the tree view that it's displayed (when click on magnifying glass) it's from the custom tree view.
Date User Action Args
2018-03-24 18:40:36cedsetstatus: unread -> invalid
nosy: + ced
messages: + msg39337
2018-01-29 18:51:04lukiocreate