[6.0RC1] View mode "tree,form,search" in several window actions

Bug #690326 reported by Jordi Esteve (www.zikzakmedia.com)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

In several modules the search view mode has been included in the definition of window actions (ir.actions.act_window) in addition of tree and form view modes:

<field name="view_mode">tree,form,search</field>

account/account_view.xml: 7 times (account.fiscalyear, account.period, account.bank.statement, ...)

account/project/project_view.xml: 1 time (account.analytic.journal)

account_payment/account_payment_view.xml: 1 time (payment.mode)

This causes a strange behaviour when the window action has a search view linked to it. For example, install account_payment module, open the "Payment Mode" menu (Accounting/Configuration/Miscellaneous/Payment Mode) and press Ctrl+L several times, you will change the mode view tree -> form -> search -> tree -> form -> search -> ...

But the mode view search has no sense, so I suggest to change all the lines:

<field name="view_mode">tree,form,search</field>

to

<field name="view_mode">tree,form</field>

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello Jordi Esteve,

I have fixed the problem in lp:~openerp-dev/openobject-addons/trunk-dev-addons3-ara branch, It will be merged soon with Trunk addons.

Revision No: 4586
Revision ID: <email address hidden>

Thank you,
ara

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
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.