Error in List Grid when Editable is top/bottom and data is filtered.

Bug #675521 reported by Tech Receptives
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Invalid
Undecided
Unassigned

Bug Description

version is : 5.0.15

Method to reproduce a bug :

Go to Financial Management --> Reporting --> Entry Lines,

Here you will find list of all entries, just filter entries based on "Journal", for example. write "sale" in journal and click Filter.

Now edit any of the filterd record, go to Journal column and remove the current data and then try to do a search by clicking on search or pressing F2,

It should popup a list of journals but nothing is popping up, when we traced in backend it was

ProgrammingError: operator does not exist: integer ~~* unknown
LINE 1: ...HERE "name" ilike E'%%'))) AND account_journal.id ilike E'sale'

it's not only for this "journal" field but any M2O field which has been used in filtered and then attempted to change, all haveing same issue.

Web client revision : 2294
server revision : 2152
Addons revision : 2880

Related branches

Changed in openobject-client-web:
status: New → Confirmed
Revision history for this message
ksh (Axelor) (ksh-axelor) wrote :

Hello
          Hereby attaching patch for the bug, may help you.

Revision history for this message
Tech Receptives (techreceptives) wrote :

Hi ksh,

Thanks for the patch, it seems to be working now.

Regards,

Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

Its fixed in stable with the revision 2947. Please update your code.

Thanks.

Changed in openobject-client-web:
status: Confirmed → Fix Released
milestone: none → 5.0.16
Revision history for this message
Tech Receptives (techreceptives) wrote :

this fix causes on more bug ... when domain is applied in this manner [('state','in',['draft','open','manual'])].

Please check with this condition.

Regards,
Parthiv

Changed in openobject-client-web:
status: Fix Released → Opinion
Changed in openobject-client-web:
status: Opinion → Incomplete
Revision history for this message
Tech Receptives (techreceptives) wrote :

Hi,

Please find the attached patch for the bug,

Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

Now Its working fine. Please update your code.

Revision-info:
2948 <email address hidden>

Changed in openobject-client-web:
status: Incomplete → Fix Released
status: Fix Released → Fix Committed
Changed in openobject-client-web:
status: Fix Committed → Fix Released
Revision history for this message
Tech Receptives (techreceptives) wrote :

one more bug regretted ... BLUE SCREEN OF DEATH comes when clicking on partner's link in Partner Address List.

Changed in openobject-client-web:
status: Fix Released → Incomplete
Changed in openobject-client-web:
status: Incomplete → Confirmed
Revision history for this message
Parthiv Patel (parthiv-patel-deactivatedaccount) wrote :

Hi,

Please find the attached patch.

Regards,
Parthiv

Revision history for this message
Somesh Khare (somesh.khare) wrote :

Hello Parthiv,

I have tested your scenario at my end with the latest code but I was unable to meet with the error.

Please update your code and notify us if u face the problem again.

Thanks.

Changed in openobject-client-web:
status: Confirmed → Invalid
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.