Different types of searches for the same model

I have 2 actions (like "screens") for 2 subtypes of account.invoices, they are:

  • customer accounts
  • supplier invoices

Each one loads a different search box, I did this by specifying the search type when you click on the menu.

Then I search and everything is fine, but then when I click the "clean" button, the search view changes to the highest priority account.invoice model view. I think what I am doing wrong and am getting over it by forcing the rendering of the views from the menu link, but when I click the clear button or any correct button (for select search view, view-form ...), openerp displays the highest priority account view. invoice

Thank you in advance

+3


source to share





All Articles