c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08079
[Bug 690326] [NEW] [6.0RC1] View mode "tree, form, search" in several window actions
Public bug reported:
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>
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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:
New
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>
Follow ups
-
[Bug 690326] Re: [6.0RC1] View mode "tree, form, search" in several window actions
From: mra (Open ERP), 2010-12-17
-
[Bug 690326] Re: [6.0RC1] View mode "tree, form, search" in several window actions
From: ARA(OpenERP), 2010-12-15
-
[Bug 690326] Re: [6.0RC1] View mode "tree, form, search" in several window actions
From: Launchpad Bug Tracker, 2010-12-15
-
[Bug 690326] Re: [6.0RC1] View mode "tree, form, search" in several window actions
From: ARA(OpenERP), 2010-12-15
-
[Bug 690326] Re: [6.0RC1] View mode "tree, form, search" in several window actions
From: Saz(OpenERP), 2010-12-15
-
[Bug 690326] [NEW] [6.0RC1] View mode "tree, form, search" in several window actions
From: Jordi Esteve (www.zikzakmedia.com), 2010-12-14
References