Message 19146

Author
risto3
Date
2014-12-06.18:59:04
Message id
19146

Content

Well, I do have an observation (and a screenshot to demonstrate)

While typing the supplier code, the tips still display the non-supplier code/description.  This is a bit disturbing in reality.

The initial example provided below with 1234 or S1234 is relatively simple, but to demonstrate I have supplier specific codes such as 6001A12 and 6001A14 for company codes 1ACU12 and 1ACU14 respectfully.

Typing '6001' should display all the supplier specific codes for '6001...'
not the company codes.

PM: the product database including suppliers codes is many thousands of entries.

Do I understand the patch correctly that the supplier-specific codes are searched in the 'OR' domain statement after the company-specific codes/description?  (notwithstanding database sql optimisation)
If so, this can be quite brutal, perhaps some additional logic should be put in.

For example, a button to "limit" searches to supplier codes (probably on by default or at least configurable). That is, in absence of a supplier code for a quote, the supplier response typically includes their specific code allowing it to be added prior to confirming the PO for action.

Also, perhaps it would help to configure a minimal number of characters typed in prior to the tip search to avoid sluggish response (we suffered this already in oerp).  

Perhaps this last one should have a new issue created.

Files

File name Uploaded Type Details
Screenshot-Ligne d'achat-1.png risto3, 2014-12-06.18:59:04 image/png view
History
Date User Action Args
2014-12-06 18:59:05risto3setmessageid: <1417888745.14.0.63306483652.issue3797@tryton.org>
2014-12-06 18:59:05risto3setrecipients: + ced, resteve, jesteve
2014-12-06 18:59:05risto3linkissue3797 messages
2014-12-06 18:59:04risto3create

Showing 10 items. Show all history (warning: this could be VERY long)