[6.1] Cannot select an item if its default tree view is editable

Bug #1073521 reported by Alvar Vilu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Banking Addons
Fix Released
Low
Stefan Rijnhart (Opener)
Odoo Web (MOVED TO GITHUB)
Won't Fix
Undecided
Unassigned

Bug Description

When i want to reconcile some manual journal entry i search (in matching tab) for the entry and after selecting it... it just triggers the inline editing.
there is no way to select an entry.

Edit by Stefan: this is a problem of the web client. The same behaviour can be seen in the account_payment module if you try to select a move line directly on the payment line. Apparently, if a model's default tree view is editable the web client does not allow you to select a many2one of that item if you go through 'Search more' in the combobox.

Related branches

Revision history for this message
Alvar Vilu (alvar-vilu) wrote :

A screenshot for this problem.

Revision history for this message
Alvar Vilu (alvar-vilu) wrote :

So, no one is using that feature of banking-addons ?

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Hi Alvar,

if you dread the response time on this issue, this is not something that can be fixed blindly like the other bug you reported. I will have to reproduce the behaviour and investigate. Will do so when convenient, or when someone that we commercially support reports this problem. I hope you will understand. If anyone from the community can come up with a branch that fixes the problem, it would be well appreciated.

Cheers,
Stefan.

Changed in banking-addons:
importance: Undecided → Low
Revision history for this message
Alvar Vilu (alvar-vilu) wrote :

Hi Stefan,

it seems that the view is overwritten in account_move_line

        document = etree.Element('tree', string=title, editable="top",
                                 refresh="5", on_write="on_create_write",
                                 colors="red:state=='draft';black:state=='valid'")

I don't know why but it will be always editable inline and unable to be selected for entry match.
My quick solution is to remove editable="top" :)

Alvar

summary: - Unable to match entry (not invoice) in 6.1
+ [6.1] Cannot select an item if its default tree view is editable
description: updated
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Basically a problem with the web client, as I tried to indicate in the summary. Does not occur in OpenERP 7.0. For the banking addons, a workaround would be to specify an alternative tree view.

Changed in banking-addons:
status: New → Triaged
assignee: nobody → Stefan Rijnhart (Therp) (stefan-therp)
Changed in banking-addons:
status: Triaged → Fix Committed
Amit Parik (amit-parik)
no longer affects: openerp-web
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Does affect openerp-web, see description. For Banking Addons, I merely implemented a workaround. I suggest you set it to 'won't fix' for the openerp-web project as it only affects 6.1 which you don't support anymore.

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello Alvar ,

Currently, This issue is afftected only in 6.1 not in trunk or in V7.0 and It is not a blocking Issue. So, For that we can not consider this issue as a Bug.

So, This bug will be closed as "Won't Fix" to show that R&D won't be able to work on it.

But, If you have a support and maintenance contract with us then you can contact with our OPW team at <email address hidden> ,they will definitely help you.

Thank you.

Changed in openerp-web:
status: New → Won't Fix
Changed in banking-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.