odoo/addons/account/tests
Nicolas Lempereur dd88f3c82f [FIX] search: searching fields.property not set
When searching if a many2one property field is not set, there may be less
results since only the ones with a reference set to NULL are returned.
We should also get those not in the table.

This commit change this case so instead of returning ['id', 'in', {matching non-set ids}],
the ['id', 'not in', {matching set ids}] is returned.

e.g: if (1, 3, 8) are set, (5, 9) are not set. ['id', 'not in', (1, 3, 8)] would
be returned instead of ['id', 'in', (5, 9)] which might not select all non-set
property fields.

closes #6044
opw-631057
2015-05-04 12:00:22 +02:00
..
__init__.py [FIX] account: choosing the right fiscal position 2015-03-24 13:00:39 +01:00
test_account_move_closed_period.py [FIX] account: forbid creating entries on closed period 2015-02-04 15:28:55 +01:00
test_bank_stmt_reconciliation_widget_ui.py [FIX] account: several fixes on the new bank statement reconciliation widget 2014-09-04 11:32:16 +02:00
test_fiscal_position.py [FIX] account: choosing the right fiscal position 2015-03-24 13:00:39 +01:00
test_reconciliation.py [IMP] account: better fix than edbd0df for reconciliation test 2015-01-05 11:30:49 +01:00
test_search.py [FIX] search: searching fields.property not set 2015-05-04 12:00:22 +02:00
test_tax.py [TEST] starting unit tests for taxes 2012-11-01 21:39:35 +01:00