c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08150
[Bug 690326] Re: [6.0RC1] View mode "tree, form, search" in several window actions
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: ara@xxxxxxxxxxx-20101215085724-ddq5ybq38ac11weh
Thank you,
ara
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
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 Committed
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