← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 706352] Re: search window of email_templates "Model" field doesn't show all objects

 

In attachment you can see that problem exist.
log level = debug_rpc_answer

line 1886 - when I called search window of "Model" field of email template in first time. All models in system returned.
line 10256 - when I called search window of "Filter" field of campaign segment. I have 3 filters (DEBUG_RPC_ANSWER: result: [1, 3, 5]).
line 19017 -  when I called search window of "Model" field of email template in second time. Returned only 3 models and they have same ids as filters ([1,3,5]) (see line 19664). Why? Because rpc request has search condition with ids of filters, see line 19655.

Another question. Why rpc request repeat search conditions in same request? You can see it for example in request from line 19017: 
line 19025: ('id', 'in', [139, 140, 104, ...])
line 19235: ('id', 'in', [139, 140, 104, ...])
line 19445: ('id', 'in', [139, 140, 104, ...])

You can see same behavior in log with another requests. There are 3 request for ir.filters: 
first with 1 search condition ('id', 'in', [1,3,5]) (line 12689),
second with 2 search conditions ('id', 'in', [1,3,5]) (line 15177),
third with 3 search conditions ('id', 'in', [1,3,5])  (line 17671).  

And why does search conditions with ids of all models in system exist in
search rpc requests for ir.filters? They have no relation to ir.filters.

-- 
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/706352

Title:
  search window of email_templates "Model" field doesn't show all
  objects

Status in OpenERP Web Client:
  New

Bug description:
  I use web client.
  I have email template. If I click search on "Model" field new window opens with all objects in system.
  I have campaign segment. I chose filter (in search window) in "Filter" field (to reproduce bug I may just open and close search window). After that if I return to email template and start search on "Model" field search windows opens with only several objects (see attach afrer.png).
  I must restart web client to return right behavior.

  I don't use desktop client and can't check this bug with it. Maybe
  this bug related only to web client.





References