diff options
| author | Martin Trigaux <mat@openerp.com> | 2016-08-22 16:16:35 +0200 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2016-08-22 16:27:10 +0200 |
| commit | 38c1d6fd699d5adfbb0364f894e43dcadcbfa732 (patch) | |
| tree | cd3a4427d098ee554d6c4034b5f76cca3c8c6dda /doc/reference/testing.rst | |
| parent | e9b649b555ac772ad68e4d069266627cca65252f (diff) | |
[FIX] pos: remove unused key use in move lines grouping
The key 'tax_code_id' does not exist anymore, therefore the condition
line.get('tax_code_id') == values.get('tax_code_id')
was equivalent to
None == None
which is of course always True.
To make this code more readable and avoid misunderstandings, a clearer
loop implementation avoids checking for this key.
Diffstat (limited to 'doc/reference/testing.rst')
0 files changed, 0 insertions, 0 deletions
