Search view inheritance problem: When we inherit the search view then field is also added to the main search view

Bug #891561 reported by Khushboo Bhatt(openerp)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Low
OpenERP's Framework R&D

Bug Description

I have two menu action for one model.
Menu1 : Action1 with search_view1
Menu2 : Action2 with search_view2

search_view1, search_view2 are a search view of same model also menu actions.

Now open Menu1 and Menu2, you can see only one search view display .

It should be like this:
Open Menu1, should be display search_view1.
Open menu2, should be display search_view2.

Thanks

description: updated
summary: - search_view problem in hr_holidays module
+ Correct search View does not open if model have more than one actions.
summary: - Correct search View does not open if model have more than one actions.
+ wrong search View open if model have more than one menu actions . each
+ action has own search view
description: updated
Revision history for this message
Amit Parik (amit-parik) wrote : Re: wrong search View open if model have more than one menu actions . each action has own search view

Hello Kushboo and Harry,

I have checked this issue at my end with creating of two different search view and assign this to different view.

I have seen that there are two different search view means all are working as expected.

I have attached a video for your more reference so would you please check it.

Currently I am closing this issue, If you still faced the problem then you can reopen this.

Thank You!

Revision history for this message
Amit Parik (amit-parik) wrote :
Changed in openobject-server:
status: New → Invalid
Revision history for this message
Ajay Patel (OpenERP) (ajay-openerp) wrote :

Hello Amit Parikh

Still i have problem with inheritance.
I have also attach video for that.
In hr_holidays, there one object have many view. i inherited search view for Leave Analysis. and there are also changed all other views for same model. you can see in the video.

so i reopen the bug.

Thanks,
Amit

Revision history for this message
Ajay Patel (OpenERP) (ajay-openerp) wrote :
Changed in openobject-server:
status: Invalid → New
Amit Parik (amit-parik)
summary: - wrong search View open if model have more than one menu actions . each
- action has own search view
+ Search view inheritance problem: When we inherit the search view then
+ field is also added to the main search view
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Amit patel,

Thanks for reply on this.

I have missed to check with search view inheritance.

I have faced the same problem which you have described in comment#3, and video.
I have tested with https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-polish2_analysis_view_hr_holidays-kbh/+merge/82140 branch and also tested with the attached file code.

@Amit patel thanks for making a bug description easy.

Thank you!

Revision history for this message
Amit Parik (amit-parik) wrote :
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
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.