Tryton - Issues

 

Issue8477

Title Wrong filtering with 'Party:!anytext' in Invoices, Sale, Purchase
Priority feature Status chatting
Superseder Nosy List MR, ced
Type behavior Components party
Assigned To Keywords
Reviews

Created on 2019-07-07.09:04:33 by MR, last changed by ced.

Messages
msg50524 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-07-07.13:30:59
This is not a bug but the expected behavior of the search_rec_name of party because of the usage of LEFT join and how SQL works with NULL.
msg50521 (view) Author: [hidden] (MR) (Tryton translator) Date: 2019-07-07.09:04:32
Filtering with 'Party:!anytext' in Invoices, Sale, Purchase don't show items where party:
- don't have an identiefier
OR
- don't have a bank account
OR
- don't have a contact

and 'anytext' is any text (for example xxxxxx, yyyyyy, etc)

Expected behavior - exclude only items where party have the text 'anytext' in the name

Tryton 5.2
History
Date User Action Args
2019-07-07 13:30:59cedsetpriority: bug -> feature
status: unread -> chatting
component: + party, - account_invoice, purchase, sale
messages: + msg50524
nosy: + ced
2019-07-07 09:04:33MRcreate

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