c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08516
[Bug 690326] Re: [6.0RC1] View mode "tree, form, search" in several window actions
** Changed in: openobject-addons
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/690326
Title:
[6.0RC1] View mode "tree,form,search" in several window actions
Status in OpenObject Addons Modules:
Fix Released
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>
References